mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibJS: Lex single quote strings, escaped chars and unterminated strings
This commit is contained in:
parent
d439013903
commit
c0e6234219
Notes:
sideshowbarker
2024-07-19 08:19:00 +09:00
Author: https://github.com/sunverwerth
Commit: c0e6234219
Pull-request: https://github.com/SerenityOS/serenity/pull/1451
5 changed files with 33 additions and 4 deletions
|
@ -186,6 +186,8 @@ const char* Token::name(TokenType type)
|
|||
return "UnsignedShiftRight";
|
||||
case TokenType::UnsignedShiftRightEquals:
|
||||
return "UnsignedShiftRightEquals";
|
||||
case TokenType::UnterminatedStringLiteral:
|
||||
return "UnterminatedStringLiteral";
|
||||
case TokenType::Var:
|
||||
return "Var";
|
||||
case TokenType::Void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue