diff options
author | nyamatongwe <devnull@localhost> | 2008-12-23 11:33:11 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2008-12-23 11:33:11 +0000 |
commit | 261e4529ceb56bd8a0ab00c5505174968f0ff245 (patch) | |
tree | 2536da04441658778684c6819358ae79c7bb2b7f /src/LexPython.cxx | |
parent | 99eb09be54a94851377a8b086543da8d1730fb1b (diff) | |
download | scintilla-mirror-261e4529ceb56bd8a0ab00c5505174968f0ff245.tar.gz |
Avoid warnings with gcc 4.3
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r-- | src/LexPython.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPython.cxx b/src/LexPython.cxx index 01d406d0d..7cc20e80a 100644 --- a/src/LexPython.cxx +++ b/src/LexPython.cxx @@ -276,7 +276,7 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle, hexadecimal = false; } sc.SetState(SCE_P_NUMBER); - } else if (isascii(sc.ch) && isoperator(static_cast<char>(sc.ch)) || sc.ch == '`') { + } else if ((isascii(sc.ch) && isoperator(static_cast<char>(sc.ch))) || sc.ch == '`') { sc.SetState(SCE_P_OPERATOR); } else if (sc.ch == '#') { sc.SetState(sc.chNext == '#' ? SCE_P_COMMENTBLOCK : SCE_P_COMMENTLINE); |