diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-18 08:00:31 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-18 08:00:31 +0000 |
| commit | e7320359c12b97ccb85ebfb06b2540124630df7b (patch) | |
| tree | fe8740cf489cea87cccea26adb62997d10b7fe9d /include | |
| parent | 2141916363d7f33a7a22adf6846f77276d7c4da3 (diff) | |
feat(lexer): support C++ escape sequences in literals
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/cps/Lexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h index 449ff8d..1c4723e 100644 --- a/include/cps/Lexer.h +++ b/include/cps/Lexer.h @@ -128,6 +128,7 @@ class Lexer { char Character; }; std::deque<TokenData> Lookahead; + std::string readEscape(bool IsChar); int readToken(); TokenData captureToken(int Kind) const; void restoreToken(const TokenData &Token); |
