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

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
parent e27726dc92
commit 18e8fd333c

View file

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