aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPython.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-12-23 11:33:11 +0000
committernyamatongwe <devnull@localhost>2008-12-23 11:33:11 +0000
commit261e4529ceb56bd8a0ab00c5505174968f0ff245 (patch)
tree2536da04441658778684c6819358ae79c7bb2b7f /src/LexPython.cxx
parent99eb09be54a94851377a8b086543da8d1730fb1b (diff)
downloadscintilla-mirror-261e4529ceb56bd8a0ab00c5505174968f0ff245.tar.gz
Avoid warnings with gcc 4.3
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r--src/LexPython.cxx2
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);