From fbf9cfee0d22a2750b894c2ddb19dff2a50810b4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 20 Apr 2021 16:09:00 +0200 Subject: All right --- src/inc/lexer.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/inc/lexer.h') diff --git a/src/inc/lexer.h b/src/inc/lexer.h index 82d533c..afc3a0a 100644 --- a/src/inc/lexer.h +++ b/src/inc/lexer.h @@ -6,6 +6,8 @@ enum token_type { UNKNOWN, NEWLINE, + SPACE, + NOP, JBC, JB, @@ -57,6 +59,29 @@ enum token_type { DB, DW, INCLUDE, + + HASH, + DOLLAR, + SLASH, + PLUS, + COMMA, + DOT, + COLON, + SEMICOLON, + + DEC_NUM, + HEX_NUM, + BIN_NUM, + + ACCU, + R0, + R1, + R2, + R3, + R4, + R5, + R6, + R7, }; struct token { -- cgit v1.2.3