aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPython.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-08-29 09:58:05 +0000
committernyamatongwe <unknown>2002-08-29 09:58:05 +0000
commit3f8a74aa87e7ddaf32c3259712846076e97ef4d3 (patch)
tree64d1d1032dc944ce8baea72cbd73fd4f8115a16b /src/LexPython.cxx
parent8081b3b5dbeeef59ad7da48211f5833fb972fdae (diff)
downloadscintilla-mirror-3f8a74aa87e7ddaf32c3259712846076e97ef4d3.tar.gz
Old constant from C lexer changed to Python version.
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 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')))) {