aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cps/Lexer.h')
-rw-r--r--include/cps/Lexer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h
index 97ccd83..c36599f 100644
--- a/include/cps/Lexer.h
+++ b/include/cps/Lexer.h
@@ -41,6 +41,14 @@ enum Token {
tok_or = -26,
tok_not = -27,
+ tok_string_kw = -30,
+ tok_length = -31,
+ tok_mid = -32,
+ tok_right = -33,
+ tok_lcase = -34,
+ tok_ucase = -35,
+ tok_string_literal = -36,
+
tok_identifier = -100,
tok_number_int = -101,
tok_number_real = -102,
@@ -71,6 +79,7 @@ class Lexer {
int CurrentLine = 1;
public:
std::string IdentifierStr;
+ std::string StringVal;
int64_t NumVal;
double RealVal;