aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexSQL.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-07-22 11:29:54 +0000
committernyamatongwe <unknown>2003-07-22 11:29:54 +0000
commit29e87e55cbe58bc5b148847bbc34b26d52b422f2 (patch)
tree8796a9e9c47a47927042958617a4e6c54e7095eb /src/LexSQL.cxx
parent36fcbc24f5c84e08cd36b1a043bf820a6d8ba9bd (diff)
downloadscintilla-mirror-29e87e55cbe58bc5b148847bbc34b26d52b422f2.tar.gz
Changed lexer to use lower case keywords to be compatible with other
lexers.
Diffstat (limited to 'src/LexSQL.cxx')
-rw-r--r--src/LexSQL.cxx2
1 files changed, 1 insertions, 1 deletions
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<char>(toupper(styler[start + i]));
+ s[i] = static_cast<char>(tolower(styler[start + i]));
s[i + 1] = '\0';
}
char chAttr = SCE_C_IDENTIFIER;