From 7a43fb95afa4cee74b2282f38789bbc363b86dd7 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 20 Jul 2025 21:58:24 -0400 Subject: oasm: lex: Convert and store to uint16_t Signed-off-by: Ian Moffett --- usr.bin/oasm/include/oasm/lex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.bin/oasm/include') diff --git a/usr.bin/oasm/include/oasm/lex.h b/usr.bin/oasm/include/oasm/lex.h index 9e293e6..1bb8641 100644 --- a/usr.bin/oasm/include/oasm/lex.h +++ b/usr.bin/oasm/include/oasm/lex.h @@ -113,6 +113,7 @@ typedef enum { struct oasm_token { tt_t type; uint8_t is_reg : 1; + uint16_t imm; char *raw; }; -- cgit v1.2.3