diff options
| author | Chloe M. <chloe@aptel.org> | 2026-08-23 09:12:47 +0000 |
|---|---|---|
| committer | Chloe M. <chloe@aptel.org> | 2026-08-23 09:12:47 +0000 |
| commit | f3df011c18821ee6b09f9c2ee8fd48163ed92096 (patch) | |
| tree | 733c63e7689d6a81a3bf029509b009e1d7a7bedc /head | |
| parent | be90a06efa50496ce4a7fd3f79970efda30498cf (diff) | |
core: lexer+parser: Handle integer literals
Signed-off-by: Chloe M. <chloe@aptel.org>
Diffstat (limited to 'head')
| -rw-r--r-- | head/defconf/token.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; }; |
