CppLexer: Support raw string literals

Handles prefixes and delimiters (`R"(text)", `u8R"f(text)f"`, ...).
This commit is contained in:
Nico Weber 2020-07-26 20:49:17 -04:00 committed by Andreas Kling
commit 9ee1edae2a
Notes: sideshowbarker 2024-07-19 04:34:28 +09:00
3 changed files with 24 additions and 0 deletions

View file

@ -89,6 +89,7 @@ namespace GUI {
__TOKEN(ArrowAsterisk) \
__TOKEN(DoubleQuotedString) \
__TOKEN(SingleQuotedString) \
__TOKEN(RawString) \
__TOKEN(EscapeSequence) \
__TOKEN(Comment) \
__TOKEN(Integer) \