From 79b47d47c0c8ecdce651024b41b9109f05593010 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Fri, 30 Sep 2016 14:14:51 -0600 Subject: fixes --- src/printer/dump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/printer/dump.cpp') diff --git a/src/printer/dump.cpp b/src/printer/dump.cpp index 066a2fe..059e56f 100644 --- a/src/printer/dump.cpp +++ b/src/printer/dump.cpp @@ -217,7 +217,7 @@ void Dump::printS(std::string ident, chillAST_TernaryOperator *n, std::ostream & void Dump::printS(std::string ident, chillAST_UnaryOperator *n, std::ostream &o) { if (n->prefix) o << "prefix "; else o << "postfix "; - print(ident, n->subexpr, o); + print(ident, n->getSubExpr(), o); } void Dump::printS(std::string ident, chillAST_VarDecl *n, std::ostream &o) { -- cgit v1.2.3-70-g09d2