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