aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexCPP.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-02-12 22:12:13 +0000
committernyamatongwe <devnull@localhost>2002-02-12 22:12:13 +0000
commit3d4ba4da35eb10950081d1079d1cb028a41b595b (patch)
treec6a855296b391ff484e87ebc146f453f92bd3598 /src/LexCPP.cxx
parent143bb66b08dc3cc919358ed1a4451832826e1332 (diff)
downloadscintilla-mirror-3d4ba4da35eb10950081d1079d1cb028a41b595b.tar.gz
Made LexerModule objects not be const again as that was impairing static
linking.
Diffstat (limited to 'src/LexCPP.cxx')
-rw-r--r--src/LexCPP.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx
index b76fcc70b..c85664fd5 100644
--- a/src/LexCPP.cxx
+++ b/src/LexCPP.cxx
@@ -316,5 +316,5 @@ static void FoldCppDoc(unsigned int startPos, int length, int initStyle, WordLis
styler.SetLevel(lineCurrent, levelPrev | flagsNext);
}
-const LexerModule lmCPP(SCLEX_CPP, ColouriseCppDoc, "cpp", FoldCppDoc);
-const LexerModule lmTCL(SCLEX_TCL, ColouriseCppDoc, "tcl", FoldCppDoc);
+LexerModule lmCPP(SCLEX_CPP, ColouriseCppDoc, "cpp", FoldCppDoc);
+LexerModule lmTCL(SCLEX_TCL, ColouriseCppDoc, "tcl", FoldCppDoc);