aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexCPP.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexCPP.cxx')
-rw-r--r--src/LexCPP.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx
index 06da84341..74ac81513 100644
--- a/src/LexCPP.cxx
+++ b/src/LexCPP.cxx
@@ -24,7 +24,7 @@ static bool IsOKBeforeRE(const int ch) {
return (ch == '(') || (ch == '=') || (ch == ',');
}
-inline bool IsAWordChar(const int ch) {
+static inline bool IsAWordChar(const int ch) {
return (ch < 0x80) && (isalnum(ch) || ch == '.' || ch == '_');
}