mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 10:45:09 +00:00
LibJS: Lex single quote strings, escaped chars and unterminated strings
This commit is contained in:
parent
d439013903
commit
c0e6234219
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