aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPython.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2008-12-23 11:33:11 +0000
committernyamatongwe <unknown>2008-12-23 11:33:11 +0000
commitdd8505c0d64e2f2d42f7aeef761ca2fb42b01190 (patch)
tree2536da04441658778684c6819358ae79c7bb2b7f /src/LexPython.cxx
parentf797cc6b8ca81530565c989d40ac9bc2b1952465 (diff)
downloadscintilla-mirror-dd8505c0d64e2f2d42f7aeef761ca2fb42b01190.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);