diff options
author | Stephan Unverwerth <s.unverwerth@gmx.de> | 2020-03-14 11:45:25 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-14 12:13:53 +0100 |
commit | c0e623421972606adf41616d7be82e42d820658c (patch) | |
tree | 28368c7ade04d19b1643ce6f0690a9b093d31760 /Libraries/LibJS/Token.cpp | |
parent | d439013903a1e9ecfc8c8716bd88dbceb8314a6a (diff) | |
download | serenity-c0e623421972606adf41616d7be82e42d820658c.zip |
LibJS: Lex single quote strings, escaped chars and unterminated strings
Diffstat (limited to 'Libraries/LibJS/Token.cpp')
-rw-r--r-- | Libraries/LibJS/Token.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibJS/Token.cpp b/Libraries/LibJS/Token.cpp index 2698aaffdc..ff379d37db 100644 --- a/Libraries/LibJS/Token.cpp +++ b/Libraries/LibJS/Token.cpp @@ -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: |