From f3df011c18821ee6b09f9c2ee8fd48163ed92096 Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Sun, 23 Aug 2026 09:12:47 +0000 Subject: core: lexer+parser: Handle integer literals Signed-off-by: Chloe M. --- head/defconf/token.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'head') diff --git a/head/defconf/token.h b/head/defconf/token.h index 4a69311..9db1a7e 100644 --- a/head/defconf/token.h +++ b/head/defconf/token.h @@ -25,12 +25,14 @@ typedef enum { * @type: Token type * @c: Associated character * @s: Associated string + * @v: Associated integer */ struct token { tt_t type; union { char c; char *s; + size_t v; }; }; -- cgit v1.2.3