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/cfamily.cpp | |
parent | 87e7538503756d036fec4c2b18a9c19d126626a4 (diff) | |
download | chill-79b47d47c0c8ecdce651024b41b9109f05593010.tar.gz chill-79b47d47c0c8ecdce651024b41b9109f05593010.tar.bz2 chill-79b47d47c0c8ecdce651024b41b9109f05593010.zip |
fixes
Diffstat (limited to 'src/printer/cfamily.cpp')
-rw-r--r-- | src/printer/cfamily.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer/cfamily.cpp b/src/printer/cfamily.cpp index 8aa6e62..5c56bd7 100644 --- a/src/printer/cfamily.cpp +++ b/src/printer/cfamily.cpp @@ -373,7 +373,7 @@ int CFamily::getPrecS(chillAST_UnaryOperator *n) { void CFamily::printS(std::string ident, chillAST_UnaryOperator *n, std::ostream &o) { int prec = getPrec(n); if (n->prefix) o << n->op; - printPrec(ident, n->subexpr, o, prec); + printPrec(ident, n->getSubExpr(), o, prec); if (!n->prefix) o << n->op; } |