From a6f776e1f2bd634395db0ddbbdf40575ad5bca23 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 23 May 2026 08:52:56 -0400 Subject: core: lexer: Add unsigned type tokens Signed-off-by: Ian Moffett --- core/parser.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core/parser.c') diff --git a/core/parser.c b/core/parser.c index 684a1ff..5e86283 100644 --- a/core/parser.c +++ b/core/parser.c @@ -45,7 +45,11 @@ static const char *toktab[] = { [TT_PUB] = qtok("pub"), [TT_PROC] = qtok("proc"), [TT_BEGIN] = qtok("begin"), - [TT_END] = qtok("end") + [TT_END] = qtok("end"), + [TT_U8] = qtok("u8"), + [TT_U16] = qtok("u16"), + [TT_U32] = qtok("u32"), + [TT_U64] = qtok("u64") }; int -- cgit v1.2.3