diff options
Diffstat (limited to 'src/printer.cpp')
| -rw-r--r-- | src/printer.cpp | 2 |
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: |