aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-07-21 05:05:24 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-07-21 05:05:24 +0800
commit8fbe994075ce36bec66645aa7eb389dda71754cf (patch)
tree301b373bb639fc8b25a6a5a65c7265811229ed72 /libsolidity
parent827208d1d6bc969108e1d06b328d66027a0da7f3 (diff)
downloaddexon-solidity-8fbe994075ce36bec66645aa7eb389dda71754cf.tar.gz
dexon-solidity-8fbe994075ce36bec66645aa7eb389dda71754cf.tar.zst
dexon-solidity-8fbe994075ce36bec66645aa7eb389dda71754cf.zip
Fix isCompareOp()
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/parsing/Token.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Token.h b/libsolidity/parsing/Token.h
index dd3d3ec0..581df3a5 100644
--- a/libsolidity/parsing/Token.h
+++ b/libsolidity/parsing/Token.h
@@ -267,7 +267,7 @@ public:
static bool isCommutativeOp(Value op) { return op == BitOr || op == BitXor || op == BitAnd ||
op == Add || op == Mul || op == Equal || op == NotEqual; }
static bool isArithmeticOp(Value op) { return Add <= op && op <= Exp; }
- static bool isCompareOp(Value op) { return Equal <= op && op <= In; }
+ static bool isCompareOp(Value op) { return Equal <= op && op <= GreaterThanOrEqual; }
static Value AssignmentToBinaryOp(Value op)
{