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/LexPascal.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/LexPascal.cxx') diff --git a/src/LexPascal.cxx b/src/LexPascal.cxx index 51b24f2ff..8d2766e9c 100644 --- a/src/LexPascal.cxx +++ b/src/LexPascal.cxx @@ -18,7 +18,6 @@ #include "Scintilla.h" #include "SciLexer.h" - static int classifyWordPascal(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) { char s[100]; for (unsigned int i = 0; i < end - start + 1 && i < 30; i++) { @@ -219,4 +218,4 @@ static void ColourisePascalDoc(unsigned int startPos, int length, int initStyle, } } -LexerModule lmPascal(SCLEX_PASCAL, ColourisePascalDoc, "pascal"); +const LexerModule lmPascal(SCLEX_PASCAL, ColourisePascalDoc, "pascal"); -- cgit v1.2.3