diff options
Diffstat (limited to 'src/LexGAP.cxx')
-rw-r--r-- | src/LexGAP.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexGAP.cxx b/src/LexGAP.cxx index 25bd33b90..fb6e739bd 100644 --- a/src/LexGAP.cxx +++ b/src/LexGAP.cxx @@ -26,7 +26,7 @@ using namespace Scintilla; #endif static inline bool IsGAPOperator(char ch) { - if (isalnum(ch)) return false; + if (isascii(ch) && isalnum(ch)) return false; if (ch == '+' || ch == '-' || ch == '*' || ch == '/' || ch == '^' || ch == ',' || ch == '!' || ch == '.' || ch == '=' || ch == '<' || ch == '>' || ch == '(' || |