diff options
author | Himbeer <himbeer@disroot.org> | 2025-05-07 11:56:39 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2025-05-07 11:56:39 +0200 |
commit | 3242354f67a38ab680379ab702ddcc7d9d1c307f (patch) | |
tree | e7469f40345911379fc06a13b5d1b13f6fd16389 /src | |
parent | 773d0876aca8ddcc3e37caca8a63f62249d0b3d9 (diff) |
Add missing 'as' and 'tagof' tokens
Diffstat (limited to 'src')
-rw-r--r-- | src/lex.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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", |