core: lexer: Add preprocessor tokens

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-05-23 08:49:17 -04:00
parent 82e68e92a9
commit 62451acdd4
3 changed files with 58 additions and 0 deletions
+3
View File
@@ -18,6 +18,9 @@ typedef enum {
TT_RPAREN, /* '( */
TT_COMMA, /* ',' */
TT_ARROW, /* '->' */
TT_DEFINE, /* '#define' */
TT_IFNDEF, /* '#ifndef' */
TT_IFDEF, /* '#ifdef' */
TT_RETURN, /* 'return' */
TT_PUB, /* 'pub' */
TT_PROC, /* 'proc' */