aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexCPP.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexCPP.cxx')
-rw-r--r--src/LexCPP.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx
index bf089d6cf..c7c333a1b 100644
--- a/src/LexCPP.cxx
+++ b/src/LexCPP.cxx
@@ -28,11 +28,11 @@ static bool IsOKBeforeRE(int ch) {
}
static inline bool IsAWordChar(int ch) {
- return (ch < 0x80) && (isalnum(ch) || ch == '.' || ch == '_');
+ return (ch >= 0x80) || (isalnum(ch) || ch == '.' || ch == '_');
}
static inline bool IsAWordStart(int ch) {
- return (ch < 0x80) && (isalpha(ch) || ch == '_');
+ return (ch >= 0x80) || (isalpha(ch) || ch == '_');
}
static inline bool IsADoxygenChar(int ch) {