aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lex.c b/src/lex.c
index bb82fed..d6ab2f0 100644
--- a/src/lex.c
+++ b/src/lex.c
@@ -11,6 +11,7 @@
const char *tokens[] = {
// Must match enum lexical_token (lex.h)
[T_ALIGN] = "align",
+ [T_AS] = "as",
[T_BREAK] = "break",
[T_CONST] = "const",
[T_CONTINUE] = "continue",
@@ -27,6 +28,7 @@ const char *tokens[] = {
[T_PUB] = "pub",
[T_RETURN] = "return",
[T_STRUCT] = "struct",
+ [T_TAGOF] = "tagof",
[T_TRUE] = "true",
[T_UNION] = "union",
[T_VAR] = "var",