aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/CharacterSet.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-07-02 15:41:37 +1000
committernyamatongwe <devnull@localhost>2012-07-02 15:41:37 +1000
commite541383a52ed6bc5ec5408e1b4b996466c060931 (patch)
tree0b076762821b279c27e53d6f81a436c0eb1338f3 /lexlib/CharacterSet.h
parent3bae6507b9a7bae1992ebcd70816d5eec44bec68 (diff)
downloadscintilla-mirror-e541383a52ed6bc5ec5408e1b4b996466c060931.tar.gz
Remove unnecessary check.
Diffstat (limited to 'lexlib/CharacterSet.h')
-rw-r--r--lexlib/CharacterSet.h2
1 files changed, 1 insertions, 1 deletions
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 == '+' ||