| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index e31cb0934ee94de2b11da7a44b2a2f722585b034..a829fdaaa2568c5eacda8ef856bb1608dc4e90f9 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -934,6 +934,7 @@ FunctionLiteral* Parser::DoParseProgram(ParseInfo* info) {
|
| bool ok = true;
|
| int beg_pos = scanner()->location().beg_pos;
|
| parsing_module_ = info->is_module();
|
| + scanner_.set_module(parsing_module_);
|
| if (parsing_module_) {
|
| ParseModuleItemList(body, &ok);
|
| } else {
|
|
|