diff options
Diffstat (limited to 'src/LexBullant.cxx')
| -rw-r--r-- | src/LexBullant.cxx | 20 | 
1 files changed, 6 insertions, 14 deletions
| diff --git a/src/LexBullant.cxx b/src/LexBullant.cxx index 1f76ffcf0..902f89c1e 100644 --- a/src/LexBullant.cxx +++ b/src/LexBullant.cxx @@ -30,18 +30,6 @@ static int classifyWordBullant(unsigned int start, unsigned int end, WordList &k  	else {  		if (keywords.InList(s)) {  			chAttr = SCE_C_WORD; -/*			if (strcmp(s, "end method") == 0 || -				strcmp(s, "end case") == 0 || -				strcmp(s, "end class") == 0 || -				strcmp(s, "end debug") == 0 || -				strcmp(s, "end test") == 0 || -				strcmp(s, "end if") == 0 || -				strcmp(s, "end lock") == 0 || -				strcmp(s, "end transaction") == 0 || -				strcmp(s, "end trap") == 0 || -				strcmp(s, "end until") == 0 || -				strcmp(s, "end while") == 0) -				lev = -1;*/  			if (strcmp(s, "end") == 0)  				lev = -1;  			else if (strcmp(s, "method") == 0 || @@ -80,7 +68,6 @@ static void ColouriseBullantDoc(unsigned int startPos, int length, int initStyle  	char chNext = styler[startPos];  	unsigned int lengthDoc = startPos + length;  	int visibleChars = 0; -	// int blockChange = 0;  	styler.StartSegment(startPos);  	int endFoundThisLine = 0;  	for (unsigned int i = startPos; i < lengthDoc; i++) { @@ -230,4 +217,9 @@ static void ColouriseBullantDoc(unsigned int startPos, int length, int initStyle  	}  } -LexerModule lmBullant(SCLEX_BULLANT, ColouriseBullantDoc, "bullant"); +static const char * const bullantWordListDesc[] = { +	"Keywords", +	0 +}; + +LexerModule lmBullant(SCLEX_BULLANT, ColouriseBullantDoc, "bullant", 0, bullantWordListDesc); | 
