From a679e8028eba8a6d9b3ed3d45ba0f397b1083f0c Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Thu, 29 Sep 2016 22:59:50 -0600 Subject: fixed funcdecl --- src/printer/dump.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/printer') diff --git a/src/printer/dump.cpp b/src/printer/dump.cpp index a88f472..c7abc63 100644 --- a/src/printer/dump.cpp +++ b/src/printer/dump.cpp @@ -125,10 +125,10 @@ void Dump::printS(std::string ident, chillAST_FloatingLiteral *n, std::ostream & } void Dump::printS(std::string ident, chillAST_ForStmt *n, std::ostream &o) { - print(ident, n->init, o); - print(ident, n->cond, o); - print(ident, n->incr, o); - print(ident, n->body, o); + print(ident, n->getInit(), o); + print(ident, n->getCond(), o); + print(ident, n->getInc(), o); + print(ident, n->getBody(), o); } void Dump::printS(std::string ident, chillAST_Free *n, std::ostream &o) {} -- cgit v1.2.3-70-g09d2