diff options
author | Quinn Stephens <quinn@osmora.org> | 2024-11-03 19:12:47 -0500 |
---|---|---|
committer | Quinn Stephens <quinn@osmora.org> | 2024-11-03 19:12:47 -0500 |
commit | 063c40584ae78a396b558a5e2a08e3d871450c0b (patch) | |
tree | 1acca2d57ba421530b1cfd2a23f0658e35e7ebae /compiler/lexer | |
parent | 71b10c1c765196a771ce05216395d6b78892a735 (diff) |
[compiler] Parse and print procedure declarations
Signed-off-by: Quinn Stephens <quinn@osmora.org>
Diffstat (limited to 'compiler/lexer')
-rw-r--r-- | compiler/lexer/keywords.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/lexer/keywords.c b/compiler/lexer/keywords.c index 0e95048..88c2e67 100644 --- a/compiler/lexer/keywords.c +++ b/compiler/lexer/keywords.c @@ -65,6 +65,7 @@ keywords_init(void) keywords.n_rows = HASHMAP_ROWS; hashmap_init(&keywords); + add_keyword("proc", TK_PROC); add_keyword("type", TK_TYPE); add_keyword("enum", TK_ENUM); add_keyword("struct", TK_STRUCT); |