aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ASTPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/ASTPrinter.cpp')
-rw-r--r--libsolidity/ASTPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/ASTPrinter.cpp b/libsolidity/ASTPrinter.cpp
index cebf6b8b..534f7c78 100644
--- a/libsolidity/ASTPrinter.cpp
+++ b/libsolidity/ASTPrinter.cpp
@@ -21,6 +21,7 @@
*/
#include <libsolidity/ASTPrinter.h>
+#include <boost/algorithm/string/join.hpp>
#include <libsolidity/AST.h>
using namespace std;
@@ -151,7 +152,7 @@ bool ASTPrinter::visit(ElementaryTypeName const& _node)
bool ASTPrinter::visit(UserDefinedTypeName const& _node)
{
- writeLine("UserDefinedTypeName \"" + _node.name() + "\"");
+ writeLine("UserDefinedTypeName \"" + boost::algorithm::join(_node.namePath(), ".") + "\"");
printSourcePart(_node);
return goDeeper();
}