diff options
| author | _ov4 <hausemasterstream@gmail.com> | 2026-03-27 01:50:32 +0000 |
|---|---|---|
| committer | _ov4 <hausemasterstream@gmail.com> | 2026-03-27 01:50:32 +0000 |
| commit | f2b051ae3e28135cc02589f3f698c43743cca48e (patch) | |
| tree | 91582f514eda6665c8283875dd0b3ee491cc62ea /include/cps/Lexer.h | |
| parent | 15f30a397a222e9256d41e8b8a7b6fff454b02da (diff) | |
feat: generalize typed array support
Diffstat (limited to 'include/cps/Lexer.h')
| -rw-r--r-- | include/cps/Lexer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h index df84d0b..e8d2609 100644 --- a/include/cps/Lexer.h +++ b/include/cps/Lexer.h @@ -49,6 +49,8 @@ enum Token { tok_ucase = -35, tok_string_literal = -36, tok_left = -37, + tok_char_kw = -38, + tok_char_literal = -39, tok_identifier = -100, tok_number_int = -101, @@ -83,6 +85,7 @@ public: std::string StringVal; int64_t NumVal; double RealVal; + char CharVal = '\0'; int gettok(); int getLine() const { return CurrentLine; } |
