Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 070bb3b9182ac152053ce25b45587361f976630f..e136d9627bf57819b08550211ff2536a8c729326 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -942,7 +942,7 @@ FunctionLiteral* Parser::DoParseProgram(CompilationInfo* info, Scope** scope, |
int beg_pos = scanner()->location().beg_pos; |
if (info->is_module()) { |
DCHECK(allow_harmony_modules()); |
- ParseModule(body, &ok); |
+ ParseModuleItemList(body, &ok); |
} else { |
ParseStatementList(body, Token::EOS, info->is_eval(), eval_scope, &ok); |
} |
@@ -1242,7 +1242,7 @@ Statement* Parser::ParseModuleItem(bool* ok) { |
} |
-void* Parser::ParseModule(ZoneList<Statement*>* body, bool* ok) { |
+void* Parser::ParseModuleItemList(ZoneList<Statement*>* body, bool* ok) { |
// (Ecma 262 6th Edition, 15.2): |
// Module : |
// ModuleBody? |