Evaluate absolute paths for imports in 'parsing' stage

This commit is contained in:
Marenz
2021-11-08 16:34:02 +01:00
committed by chriseth
parent cede36930d
commit fc224f74c7
7 changed files with 101 additions and 11 deletions
+2 -2
View File
@@ -392,9 +392,9 @@ private:
void findAndReportCyclicContractDependencies();
/// Loads the missing sources from @a _ast (named @a _path) using the callback
/// @a m_readFile and stores the absolute paths of all imports in the AST annotations.
/// @a m_readFile
/// @returns the newly loaded sources.
StringMap loadMissingSources(SourceUnit const& _ast, std::string const& _path);
StringMap loadMissingSources(SourceUnit const& _ast);
std::string applyRemapping(std::string const& _path, std::string const& _context);
void resolveImports();