diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-30 14:14:51 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-30 14:14:51 -0600 |
commit | 79b47d47c0c8ecdce651024b41b9109f05593010 (patch) | |
tree | cd99cc71c960343d5707db4a8fec0794821539a3 /src/printer/dump.cpp | |
parent | 87e7538503756d036fec4c2b18a9c19d126626a4 (diff) | |
download | chill-79b47d47c0c8ecdce651024b41b9109f05593010.tar.gz chill-79b47d47c0c8ecdce651024b41b9109f05593010.tar.bz2 chill-79b47d47c0c8ecdce651024b41b9109f05593010.zip |
fixes
Diffstat (limited to 'src/printer/dump.cpp')
-rw-r--r-- | src/printer/dump.cpp | 2 |
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) { |