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/LexRuby.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexRuby.cxx') diff --git a/src/LexRuby.cxx b/src/LexRuby.cxx index 44bbf7216..806a1991f 100644 --- a/src/LexRuby.cxx +++ b/src/LexRuby.cxx @@ -352,4 +352,4 @@ static void FoldRbDoc(unsigned int startPos, int length, int initStyle, } } -LexerModule lmRuby(SCLEX_RUBY, ColouriseRbDoc, "ruby", FoldRbDoc); +const LexerModule lmRuby(SCLEX_RUBY, ColouriseRbDoc, "ruby", FoldRbDoc); -- cgit v1.2.3