diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-29 22:59:50 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-29 22:59:50 -0600 |
commit | a679e8028eba8a6d9b3ed3d45ba0f397b1083f0c (patch) | |
tree | 7030376251beb2ffc1c39b1cd729ea86cb9647c2 /src/printer/dump.cpp | |
parent | 7b0774752e8f163f4861bb338172fcdcd60cee36 (diff) | |
download | chill-a679e8028eba8a6d9b3ed3d45ba0f397b1083f0c.tar.gz chill-a679e8028eba8a6d9b3ed3d45ba0f397b1083f0c.tar.bz2 chill-a679e8028eba8a6d9b3ed3d45ba0f397b1083f0c.zip |
fixed funcdecl
Diffstat (limited to 'src/printer/dump.cpp')
-rw-r--r-- | src/printer/dump.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) {} |