Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index ddb542de35cb5492d9afdf350bd504b772475bbb..629e9b3c10313b411c9d19253804180ce998cfd9 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -746,12 +746,12 @@ class Parser : public ParserBase<ParserTraits> { |
// which is set to false if parsing failed; it is unchanged otherwise. |
// By making the 'exception handling' explicit, we are forced to check |
// for failure at the call sites. |
- void* ParseStatementList(ZoneList<Statement*>* processor, int end_token, |
+ void* ParseStatementList(ZoneList<Statement*>* body, int end_token, |
bool is_eval, Scope** ad_hoc_eval_scope, bool* ok); |
Statement* ParseStatementListItem(bool* ok); |
- Module* ParseModule(bool* ok); |
+ Statement* ParseModule(bool* ok); |
Statement* ParseModuleItem(bool* ok); |
- Module* ParseModuleSpecifier(bool* ok); |
+ Literal* ParseModuleSpecifier(bool* ok); |
Statement* ParseImportDeclaration(bool* ok); |
Statement* ParseExportDeclaration(bool* ok); |
Statement* ParseExportDefault(bool* ok); |