summaryrefslogtreecommitdiff
path: root/src/printer/dump.cpp
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-29 22:59:50 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-29 22:59:50 -0600
commita679e8028eba8a6d9b3ed3d45ba0f397b1083f0c (patch)
tree7030376251beb2ffc1c39b1cd729ea86cb9647c2 /src/printer/dump.cpp
parent7b0774752e8f163f4861bb338172fcdcd60cee36 (diff)
downloadchill-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.cpp8
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) {}