From 9afeed6d617da4841a031423286a0b3f3804f774 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 2 Nov 2023 20:52:05 +0000 Subject: Made separate tokens for JUMP_ABS and JUMP_STACK Makes more sense, don't need to fiddle around with strings as much in the parser due to this! --- asm/lexer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'asm/lexer.h') diff --git a/asm/lexer.h b/asm/lexer.h index 2d747bc..687e1a6 100644 --- a/asm/lexer.h +++ b/asm/lexer.h @@ -48,7 +48,8 @@ typedef enum TokenType TOKEN_SUB, TOKEN_MULT, TOKEN_PRINT, - TOKEN_JUMP, + TOKEN_JUMP_ABS, + TOKEN_JUMP_STACK, TOKEN_JUMP_IF, TOKEN_SYMBOL, } token_type_t; -- cgit v1.2.3-13-gbd6f