aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-02-12 03:34:52 +0000
committernyamatongwe <unknown>2002-02-12 03:34:52 +0000
commit2c7158c928c73f02f4fc448fdd96ba4f45d0ea76 (patch)
treed1656678b1feffb7d5b8e089d5da63f74dc8ffce /src/LexOthers.cxx
parentf540bc2de8cefe784c71b3401ebaf971043546e7 (diff)
downloadscintilla-mirror-2c7158c928c73f02f4fc448fdd96ba4f45d0ea76.tar.gz
Made lexer objects const so they do not show up in map as static / globals.
File specific inline functions marker as static to ensure no bad linking.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r--src/LexOthers.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index 2c9c3e444..efc4dafd6 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -521,9 +521,9 @@ static void ColouriseLatexDoc(unsigned int startPos, int length, int initStyle,
styler.ColourTo(lengthDoc, state);
}
-LexerModule lmBatch(SCLEX_BATCH, ColouriseBatchDoc, "batch");
-LexerModule lmDiff(SCLEX_DIFF, ColouriseDiffDoc, "diff");
-LexerModule lmProps(SCLEX_PROPERTIES, ColourisePropsDoc, "props");
-LexerModule lmMake(SCLEX_MAKEFILE, ColouriseMakeDoc, "makefile");
-LexerModule lmErrorList(SCLEX_ERRORLIST, ColouriseErrorListDoc, "errorlist");
-LexerModule lmLatex(SCLEX_LATEX, ColouriseLatexDoc, "latex");
+const LexerModule lmBatch(SCLEX_BATCH, ColouriseBatchDoc, "batch");
+const LexerModule lmDiff(SCLEX_DIFF, ColouriseDiffDoc, "diff");
+const LexerModule lmProps(SCLEX_PROPERTIES, ColourisePropsDoc, "props");
+const LexerModule lmMake(SCLEX_MAKEFILE, ColouriseMakeDoc, "makefile");
+const LexerModule lmErrorList(SCLEX_ERRORLIST, ColouriseErrorListDoc, "errorlist");
+const LexerModule lmLatex(SCLEX_LATEX, ColouriseLatexDoc, "latex");