From 783ccd1c62faa4d50b88576f55231045f320dd79 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 2 Jul 2012 15:41:37 +1000 Subject: Remove unnecessary check. --- lexlib/CharacterSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexlib/CharacterSet.h b/lexlib/CharacterSet.h index a4234b5cc..929a3a6e1 100644 --- a/lexlib/CharacterSet.h +++ b/lexlib/CharacterSet.h @@ -125,7 +125,7 @@ inline bool iswordstart(int ch) { } inline bool isoperator(int ch) { - if (IsASCII(ch) && IsAlphaNumeric(ch)) + if (IsAlphaNumeric(ch)) return false; if (ch == '%' || ch == '^' || ch == '&' || ch == '*' || ch == '(' || ch == ')' || ch == '-' || ch == '+' || -- cgit v1.2.3