| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index effa562e2bc9d25862bd37e8d57ac6ae9f87ee57..9964e20d005e27d633989830116dba4b6983ae3f 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -1134,6 +1134,11 @@ class Parser : public ParserBase<ParserTraits> {
|
| // hoisted over such a scope.
|
| void CheckConflictingVarDeclarations(Scope* scope, bool* ok);
|
|
|
| + // Catch statements introduce some odd scoping constraints. You can't put a
|
| + // for-of statement that tries to bind to the same identifier as the
|
| + // CatchParameter, for example. (see B.3.5)
|
| + bool IsDeclaredAsCatchParameter(Scope* scope, const AstRawString* name);
|
| +
|
| // Parser support
|
| VariableProxy* NewUnresolved(const AstRawString* name, VariableMode mode);
|
| Variable* Declare(Declaration* declaration,
|
|
|