aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexMMIXAL.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-05-13 01:30:06 +0000
committernyamatongwe <devnull@localhost>2010-05-13 01:30:06 +0000
commitb58ecc5340c78b08cbc15d62715001937f321c20 (patch)
tree8eb24653968c21beb97ca0350c3c5fe854bb816e /src/LexMMIXAL.cxx
parentc80245c635898cbe4715cca13a43743046d01b6d (diff)
downloadscintilla-mirror-b58ecc5340c78b08cbc15d62715001937f321c20.tar.gz
Fix debug assertions for bug #3000566.
Diffstat (limited to 'src/LexMMIXAL.cxx')
-rw-r--r--src/LexMMIXAL.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexMMIXAL.cxx b/src/LexMMIXAL.cxx
index a00f35ca0..369929998 100644
--- a/src/LexMMIXAL.cxx
+++ b/src/LexMMIXAL.cxx
@@ -32,7 +32,7 @@ static inline bool IsAWordChar(const int ch) {
}
inline bool isMMIXALOperator(char ch) {
- if (isalnum(ch))
+ if (isascii(ch) && isalnum(ch))
return false;
if (ch == '+' || ch == '-' || ch == '|' || ch == '^' ||
ch == '*' || ch == '/' || ch == '/' ||