From 6ab9c3732793b6fd40e6388cf1b08756194c0ea6 Mon Sep 17 00:00:00 2001 From: Quinn Stephens Date: Thu, 7 Nov 2024 16:59:19 -0500 Subject: [compiler] Parse return statements Laid groundwork for statements and AST trees. Currently return values are not supported, expression parsing must be implemented first. Also stopped dumping parsed type definitions. Signed-off-by: Quinn Stephens --- include/lexer/token.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/lexer') diff --git a/include/lexer/token.h b/include/lexer/token.h index 2ba5408..cc04c95 100644 --- a/include/lexer/token.h +++ b/include/lexer/token.h @@ -25,6 +25,7 @@ typedef enum { TK_TYPE, TK_ENUM, TK_STRUCT, + TK_RET, /* * Operators. -- cgit v1.2.3