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/LexLisp.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/LexLisp.cxx')
| -rw-r--r-- | src/LexLisp.cxx | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/LexLisp.cxx b/src/LexLisp.cxx index 623ca7cfa..032054100 100644 --- a/src/LexLisp.cxx +++ b/src/LexLisp.cxx @@ -21,7 +21,7 @@  #include "SciLexer.h" -inline bool isLispoperator(char ch) { +static inline bool isLispoperator(char ch) {  	if (isascii(ch) && isalnum(ch))  		return false;  	if (ch == '\'' || ch == '(' || ch == ')' ) @@ -29,7 +29,7 @@ inline bool isLispoperator(char ch) {  	return false;  } -inline bool isLispwordstart(char ch) { +static inline bool isLispwordstart(char ch) {  	return isascii(ch) && ch != ';'  && !isspacechar(ch) && !isLispoperator(ch) &&  		ch != '\n' && ch != '\r' &&  ch != '\"';  } @@ -192,4 +192,4 @@ static void FoldLispDoc(unsigned int startPos, int length, int /* initStyle */,  	styler.SetLevel(lineCurrent, levelPrev | flagsNext);  } -LexerModule lmLISP(SCLEX_LISP, ColouriseLispDoc, "lisp", FoldLispDoc); +const LexerModule lmLISP(SCLEX_LISP, ColouriseLispDoc, "lisp", FoldLispDoc); | 
