diff options
author | Quinn Stephens <quinn@osmora.org> | 2024-11-07 16:59:19 -0500 |
---|---|---|
committer | Quinn Stephens <quinn@osmora.org> | 2024-11-07 16:59:19 -0500 |
commit | 6ab9c3732793b6fd40e6388cf1b08756194c0ea6 (patch) | |
tree | e7ae86e1bad944192f0b6fd130cb7d84afa4f180 /include/lexer | |
parent | 063c40584ae78a396b558a5e2a08e3d871450c0b (diff) |
[compiler] Parse return statementsmain
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 <quinn@osmora.org>
Diffstat (limited to 'include/lexer')
-rw-r--r-- | include/lexer/token.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. |