aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexGAP.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-05-13 01:30:06 +0000
committernyamatongwe <unknown>2010-05-13 01:30:06 +0000
commit74d92c0f19f84c9f1f5f9e87130c89484db155f6 (patch)
tree8eb24653968c21beb97ca0350c3c5fe854bb816e /src/LexGAP.cxx
parent9328c929f1e7259ec256f076eba0a47013a5fb62 (diff)
downloadscintilla-mirror-74d92c0f19f84c9f1f5f9e87130c89484db155f6.tar.gz
Fix debug assertions for bug #3000566.
Diffstat (limited to 'src/LexGAP.cxx')
-rw-r--r--src/LexGAP.cxx2
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 == '(' ||