aboutsummaryrefslogtreecommitdiff
path: root/src/printer.cpp
diff options
context:
space:
mode:
authorgingerBill <ginger.bill.22@gmail.com>2016-08-02 20:53:18 +0100
committergingerBill <ginger.bill.22@gmail.com>2016-08-02 20:53:18 +0100
commit41e7cadb8df4b9833bc3dd827cac32fd3b01ddbd (patch)
tree81272c3361a9f19e97caa8a760553b3e700b31bc /src/printer.cpp
parentbf3283c889ce387fd252b48e12e090fab7446048 (diff)
ret, unreachable, param, deref
Diffstat (limited to 'src/printer.cpp')
-rw-r--r--src/printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer.cpp b/src/printer.cpp
index 143635cf7..cba9f0ddc 100644
--- a/src/printer.cpp
+++ b/src/printer.cpp
@@ -124,7 +124,7 @@ void print_ast(AstNode *node, isize indent) {
gb_printf("(for)\n");
print_ast(node->ForStmt.init, indent+1);
print_ast(node->ForStmt.cond, indent+1);
- print_ast(node->ForStmt.end, indent+1);
+ print_ast(node->ForStmt.post, indent+1);
print_ast(node->ForStmt.body, indent+1);
break;
case AstNode_DeferStmt: