From 4d2ebae708d1b3013805f1a71af51bb8eca09f93 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 2 Jul 2012 15:32:12 +1000 Subject: Remove unnecessary check. --- lexlib/CharacterSet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lexlib/CharacterSet.h b/lexlib/CharacterSet.h index 6de6b46c2..23b5d68ea 100644 --- a/lexlib/CharacterSet.h +++ b/lexlib/CharacterSet.h @@ -109,11 +109,11 @@ inline bool isspacechar(int ch) { } inline bool iswordchar(int ch) { - return IsASCII(ch) && (IsAlphaNumeric(ch) || ch == '.' || ch == '_'); + return IsAlphaNumeric(ch) || ch == '.' || ch == '_'; } inline bool iswordstart(int ch) { - return IsASCII(ch) && (IsAlphaNumeric(ch) || ch == '_'); + return IsAlphaNumeric(ch) || ch == '_'; } inline bool isoperator(int ch) { -- cgit v1.2.3