| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 3d907184bce0edf52846d40c7535a166f83d6a08..a0d318329a1bc511c4f56a7dda11d338ae15c6b0 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -977,6 +977,7 @@ class Parser : public ParserBase<ParserTraits> {
|
| Parser* parser;
|
| Scope* declaration_scope;
|
| Scope* scope;
|
| + Scope* hoist_scope;
|
| VariableMode mode;
|
| bool is_const;
|
| bool needs_init;
|
| @@ -1137,7 +1138,7 @@ class Parser : public ParserBase<ParserTraits> {
|
| VariableProxy* NewUnresolved(const AstRawString* name, VariableMode mode);
|
| Variable* Declare(Declaration* declaration,
|
| DeclarationDescriptor::Kind declaration_kind, bool resolve,
|
| - bool* ok);
|
| + bool* ok, Scope* declaration_scope = nullptr);
|
|
|
| bool TargetStackContainsLabel(const AstRawString* label);
|
| BreakableStatement* LookupBreakTarget(const AstRawString* label, bool* ok);
|
|
|