From b58ecc5340c78b08cbc15d62715001937f321c20 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/LexCsound.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexCsound.cxx') diff --git a/src/LexCsound.cxx b/src/LexCsound.cxx index 4162c9b3a..3aa2eb897 100644 --- a/src/LexCsound.cxx +++ b/src/LexCsound.cxx @@ -35,7 +35,7 @@ static inline bool IsAWordStart(const int ch) { } static inline bool IsCsoundOperator(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