diff options
author | nyamatongwe <devnull@localhost> | 2003-07-22 11:29:54 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-07-22 11:29:54 +0000 |
commit | 089a7544a090ab73372b2aa95430791055e7ff28 (patch) | |
tree | 8796a9e9c47a47927042958617a4e6c54e7095eb /src/LexSQL.cxx | |
parent | d9ce17ac765e9dc23a7e71fdaf920c851feca09e (diff) | |
download | scintilla-mirror-089a7544a090ab73372b2aa95430791055e7ff28.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; |