summaryrefslogtreecommitdiff
path: root/head
diff options
context:
space:
mode:
authorChloe M. <chloe@aptel.org>2026-08-23 09:26:07 +0000
committerChloe M. <chloe@aptel.org>2026-08-23 09:26:07 +0000
commitcac4fb215d6469a5b26d9e1e37e7db16b478ade6 (patch)
tree7613588692f2c80e64c681c42d5853ffcb970fd3 /head
parentf3df011c18821ee6b09f9c2ee8fd48163ed92096 (diff)
core: lexer+parser: Add support for comments
Signed-off-by: Chloe M. <chloe@aptel.org>
Diffstat (limited to 'head')
-rw-r--r--head/defconf/token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/head/defconf/token.h b/head/defconf/token.h
index 9db1a7e..e5b9c0d 100644
--- a/head/defconf/token.h
+++ b/head/defconf/token.h
@@ -16,6 +16,7 @@ typedef enum {
TT_FALSE, /* 'false' */
TT_INTLIT, /* [0-9]+ */
TT_IDENT, /* [ident] */
+ TT_COMMENT, /* [comment: ignored] */
_TT_MAX
} tt_t;