@@ -9,10 +9,9 @@ ReservedKeywords:
9
9
| ' partial' | ' promise' | ' reference' | ' relocatable' | ' sealed' | ' sizeof' | ' static'
10
10
| ' supports' | ' switch' | ' typedef' | ' typeof' | ' var' ;
11
11
12
- Pragma : ' pragma' -> pushMode(PragmaMode);
13
12
Abstract : ' abstract' ;
14
- Anonymous : ' anonymous' ;
15
13
Address : ' address' ;
14
+ Anonymous : ' anonymous' ;
16
15
As : ' as' ;
17
16
Assembly : ' assembly' -> pushMode(AssemblyBlockMode);
18
17
Bool : ' bool' ;
@@ -30,13 +29,11 @@ Else: 'else';
30
29
Emit : ' emit' ;
31
30
Enum : ' enum' ;
32
31
Error : ' error' ; // not a real keyword
33
- Revert : ' revert' ; // not a real keyword
34
32
Event : ' event' ;
35
33
External : ' external' ;
36
34
Fallback : ' fallback' ;
37
35
False : ' false' ;
38
36
Fixed : ' fixed' | (' fixed' [1-9][0-9]* ' x' [1-9][0-9]*);
39
- From : ' from' ; // not a real keyword
40
37
/* *
41
38
* Bytes types of fixed length.
42
39
*/
@@ -46,6 +43,7 @@ FixedBytes:
46
43
' bytes17' | ' bytes18' | ' bytes19' | ' bytes20' | ' bytes21' | ' bytes22' | ' bytes23' | ' bytes24' |
47
44
' bytes25' | ' bytes26' | ' bytes27' | ' bytes28' | ' bytes29' | ' bytes30' | ' bytes31' | ' bytes32' ;
48
45
For : ' for' ;
46
+ From : ' from' ; // not a real keyword
49
47
Function : ' function' ;
50
48
Global : ' global' ; // not a real keyword
51
49
Hex : ' hex' ;
@@ -67,12 +65,14 @@ New: 'new';
67
65
NumberUnit : ' wei' | ' gwei' | ' ether' | ' seconds' | ' minutes' | ' hours' | ' days' | ' weeks' | ' years' ;
68
66
Override : ' override' ;
69
67
Payable : ' payable' ;
68
+ Pragma : ' pragma' -> pushMode(PragmaMode);
70
69
Private : ' private' ;
71
70
Public : ' public' ;
72
71
Pure : ' pure' ;
73
72
Receive : ' receive' ;
74
73
Return : ' return' ;
75
74
Returns : ' returns' ;
75
+ Revert : ' revert' ; // not a real keyword
76
76
/* *
77
77
* Sized signed integer types.
78
78
* int is an alias of int256.
0 commit comments