diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Parser.h')
-rw-r--r-- | Userland/Libraries/LibJS/Parser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Parser.h b/Userland/Libraries/LibJS/Parser.h index 97036c8de6..eaf9df0a94 100644 --- a/Userland/Libraries/LibJS/Parser.h +++ b/Userland/Libraries/LibJS/Parser.h @@ -159,8 +159,9 @@ private: bool match_secondary_expression(const Vector<TokenType>& forbidden = {}) const; bool match_statement() const; bool match_export_or_import() const; - bool match_declaration() const; - bool match_variable_declaration() const; + bool match_declaration(); + bool try_match_let_declaration(); + bool match_variable_declaration(); bool match_identifier() const; bool match_identifier_name() const; bool match_property_key() const; |