aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexAVE.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/LexAVE.cxx
parentc80245c635898cbe4715cca13a43743046d01b6d (diff)
downloadscintilla-mirror-b58ecc5340c78b08cbc15d62715001937f321c20.tar.gz
Fix debug assertions for bug #3000566.
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 == '+' ||