aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTJsonConverter.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-12-15 01:01:40 +0800
committerchriseth <c@ethdev.com>2015-12-18 19:46:54 +0800
commitd3c459b5a99715c96733825f78d63cc57265ee3c (patch)
treef1add9102a402a3942caec4e0f296a69493759e7 /libsolidity/ast/ASTJsonConverter.cpp
parentfe23cc82263c75f34e05795e12fedb08bc14e6a4 (diff)
downloaddexon-solidity-d3c459b5a99715c96733825f78d63cc57265ee3c.tar.gz
dexon-solidity-d3c459b5a99715c96733825f78d63cc57265ee3c.tar.zst
dexon-solidity-d3c459b5a99715c96733825f78d63cc57265ee3c.zip
Parse complex import directives.
Diffstat (limited to 'libsolidity/ast/ASTJsonConverter.cpp')
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index f208c3c9..377fa7e6 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -91,7 +91,7 @@ Json::Value const& ASTJsonConverter::json()
bool ASTJsonConverter::visit(ImportDirective const& _node)
{
- addJsonNode("Import", { make_pair("file", _node.identifier())});
+ addJsonNode("Import", { make_pair("file", _node.path())});
return true;
}