diff options
| author | _ov4 <hausemasterstream@gmail.com> | 2026-02-02 10:08:22 +0000 |
|---|---|---|
| committer | _ov4 <hausemasterstream@gmail.com> | 2026-02-02 10:08:22 +0000 |
| commit | 1b524f75401a6318fbaf3fee0bfcbe59348f2e51 (patch) | |
| tree | 2616ebfc5e03f74f5cf33aab632c90da96d4fb44 /include/cps/Lexer.h | |
| parent | 09e128ce98de793d22669255897e4b4816d0e53e (diff) | |
Added STRING
Diffstat (limited to 'include/cps/Lexer.h')
| -rw-r--r-- | include/cps/Lexer.h | 9 |
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; |
