From 063c40584ae78a396b558a5e2a08e3d871450c0b Mon Sep 17 00:00:00 2001 From: Quinn Stephens Date: Sun, 3 Nov 2024 19:12:47 -0500 Subject: [compiler] Parse and print procedure declarations Signed-off-by: Quinn Stephens --- compiler/lexer/keywords.c | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/lexer') 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); -- cgit v1.2.3