mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
1 parent
d96dd5bc32
commit
bb80daf509
4 files changed
+22
-17
No files matched your search
+4
-1
@@ -490,7 +490,10 @@ static void render_node_extra(AstRender *ar, AstNode *node, bool grouped) {
|
||||
AstNode *statement = node->data.block.statements.at(i);
|
||||
print_indent(ar);
|
||||
render_node_grouped(ar, statement);
|
||||
fprintf(ar->f, ";");
|
||||
|
||||
if (!statement_terminates_without_semicolon(statement))
|
||||
fprintf(ar->f, ";");
|
||||
|
||||
fprintf(ar->f, "\n");
|
||||
}
|
||||
ar->indent -= ar->indent_size;
|
||||
|
||||
Reference in new issue
Block a user