1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

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
parent 4d783338c1
commit 9ee1edae2a
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) \