aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Token.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-09-06 08:40:04 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-09-06 18:37:00 +0800
commit496b7ea1d207e84c1dde195ca8fdbe59d36db633 (patch)
treeefecfb8399dcf2479d49837b3d5cace391a602aa /libsolidity/parsing/Token.h
parentf687635e4743a1e12d01fb082a4f8a76a759ab48 (diff)
downloaddexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.tar
dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.tar.gz
dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.tar.bz2
dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.tar.lz
dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.tar.xz
dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.tar.zst
dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.zip
Reserve view and pure as keywords
Diffstat (limited to 'libsolidity/parsing/Token.h')
-rw-r--r--libsolidity/parsing/Token.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/parsing/Token.h b/libsolidity/parsing/Token.h
index cc85b610..2bf7419e 100644
--- a/libsolidity/parsing/Token.h
+++ b/libsolidity/parsing/Token.h
@@ -230,12 +230,14 @@ namespace solidity
K(Let, "let", 0) \
K(Match, "match", 0) \
K(Of, "of", 0) \
+ K(Pure, "pure", 0) \
K(Relocatable, "relocatable", 0) \
K(Static, "static", 0) \
K(Switch, "switch", 0) \
K(Try, "try", 0) \
K(Type, "type", 0) \
K(TypeOf, "typeof", 0) \
+ K(View, "view", 0) \
/* Illegal token - not able to scan. */ \
T(Illegal, "ILLEGAL", 0) \
\