summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChloe M. <chloe@mirocom.org>2026-05-23 08:09:05 -0400
committerChloe M. <chloe@mirocom.org>2026-05-23 08:13:45 -0400
commit3e3ccae003ad0990555d17590588672aedc428c4 (patch)
tree897ee125560e4b183e96230e040999bdb8ebd559 /include
parent50bd6324feb9c129067cb60586e8690fee1a81bf (diff)
core: lexer: Add comment skipping
Signed-off-by: Chloe M. <chloe@mirocom.org>
Diffstat (limited to 'include')
-rw-r--r--include/cescal/token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cescal/token.h b/include/cescal/token.h
index 990df77..eb9fc39 100644
--- a/include/cescal/token.h
+++ b/include/cescal/token.h
@@ -12,6 +12,7 @@
typedef enum {
TT_NONE, /* [none] */
TT_IDENT, /* [identifier] */
+ TT_COMMENT, /* [comment : ignored] */
TT_INTLIT, /* [0-9]+ */
TT_LPAREN, /* '(' */
TT_RPAREN, /* '( */