diff options
author | chriseth <c@ethdev.com> | 2015-10-06 18:35:10 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-10-06 20:20:06 +0800 |
commit | bf5b387954f93371e2c8fc77c01cbc709f570954 (patch) | |
tree | 4796d5154b68cdb7ee91450348fcab8eedcc254f /libsolidity/ASTPrinter.cpp | |
parent | bc609c55c0fa622a68fa9718c55046416c201b1d (diff) | |
download | dexon-solidity-bf5b387954f93371e2c8fc77c01cbc709f570954.tar dexon-solidity-bf5b387954f93371e2c8fc77c01cbc709f570954.tar.gz dexon-solidity-bf5b387954f93371e2c8fc77c01cbc709f570954.tar.bz2 dexon-solidity-bf5b387954f93371e2c8fc77c01cbc709f570954.tar.lz dexon-solidity-bf5b387954f93371e2c8fc77c01cbc709f570954.tar.xz dexon-solidity-bf5b387954f93371e2c8fc77c01cbc709f570954.tar.zst dexon-solidity-bf5b387954f93371e2c8fc77c01cbc709f570954.zip |
Provide access to scoped structs.
Diffstat (limited to 'libsolidity/ASTPrinter.cpp')
-rw-r--r-- | libsolidity/ASTPrinter.cpp | 3 |
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(); } |