Parse complex import directives.

This commit is contained in:
chriseth
2015-12-18 12:46:54 +01:00
parent fe23cc8226
commit d3c459b5a9
7 changed files with 114 additions and 28 deletions
+1 -1
View File
@@ -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;
}