mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibJS: Allow reserved words as keys in object expressions.
This commit is contained in:
parent
0345fdcb77
commit
bf5b251684
Notes:
sideshowbarker
2024-07-19 07:29:33 +09:00
Author: https://github.com/sunverwerth
Commit: bf5b251684
Pull-request: https://github.com/SerenityOS/serenity/pull/1849
Issue: https://github.com/SerenityOS/serenity/issues/1768
5 changed files with 61 additions and 3 deletions
|
@ -84,6 +84,7 @@ private:
|
|||
bool match_secondary_expression() const;
|
||||
bool match_statement() const;
|
||||
bool match_variable_declaration() const;
|
||||
bool match_identifier_name() const;
|
||||
bool match(TokenType type) const;
|
||||
bool done() const;
|
||||
void expected(const char* what);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue