diff options
author | nyamatongwe <unknown> | 2003-07-22 11:29:54 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-07-22 11:29:54 +0000 |
commit | 29e87e55cbe58bc5b148847bbc34b26d52b422f2 (patch) | |
tree | 8796a9e9c47a47927042958617a4e6c54e7095eb /src/LexSQL.cxx | |
parent | 36fcbc24f5c84e08cd36b1a043bf820a6d8ba9bd (diff) | |
download | scintilla-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.cxx | 2 |
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; |