| Index: src/parsing/preparser.h
|
| diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
|
| index daadef33a7deadbc4b56f9b95124e98b843fc2a1..ecc18ad6259b270c314120f5898780c83be09142 100644
|
| --- a/src/parsing/preparser.h
|
| +++ b/src/parsing/preparser.h
|
| @@ -438,6 +438,7 @@ class PreParserStatement {
|
| PreParserStatement* operator->() { return this; }
|
|
|
| PreParserStatementList statements() { return PreParserStatementList(); }
|
| + void set_scope(Scope* scope) {}
|
|
|
| private:
|
| enum Type {
|
| @@ -771,7 +772,6 @@ class PreParser : public ParserBase<PreParser> {
|
| Expression ParseAsyncFunctionExpression(bool* ok);
|
| Statement ParseClassDeclaration(ZoneList<const AstRawString*>* names,
|
| bool default_export, bool* ok);
|
| - Statement ParseBlock(ZoneList<const AstRawString*>* labels, bool* ok);
|
| Statement ParseVariableStatement(VariableDeclarationContext var_context,
|
| ZoneList<const AstRawString*>* names,
|
| bool* ok);
|
|
|