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!
This commit is contained in:
2023-11-02 20:52:05 +00:00
parent bc3f129093
commit 9afeed6d61
3 changed files with 25 additions and 23 deletions

View File

@@ -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;