Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index a10a18e749e5d068f81ce7e7ea58bb12836b51d9..4ee0e6c28adedadd80bd15791e76394d749113de 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -706,7 +706,7 @@ class Parser : public ParserBase<ParserTraits> { |
Statement* ParseStatementListItem(bool* ok); |
void* ParseModule(ZoneList<Statement*>* body, bool* ok); |
Statement* ParseModuleItem(bool* ok); |
- Literal* ParseModuleSpecifier(bool* ok); |
+ const AstRawString* ParseModuleSpecifier(bool* ok); |
Statement* ParseImportDeclaration(bool* ok); |
Statement* ParseExportDeclaration(bool* ok); |
Statement* ParseExportDefault(bool* ok); |
@@ -714,8 +714,7 @@ class Parser : public ParserBase<ParserTraits> { |
ZoneList<Scanner::Location>* export_locations, |
ZoneList<const AstRawString*>* local_names, |
Scanner::Location* reserved_loc, bool* ok); |
- void* ParseNamedImports(ZoneList<const AstRawString*>* import_names, |
- ZoneList<const AstRawString*>* local_names, bool* ok); |
+ ZoneList<ImportDeclaration*>* ParseNamedImports(int pos, bool* ok); |
Statement* ParseStatement(ZoneList<const AstRawString*>* labels, bool* ok); |
Statement* ParseSubStatement(ZoneList<const AstRawString*>* labels, bool* ok); |
Statement* ParseFunctionDeclaration(ZoneList<const AstRawString*>* names, |