diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-09-06 08:40:04 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-09-06 18:37:00 +0800 |
commit | 496b7ea1d207e84c1dde195ca8fdbe59d36db633 (patch) | |
tree | efecfb8399dcf2479d49837b3d5cace391a602aa /libsolidity/parsing | |
parent | f687635e4743a1e12d01fb082a4f8a76a759ab48 (diff) | |
download | dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.tar.gz dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.tar.zst dexon-solidity-496b7ea1d207e84c1dde195ca8fdbe59d36db633.zip |
Reserve view and pure as keywords
Diffstat (limited to 'libsolidity/parsing')
-rw-r--r-- | libsolidity/parsing/Token.h | 2 |
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) \ \ |