aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexCsound.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexCsound.cxx')
-rw-r--r--src/LexCsound.cxx2
1 files changed, 1 insertions, 1 deletions
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 == '+' ||