mirror of
https://github.com/ziglang/zig.git
synced 2026-11-24 21:43:40 -05:00
Merge remote-tracking branch 'origin/parser'
This commit is contained in:
commit
f2140efc52
6 files changed
+97
-106
No files matched your search
+3
-1
@@ -459,8 +459,10 @@ static void render_node_extra(AstRender *ar, AstNode *node, bool grouped) {
|
||||
}
|
||||
print_indent(ar);
|
||||
render_node_grouped(ar, statement);
|
||||
if (i != node->data.block.statements.length - 1)
|
||||
if (!(i == node->data.block.statements.length - 1 &&
|
||||
node->data.block.last_statement_is_result_expression)) {
|
||||
fprintf(ar->f, ";");
|
||||
}
|
||||
fprintf(ar->f, "\n");
|
||||
}
|
||||
ar->indent -= ar->indent_size;
|
||||
|
||||
Reference in new issue
Block a user