diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-22 18:18:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-22 18:18:21 +0200 |
commit | c706eb101934ec05a1aa0fa75ab79f8b1ba405e8 (patch) | |
tree | 02e2c0275315a7d698599221fd52636bd642c584 /lexer.c | |
parent | 54ca3aa25f5dd551d974724524b5f0958da35b34 (diff) | |
parent | 5714705aee31a0d561b4cf1b8096bbe19e17a825 (diff) |
Merge pull request #13 from jow-/const-support
syntax: introduce `const` support
Diffstat (limited to 'lexer.c')
-rw-r--r-- | lexer.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -152,6 +152,7 @@ static const struct keyword reserved_words[] = { { TK_WHILE, "while", 5, { 0 } }, { TK_BREAK, "break", 5, { 0 } }, { TK_CATCH, "catch", 5, { 0 } }, + { TK_CONST, "const", 5, { 0 } }, { TK_BOOL, "false", 5, { .b = false } }, { TK_BOOL, "true", 4, { .b = true } }, { TK_ELIF, "elif", 4, { 0 } }, |