From dd8505c0d64e2f2d42f7aeef761ca2fb42b01190 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 23 Dec 2008 11:33:11 +0000 Subject: Avoid warnings with gcc 4.3 --- src/LexPython.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexPython.cxx') 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(sc.ch)) || sc.ch == '`') { + } else if ((isascii(sc.ch) && isoperator(static_cast(sc.ch))) || sc.ch == '`') { sc.SetState(SCE_P_OPERATOR); } else if (sc.ch == '#') { sc.SetState(sc.chNext == '#' ? SCE_P_COMMENTBLOCK : SCE_P_COMMENTLINE); -- cgit v1.2.3