CppLexer: Actually give raw strings type RawString

This fixes a regrettable mistake in 9ee1edae2a.
No behavior change.
This commit is contained in:
Nico Weber 2020-08-03 09:36:04 -04:00 committed by Andreas Kling
commit 18e8fd333c
Notes: sideshowbarker 2024-07-19 04:21:37 +09:00

View file

@ -655,7 +655,7 @@ Vector<CppToken> CppLexer::lex()
} }
} }
} }
commit_token(CppToken::Type::DoubleQuotedString); commit_token(CppToken::Type::RawString);
continue; continue;
} }
if (size_t prefix = match_string_prefix('\''); prefix > 0) { if (size_t prefix = match_string_prefix('\''); prefix > 0) {