From 6e524569c34b0fb41c85280af5ea3f924999bbdf Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 6 Nov 2023 08:16:15 +0000 Subject: Current work on preprocessor --- asm/lexer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'asm/lexer.h') diff --git a/asm/lexer.h b/asm/lexer.h index 8470a18..8d62440 100644 --- a/asm/lexer.h +++ b/asm/lexer.h @@ -19,6 +19,7 @@ typedef enum TokenType { TOKEN_PP_CONST, TOKEN_PP_END, + TOKEN_PP_REFERENCE, TOKEN_GLOBAL, TOKEN_STAR, TOKEN_LITERAL_NUMBER, @@ -72,6 +73,7 @@ typedef enum { LERR_OK = 0, LERR_INVALID_CHAR_LITERAL, + LERR_INVALID_PREPROCESSOR_DIRECTIVE, } lerr_t; const char *lerr_as_cstr(lerr_t); -- cgit v1.2.3-13-gbd6f