aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexRuby.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-02-12 03:34:52 +0000
committernyamatongwe <unknown>2002-02-12 03:34:52 +0000
commit2c7158c928c73f02f4fc448fdd96ba4f45d0ea76 (patch)
treed1656678b1feffb7d5b8e089d5da63f74dc8ffce /src/LexRuby.cxx
parentf540bc2de8cefe784c71b3401ebaf971043546e7 (diff)
downloadscintilla-mirror-2c7158c928c73f02f4fc448fdd96ba4f45d0ea76.tar.gz
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.
Diffstat (limited to 'src/LexRuby.cxx')
-rw-r--r--src/LexRuby.cxx2
1 files changed, 1 insertions, 1 deletions
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);