Added TOKEN_PP_USE to lexer with implementation

This commit is contained in:
2023-11-29 15:38:41 +00:00
parent cad92bf3ba
commit 1cba5ccd8d
2 changed files with 12 additions and 5 deletions

View File

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