From 74d92c0f19f84c9f1f5f9e87130c89484db155f6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 13 May 2010 01:30:06 +0000 Subject: Fix debug assertions for bug #3000566. --- src/LexAVE.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexAVE.cxx') 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 == '+' || -- cgit v1.2.3