diff options
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); |