diff options
author | nyamatongwe <devnull@localhost> | 2002-02-12 03:34:52 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-02-12 03:34:52 +0000 |
commit | f6ed5ea2102a61161051a68ba659c7eb19a4a549 (patch) | |
tree | d1656678b1feffb7d5b8e089d5da63f74dc8ffce /src/LexAda.cxx | |
parent | ddefbe59033421947f57e7d57b0a390ea821d186 (diff) | |
download | scintilla-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/LexAda.cxx')
-rw-r--r-- | src/LexAda.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexAda.cxx b/src/LexAda.cxx index 91bf00ede..563fe2ba7 100644 --- a/src/LexAda.cxx +++ b/src/LexAda.cxx @@ -49,7 +49,7 @@ inline void classifyWordAda(unsigned int start, unsigned int end, } -inline bool isAdaOperator(char ch) { +static inline bool isAdaOperator(char ch) { if (ch == '&' || ch == '\'' || ch == '(' || ch == ')' || ch == '*' || ch == '+' || ch == ',' || ch == '-' || @@ -195,4 +195,4 @@ static void ColouriseAdaDoc(unsigned int startPos, int length, int initStyle, // } } -LexerModule lmAda(SCLEX_ADA, ColouriseAdaDoc, "ada"); +const LexerModule lmAda(SCLEX_ADA, ColouriseAdaDoc, "ada"); |