From 3f8a74aa87e7ddaf32c3259712846076e97ef4d3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 29 Aug 2002 09:58:05 +0000 Subject: Old constant from C lexer changed to Python version. --- 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 01365c190..bfaa08f0e 100644 --- a/src/LexPython.cxx +++ b/src/LexPython.cxx @@ -163,7 +163,7 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle, // Check for a state end if (sc.state == SCE_P_OPERATOR) { kwLast = kwOther; - sc.SetState(SCE_C_DEFAULT); + sc.SetState(SCE_P_DEFAULT); } else if (sc.state == SCE_P_NUMBER) { if (!IsAWordChar(sc.ch) && !(!hexadecimal && ((sc.ch == '+' || sc.ch == '-') && (sc.chPrev == 'e' || sc.chPrev == 'E')))) { -- cgit v1.2.3