aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-07-02 15:32:12 +1000
committernyamatongwe <devnull@localhost>2012-07-02 15:32:12 +1000
commitfd7091be8a473a8e791861ac47eb46b6ece1b635 (patch)
tree9d1a6a587fd6eeb63dae86c21be9feae13f9383d
parent89d629a0515ba0fb2aeb1a13f9be59cbdadb2fa1 (diff)
downloadscintilla-mirror-fd7091be8a473a8e791861ac47eb46b6ece1b635.tar.gz
Remove unnecessary check.
-rw-r--r--lexlib/CharacterSet.h4
1 files 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) {