aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-08-06 04:45:54 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-08-11 22:15:59 +0800
commit0988eba4fe8dd5f0630cf509663887d8f135fe5e (patch)
treedbff4a81ca4866737e948063e485bbccd5011ac2 /libsolidity/parsing
parent7c15fa661afd52f9e651e57aced5e75d744b9f62 (diff)
downloaddexon-solidity-0988eba4fe8dd5f0630cf509663887d8f135fe5e.tar.gz
dexon-solidity-0988eba4fe8dd5f0630cf509663887d8f135fe5e.tar.zst
dexon-solidity-0988eba4fe8dd5f0630cf509663887d8f135fe5e.zip
Remove after from Token.h
Diffstat (limited to 'libsolidity/parsing')
-rw-r--r--libsolidity/parsing/Token.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/parsing/Token.h b/libsolidity/parsing/Token.h
index 581df3a5..5ac7aedd 100644
--- a/libsolidity/parsing/Token.h
+++ b/libsolidity/parsing/Token.h
@@ -185,7 +185,6 @@ namespace solidity
K(SubDay, "days", 0) \
K(SubWeek, "weeks", 0) \
K(SubYear, "years", 0) \
- K(After, "after", 0) \
/* type keywords*/ \
K(Int, "int", 0) \
K(UInt, "uint", 0) \
@@ -215,6 +214,7 @@ namespace solidity
T(Identifier, NULL, 0) \
\
/* Keywords reserved for future use. */ \
+ K(After, "after", 0) \
K(As, "as", 0) \
K(Case, "case", 0) \
K(Catch, "catch", 0) \
@@ -277,7 +277,7 @@ public:
static bool isBitOp(Value op) { return (BitOr <= op && op <= BitAnd) || op == BitNot; }
static bool isBooleanOp(Value op) { return (Or <= op && op <= And) || op == Not; }
- static bool isUnaryOp(Value op) { return (Not <= op && op <= Delete) || op == Add || op == Sub || op == After; }
+ static bool isUnaryOp(Value op) { return (Not <= op && op <= Delete) || op == Add || op == Sub; }
static bool isCountOp(Value op) { return op == Inc || op == Dec; }
static bool isShiftOp(Value op) { return (SHL <= op) && (op <= SHR); }
static bool isVisibilitySpecifier(Value op) { return isVariableVisibilitySpecifier(op) || op == External; }