summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Moffett <ian@mirocom.org>2026-05-23 08:49:17 -0400
committerIan Moffett <ian@mirocom.org>2026-05-23 08:49:17 -0400
commit62451acdd4dd4cf369a801b0603e2e0841bfb627 (patch)
tree853db2d031239dd9e7e27c8ed679f6e0f884bc8c /include
parent82e68e92a92e8973dcca8d94f175c9d16be94c80 (diff)
core: lexer: Add preprocessor tokens
Signed-off-by: Ian Moffett <ian@mirocom.org>
Diffstat (limited to 'include')
-rw-r--r--include/cescal/token.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cescal/token.h b/include/cescal/token.h
index e215371..21db2ac 100644
--- a/include/cescal/token.h
+++ b/include/cescal/token.h
@@ -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' */