diff options
author | chriseth <c@ethdev.com> | 2015-12-15 01:01:40 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-12-18 19:46:54 +0800 |
commit | d3c459b5a99715c96733825f78d63cc57265ee3c (patch) | |
tree | f1add9102a402a3942caec4e0f296a69493759e7 /libsolidity/interface/CompilerStack.cpp | |
parent | fe23cc82263c75f34e05795e12fedb08bc14e6a4 (diff) | |
download | dexon-solidity-d3c459b5a99715c96733825f78d63cc57265ee3c.tar.gz dexon-solidity-d3c459b5a99715c96733825f78d63cc57265ee3c.tar.zst dexon-solidity-d3c459b5a99715c96733825f78d63cc57265ee3c.zip |
Parse complex import directives.
Diffstat (limited to 'libsolidity/interface/CompilerStack.cpp')
-rw-r--r-- | libsolidity/interface/CompilerStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp index 7f097523..3238423a 100644 --- a/libsolidity/interface/CompilerStack.cpp +++ b/libsolidity/interface/CompilerStack.cpp @@ -376,7 +376,7 @@ void CompilerStack::resolveImports() for (ASTPointer<ASTNode> const& node: _source->ast->nodes()) if (ImportDirective const* import = dynamic_cast<ImportDirective*>(node.get())) { - string path = absolutePath(import->identifier(), _sourceName); + string path = absolutePath(import->path(), _sourceName); import->annotation().absolutePath = path; if (!m_sources.count(path)) BOOST_THROW_EXCEPTION( |