aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPascal.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-02-12 03:34:52 +0000
committernyamatongwe <devnull@localhost>2002-02-12 03:34:52 +0000
commitf6ed5ea2102a61161051a68ba659c7eb19a4a549 (patch)
treed1656678b1feffb7d5b8e089d5da63f74dc8ffce /src/LexPascal.cxx
parentddefbe59033421947f57e7d57b0a390ea821d186 (diff)
downloadscintilla-mirror-f6ed5ea2102a61161051a68ba659c7eb19a4a549.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/LexPascal.cxx')
-rw-r--r--src/LexPascal.cxx3
1 files changed, 1 insertions, 2 deletions
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");