diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-01 15:09:56 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-01 15:09:56 +0000 |
commit | 6a270eda1e444a68d5db9102b11af9153fa58a1c (patch) | |
tree | 6ed880ac17b12c94b3bfa3a656acf3126c80c0eb /asm/parser.h | |
parent | 93d234cd48404867b1d80a727d17a4b4a0726e1b (diff) | |
download | ovm-6a270eda1e444a68d5db9102b11af9153fa58a1c.tar.gz ovm-6a270eda1e444a68d5db9102b11af9153fa58a1c.tar.bz2 ovm-6a270eda1e444a68d5db9102b11af9153fa58a1c.zip |
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
Diffstat (limited to 'asm/parser.h')
-rw-r--r-- | asm/parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |