From 5e257cbf702e57fd55f8477a63236bdb9ce454f4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 20 Apr 2021 17:42:10 +0200 Subject: Awesome stuff --- src/inc/lexer.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/inc/lexer.h') diff --git a/src/inc/lexer.h b/src/inc/lexer.h index afc3a0a..c3999e7 100644 --- a/src/inc/lexer.h +++ b/src/inc/lexer.h @@ -58,6 +58,8 @@ enum token_type { ORG, DB, DW, + DATA, + BIT, INCLUDE, HASH, @@ -73,7 +75,12 @@ enum token_type { HEX_NUM, BIN_NUM, + STRING, + + // Registers ACCU, + ATR0, + ATR1, R0, R1, R2, @@ -88,7 +95,6 @@ struct token { enum token_type type; char *start; u32 length; - void *data; }; void token_print(struct token *tok); -- cgit v1.2.3