diff options
| author | Ian Moffett <ian@mirocom.org> | 2026-05-23 08:52:56 -0400 |
|---|---|---|
| committer | Ian Moffett <ian@mirocom.org> | 2026-05-23 08:52:56 -0400 |
| commit | a6f776e1f2bd634395db0ddbbdf40575ad5bca23 (patch) | |
| tree | 6071899cd8ff872fb9f3ee629d2d87e7dec64e7d /core/parser.c | |
| parent | 62451acdd4dd4cf369a801b0603e2e0841bfb627 (diff) | |
core: lexer: Add unsigned type tokens
Signed-off-by: Ian Moffett <ian@mirocom.org>
Diffstat (limited to 'core/parser.c')
| -rw-r--r-- | core/parser.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
