diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-29 15:38:41 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-29 15:38:41 +0000 |
commit | 1cba5ccd8d3c95198bf5858af2540d3e1aedfb2d (patch) | |
tree | 71c7659a5520312e4cebdf1b84ed2a3147fdb298 /asm/lexer.h | |
parent | cad92bf3bab86359914f5248cef6a2b7e8964d83 (diff) | |
download | ovm-1cba5ccd8d3c95198bf5858af2540d3e1aedfb2d.tar.gz ovm-1cba5ccd8d3c95198bf5858af2540d3e1aedfb2d.tar.bz2 ovm-1cba5ccd8d3c95198bf5858af2540d3e1aedfb2d.zip |
Added TOKEN_PP_USE to lexer with implementation
Diffstat (limited to 'asm/lexer.h')
-rw-r--r-- | asm/lexer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/asm/lexer.h b/asm/lexer.h index 432acaf..3434b72 100644 --- a/asm/lexer.h +++ b/asm/lexer.h @@ -17,9 +17,10 @@ typedef enum TokenType { - TOKEN_PP_CONST, - TOKEN_PP_END, - TOKEN_PP_REFERENCE, + TOKEN_PP_CONST, // %const(<symbol>)... + TOKEN_PP_USE, // %use <string> + TOKEN_PP_END, // %end + TOKEN_PP_REFERENCE, // $<symbol> TOKEN_GLOBAL, TOKEN_STAR, TOKEN_LITERAL_NUMBER, |