Provide access to scoped structs.

This commit is contained in:
chriseth
2015-10-06 14:20:06 +02:00
parent bc609c55c0
commit bf5b387954
8 changed files with 72 additions and 21 deletions
+2 -1
View File
@@ -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();
}