summaryrefslogtreecommitdiff
path: root/src/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-01 18:36:21 -0400
committerIan Moffett <ian@osmora.org>2025-10-01 18:38:36 -0400
commita3ac3a7b214991e3b555145dfc1348c58bf54349 (patch)
treed8d32a7139810b75094c9043976ddc032689c1af /src/sys/include
parente0f16855cb1e5f0465db13405b6524682847688c (diff)
np: lex: Add the rest of the UINT tokens
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include')
-rw-r--r--src/sys/include/np/lex.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sys/include/np/lex.h b/src/sys/include/np/lex.h
index cbbc403..a11de58 100644
--- a/src/sys/include/np/lex.h
+++ b/src/sys/include/np/lex.h
@@ -40,7 +40,10 @@ struct np_work;
#define TOKEN_END "end"
/* Types */
-#define TOKEN_U8 "u8"
+#define TOKEN_U8 "u8"
+#define TOKEN_U16 "u16"
+#define TOKEN_U32 "u32"
+#define TOKEN_U64 "u64"
/*
* Represents the various token types that are
@@ -68,6 +71,9 @@ typedef enum {
/* Types */
TT_U8, /* 'u8' */
+ TT_U16, /* 'u16' */
+ TT_U32, /* 'u32' */
+ TT_U64, /* 'u64' */
/* Values */
TT_NUMBER, /* <numbers> */