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/cfamily.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/printer/cfamily.cpp') 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; } -- cgit v1.2.3-70-g09d2