diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/KeyWords.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/include/KeyWords.h b/include/KeyWords.h index 43de26fe6..869b59d26 100644 --- a/include/KeyWords.h +++ b/include/KeyWords.h @@ -14,6 +14,7 @@ typedef void (*LexerFunction)(unsigned int startPos, int lengthDoc, int initStyl   * module appropriate to a particular language.   */  class LexerModule { +protected:  	LexerModule *next;  	int language;  	const char *languageName; @@ -27,9 +28,9 @@ public:  	LexerModule(int language_, LexerFunction fnLexer_,   		const char *languageName_=0, LexerFunction fnFolder_=0);  	int GetLanguage() { return language; } -	void Lex(unsigned int startPos, int lengthDoc, int initStyle, +	virtual void Lex(unsigned int startPos, int lengthDoc, int initStyle,                    WordList *keywordlists[], Accessor &styler); -	void Fold(unsigned int startPos, int lengthDoc, int initStyle, +	virtual void Fold(unsigned int startPos, int lengthDoc, int initStyle,                    WordList *keywordlists[], Accessor &styler);  	static LexerModule *Find(int language);  	static LexerModule *Find(const char *languageName); | 
