aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexBaan.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexBaan.cxx')
-rw-r--r--src/LexBaan.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LexBaan.cxx b/src/LexBaan.cxx
index a8a9d6054..9727473f9 100644
--- a/src/LexBaan.cxx
+++ b/src/LexBaan.cxx
@@ -21,11 +21,11 @@
#include "Scintilla.h"
#include "SciLexer.h"
-inline bool IsAWordChar(const int ch) {
+static inline bool IsAWordChar(const int ch) {
return (ch < 0x80) && (isalnum(ch) || ch == '.' || ch == '_' || ch == '$' || ch == ':');
}
-inline bool IsAWordStart(const int ch) {
+static inline bool IsAWordStart(const int ch) {
return (ch < 0x80) && (isalnum(ch) || ch == '_');
}
@@ -186,4 +186,4 @@ static void FoldBaanDoc(unsigned int startPos, int length, int initStyle, WordLi
styler.SetLevel(lineCurrent, levelPrev | flagsNext);
}
-LexerModule lmBaan(SCLEX_BAAN, ColouriseBaanDoc, "baan", FoldBaanDoc);
+const LexerModule lmBaan(SCLEX_BAAN, ColouriseBaanDoc, "baan", FoldBaanDoc);