aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexLisp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexLisp.cxx')
-rw-r--r--src/LexLisp.cxx6
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);