aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexAVE.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexAVE.cxx')
-rw-r--r--src/LexAVE.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexAVE.cxx b/src/LexAVE.cxx
index 2b7029b1a..09b393343 100644
--- a/src/LexAVE.cxx
+++ b/src/LexAVE.cxx
@@ -42,7 +42,7 @@ inline bool IsAWordStart(const int ch) {
}
inline bool isAveOperator(char ch) {
- if (isalnum(ch))
+ if (isascii(ch) && isalnum(ch))
return false;
// '.' left out as it is used to make up numbers
if (ch == '*' || ch == '/' || ch == '-' || ch == '+' ||