From 29e87e55cbe58bc5b148847bbc34b26d52b422f2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 22 Jul 2003 11:29:54 +0000 Subject: Changed lexer to use lower case keywords to be compatible with other lexers. --- src/LexSQL.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexSQL.cxx') diff --git a/src/LexSQL.cxx b/src/LexSQL.cxx index ebeb33c4f..3f65b1209 100644 --- a/src/LexSQL.cxx +++ b/src/LexSQL.cxx @@ -23,7 +23,7 @@ static void classifyWordSQL(unsigned int start, unsigned int end, WordList &keyw char s[100]; bool wordIsNumber = isdigit(styler[start]) || (styler[start] == '.'); for (unsigned int i = 0; i < end - start + 1 && i < 30; i++) { - s[i] = static_cast(toupper(styler[start + i])); + s[i] = static_cast(tolower(styler[start + i])); s[i + 1] = '\0'; } char chAttr = SCE_C_IDENTIFIER; -- cgit v1.2.3