Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index b429fbef3f329949682e76bbafc2c358d7142ad4..13b8a276a6485d2282dc382858693470c7cfa5e8 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -761,9 +761,10 @@ class Parser : public ParserBase<ParserTraits> { |
bool* ok); |
Statement* ParseStatementAsUnlabelled(ZoneList<const AstRawString*>* labels, |
bool* ok); |
- Statement* ParseFunctionDeclaration(ZoneList<const AstRawString*>* names, |
+ Statement* ParseFunctionDeclaration(bool* ok); |
+ Statement* ParseHoistableDeclaration(ZoneList<const AstRawString*>* names, |
bool* ok); |
- Statement* ParseFunctionDeclaration(int pos, bool is_generator, |
+ Statement* ParseHoistableDeclaration(int pos, bool is_generator, |
ZoneList<const AstRawString*>* names, |
bool* ok); |
Statement* ParseClassDeclaration(ZoneList<const AstRawString*>* names, |