mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:28:12 +00:00
LibJS: Make a slash after a curly close mean not-division
There's no grammar rule that allows this.
This commit is contained in:
parent
46ef333e9c
commit
0292ad33eb
2 changed files with 6 additions and 1 deletions
|
@ -360,7 +360,6 @@ bool Lexer::slash_means_division() const
|
|||
return type == TokenType::BigIntLiteral
|
||||
|| type == TokenType::BoolLiteral
|
||||
|| type == TokenType::BracketClose
|
||||
|| type == TokenType::CurlyClose
|
||||
|| type == TokenType::Identifier
|
||||
|| type == TokenType::NullLiteral
|
||||
|| type == TokenType::NumericLiteral
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue