summaryrefslogtreecommitdiff
path: root/src/printer/dump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/printer/dump.cpp')
-rw-r--r--src/printer/dump.cpp2
1 files changed, 1 insertions, 1 deletions
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) {