summaryrefslogtreecommitdiff
path: root/lib/chillcg/include
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-25 14:30:34 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-25 14:30:34 -0600
commite7de858ce27ded585d6e2ec4a5cbc3467c6a7593 (patch)
tree6f20c14ae118bc83d3c69f12875ba7e369bb2716 /lib/chillcg/include
parent2a5618583e1fdc8cde0308d3e5b1873bc94c5fb1 (diff)
downloadchill-e7de858ce27ded585d6e2ec4a5cbc3467c6a7593.tar.gz
chill-e7de858ce27ded585d6e2ec4a5cbc3467c6a7593.tar.bz2
chill-e7de858ce27ded585d6e2ec4a5cbc3467c6a7593.zip
CFamily AST printer
Diffstat (limited to 'lib/chillcg/include')
-rwxr-xr-xlib/chillcg/include/code_gen/CG_chillRepr.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chillcg/include/code_gen/CG_chillRepr.h b/lib/chillcg/include/code_gen/CG_chillRepr.h
index 2d6d688..34e9876 100755
--- a/lib/chillcg/include/code_gen/CG_chillRepr.h
+++ b/lib/chillcg/include/code_gen/CG_chillRepr.h
@@ -28,10 +28,8 @@ namespace omega {
//
std::vector<chillAST_Node *> chillnodes; // TODO make private
void printChillNodes() const {
- for (int i = 0; i < chillnodes.size(); i++) {
+ for (int i = 0; i < chillnodes.size(); i++)
chillnodes[i]->print();
- printf("\n");
- }
fflush(stdout);
};