Skip to content

Commit 9f11013

Browse files
Maarten Staaczosel
Maarten Staa
authored andcommitted
Remove ENUM_C tokens.
1 parent 90c509b commit 9f11013

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/lexer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const Lexer = function (engine) {
3535
this.keywords = {
3636
__class__: this.tok.T_CLASS_C,
3737
__trait__: this.tok.T_TRAIT_C,
38-
__enum__: this.tok.T_ENUM_C,
3938
__function__: this.tok.T_FUNC_C,
4039
__method__: this.tok.T_METHOD_C,
4140
__line__: this.tok.T_LINE,

src/parser.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ const Parser = function (lexer, ast) {
7474
this.tok.T_ENDSWITCH,
7575
this.tok.T_ENDWHILE,
7676
this.tok.T_ENUM,
77-
this.tok.T_ENUM_C,
7877
this.tok.T_EVAL,
7978
this.tok.T_EXIT,
8079
this.tok.T_EXTENDS,
@@ -146,7 +145,6 @@ const Parser = function (lexer, ast) {
146145
"[",
147146
this.tok.T_CLASS_C,
148147
this.tok.T_TRAIT_C,
149-
this.tok.T_ENUM_C,
150148
this.tok.T_FUNC_C,
151149
this.tok.T_METHOD_C,
152150
this.tok.T_LINE,

0 commit comments

Comments
 (0)