Skip to content

Commit 507b2ad

Browse files
committed
Reserve implements keyword
1 parent c2a75f1 commit 507b2ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vm/wren_compiler.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ typedef enum
9696
TOKEN_FOR,
9797
TOKEN_FOREIGN,
9898
TOKEN_IF,
99+
TOKEN_IMPLEMENTS,
99100
TOKEN_IMPORT,
100101
TOKEN_AS,
101102
TOKEN_IN,
@@ -608,6 +609,7 @@ static Keyword keywords[] =
608609
{"for", 3, TOKEN_FOR},
609610
{"foreign", 7, TOKEN_FOREIGN},
610611
{"if", 2, TOKEN_IF},
612+
{"implements", 10, TOKEN_IMPLEMENTS},
611613
{"import", 6, TOKEN_IMPORT},
612614
{"as", 2, TOKEN_AS},
613615
{"in", 2, TOKEN_IN},
@@ -2791,6 +2793,7 @@ GrammarRule rules[] =
27912793
/* TOKEN_FOR */ UNUSED,
27922794
/* TOKEN_FOREIGN */ UNUSED,
27932795
/* TOKEN_IF */ UNUSED,
2796+
/* TOKEN_IMPLEMENTS */ UNUSED,
27942797
/* TOKEN_IMPORT */ UNUSED,
27952798
/* TOKEN_AS */ UNUSED,
27962799
/* TOKEN_IN */ UNUSED,

0 commit comments

Comments
 (0)