aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-11 10:16:06 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-11 10:16:37 +0000
commitc9f684cc7d145f334fd1dd40957e05c52133cbc4 (patch)
tree1c3ac2d9cdd1e5e5aff641cbdc6ea16a2c7b79f3 /asm/lexer.h
parentbd6fb54e3116b102670c980851af56461771545d (diff)
downloadovm-c9f684cc7d145f334fd1dd40957e05c52133cbc4.tar.gz
ovm-c9f684cc7d145f334fd1dd40957e05c52133cbc4.tar.bz2
ovm-c9f684cc7d145f334fd1dd40957e05c52133cbc4.zip
Added string literals in tokeniser
Doesn't do much, invalid for most operations.
Diffstat (limited to 'asm/lexer.h')
-rw-r--r--asm/lexer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/asm/lexer.h b/asm/lexer.h
index 8d62440..432acaf 100644
--- a/asm/lexer.h
+++ b/asm/lexer.h
@@ -24,6 +24,7 @@ typedef enum TokenType
TOKEN_STAR,
TOKEN_LITERAL_NUMBER,
TOKEN_LITERAL_CHAR,
+ TOKEN_LITERAL_STRING,
TOKEN_NOOP,
TOKEN_HALT,
TOKEN_PUSH,