mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adding keywords for future use section in Token.h
This commit is contained in:
parent
139dd3b1d2
commit
677cefc0e3
9
Token.h
9
Token.h
@ -143,7 +143,6 @@ namespace solidity
|
||||
\
|
||||
/* Keywords */ \
|
||||
K(Break, "break", 0) \
|
||||
K(Case, "case", 0) \
|
||||
K(Const, "constant", 0) \
|
||||
K(Anonymous, "anonymous", 0) \
|
||||
K(Continue, "continue", 0) \
|
||||
@ -168,7 +167,6 @@ namespace solidity
|
||||
K(Return, "return", 0) \
|
||||
K(Returns, "returns", 0) \
|
||||
K(Struct, "struct", 0) \
|
||||
K(Switch, "switch", 0) \
|
||||
K(Var, "var", 0) \
|
||||
K(While, "while", 0) \
|
||||
K(Enum, "enum", 0) \
|
||||
@ -305,6 +303,13 @@ namespace solidity
|
||||
/* Identifiers (not keywords or future reserved words). */ \
|
||||
T(Identifier, NULL, 0) \
|
||||
\
|
||||
/* Keywords reserved for future. use*/ \
|
||||
T(String, "string", 0) \
|
||||
K(Case, "case", 0) \
|
||||
K(Switch, "switch", 0) \
|
||||
K(Throw, "throw", 0) \
|
||||
K(Try, "try", 0) \
|
||||
K(Catch, "catch", 0) \
|
||||
/* Illegal token - not able to scan. */ \
|
||||
T(Illegal, "ILLEGAL", 0) \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user