aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-06 08:16:15 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-06 08:16:15 +0000
commit6e524569c34b0fb41c85280af5ea3f924999bbdf (patch)
tree425b790210dadb7832edc4e6f75fc126da36422f /asm/lexer.h
parent4ae6c052764767f8281576a4ed938e1d6cf7c688 (diff)
downloadovm-6e524569c34b0fb41c85280af5ea3f924999bbdf.tar.gz
ovm-6e524569c34b0fb41c85280af5ea3f924999bbdf.tar.bz2
ovm-6e524569c34b0fb41c85280af5ea3f924999bbdf.zip
Current work on preprocessor
Diffstat (limited to 'asm/lexer.h')
-rw-r--r--asm/lexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/lexer.h b/asm/lexer.h
index 8470a18..8d62440 100644
--- a/asm/lexer.h
+++ b/asm/lexer.h
@@ -19,6 +19,7 @@ typedef enum TokenType
{
TOKEN_PP_CONST,
TOKEN_PP_END,
+ TOKEN_PP_REFERENCE,
TOKEN_GLOBAL,
TOKEN_STAR,
TOKEN_LITERAL_NUMBER,
@@ -72,6 +73,7 @@ typedef enum
{
LERR_OK = 0,
LERR_INVALID_CHAR_LITERAL,
+ LERR_INVALID_PREPROCESSOR_DIRECTIVE,
} lerr_t;
const char *lerr_as_cstr(lerr_t);