aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-07-21 02:03:07 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-07-21 03:42:18 +0800
commit827208d1d6bc969108e1d06b328d66027a0da7f3 (patch)
treeab98e2ca30416b310cbe46bedf077a83b956b780 /libsolidity/parsing
parentf24d70e914eeec1a3e51b0d118074ab68faa3bd3 (diff)
downloaddexon-solidity-827208d1d6bc969108e1d06b328d66027a0da7f3.tar.gz
dexon-solidity-827208d1d6bc969108e1d06b328d66027a0da7f3.tar.zst
dexon-solidity-827208d1d6bc969108e1d06b328d66027a0da7f3.zip
Move `in` as a keyword to reserved word section
Diffstat (limited to 'libsolidity/parsing')
-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 703e88f6..dd3d3ec0 100644
--- a/libsolidity/parsing/Token.h
+++ b/libsolidity/parsing/Token.h
@@ -129,7 +129,6 @@ namespace solidity
T(GreaterThan, ">", 7) \
T(LessThanOrEqual, "<=", 7) \
T(GreaterThanOrEqual, ">=", 7) \
- K(In, "in", 7) \
\
/* Unary operators. */ \
/* IsUnaryOp() relies on this block of enum values */ \
@@ -220,6 +219,7 @@ namespace solidity
K(Case, "case", 0) \
K(Catch, "catch", 0) \
K(Final, "final", 0) \
+ K(In, "in", 0) \
K(Inline, "inline", 0) \
K(Let, "let", 0) \
K(Match, "match", 0) \