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/LexPerl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexPerl.cxx') diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx index 590d05d2a..71942091b 100644 --- a/src/LexPerl.cxx +++ b/src/LexPerl.cxx @@ -659,4 +659,4 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle, styler.ColourTo(lengthDoc, state); } -LexerModule lmPerl(SCLEX_PERL, ColourisePerlDoc, "perl"); +const LexerModule lmPerl(SCLEX_PERL, ColourisePerlDoc, "perl"); -- cgit v1.2.3