From 6a270eda1e444a68d5db9102b11af9153fa58a1c Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 1 Nov 2023 15:09:56 +0000 Subject: Parser now uses updated lexer Much simpler, uses a switch case which is a much faster method of doing the parsing. Though roughly equivalent in terms of LOC, I feel that this is more extensible --- asm/parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'asm/parser.h') diff --git a/asm/parser.h b/asm/parser.h index 1921c7e..ee12b40 100644 --- a/asm/parser.h +++ b/asm/parser.h @@ -22,6 +22,7 @@ typedef enum PERR_OK = 0, PERR_INTEGER_OVERFLOW, PERR_NOT_A_NUMBER, + PERR_EXPECTED_UTYPE, PERR_EXPECTED_TYPE, PERR_EXPECTED_SYMBOL, PERR_EXPECTED_OPERAND, -- cgit v1.2.3-13-gbd6f