mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
CppLexer: Support raw string literals
Handles prefixes and delimiters (`R"(text)", `u8R"f(text)f"`, ...).
This commit is contained in:
committed by
Andreas Kling
parent
4d783338c1
commit
9ee1edae2a
@@ -43,6 +43,7 @@ static TextStyle style_for_token_type(Gfx::Palette palette, CppToken::Type type)
|
||||
return { palette.syntax_identifier() };
|
||||
case CppToken::Type::DoubleQuotedString:
|
||||
case CppToken::Type::SingleQuotedString:
|
||||
case CppToken::Type::RawString:
|
||||
return { palette.syntax_string() };
|
||||
case CppToken::Type::Integer:
|
||||
case CppToken::Type::Float:
|
||||
|
||||
Reference in New Issue
Block a user