From f6ed5ea2102a61161051a68ba659c7eb19a4a549 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 12 Feb 2002 03:34:52 +0000 Subject: 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. --- src/LexOthers.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/LexOthers.cxx') 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"); -- cgit v1.2.3