| Index: src/preparser.h
|
| diff --git a/src/preparser.h b/src/preparser.h
|
| index 7c9791fc9ca25223983afbfee8f4f666c709af24..9b98f147a564fd69bed1521fada945ba994c1df9 100644
|
| --- a/src/preparser.h
|
| +++ b/src/preparser.h
|
| @@ -1434,7 +1434,7 @@ class PreParser : public ParserBase<PreParserTraits> {
|
| // captured the syntax error), and false if a stack-overflow happened
|
| // during parsing.
|
| PreParseResult PreParseProgram() {
|
| - PreParserScope scope(scope_, GLOBAL_SCOPE);
|
| + PreParserScope scope(scope_, SCRIPT_SCOPE);
|
| PreParserFactory factory(NULL);
|
| FunctionState top_scope(&function_state_, &scope_, &scope, &factory);
|
| bool ok = true;
|
|
|