From 2c7158c928c73f02f4fc448fdd96ba4f45d0ea76 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/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 4af4ca225..8439d3dd6 100644 --- a/src/LexPython.cxx +++ b/src/LexPython.cxx @@ -402,4 +402,4 @@ static void FoldPyDoc(unsigned int startPos, int length, int /*initStyle - unuse //styler.SetLevel(lineCurrent, indentCurrent); } -LexerModule lmPython(SCLEX_PYTHON, ColourisePyDoc, "python", FoldPyDoc); +const LexerModule lmPython(SCLEX_PYTHON, ColourisePyDoc, "python", FoldPyDoc); -- cgit v1.2.3