more alignment improvements
* add alignment capability for fn protos * add @alignCast * fix some ast rendering code * fix some ir rendering code * add error for pointer cast increasing alignment * update allocators in std to correctly align See #37
This commit is contained in:
@@ -953,7 +953,7 @@ static void render_node_extra(AstRender *ar, AstNode *node, bool grouped) {
|
||||
render_node_ungrouped(ar, node->data.slice_expr.array_ref_expr);
|
||||
fprintf(ar->f, "[");
|
||||
render_node_grouped(ar, node->data.slice_expr.start);
|
||||
fprintf(ar->f, "...");
|
||||
fprintf(ar->f, "..");
|
||||
if (node->data.slice_expr.end)
|
||||
render_node_grouped(ar, node->data.slice_expr.end);
|
||||
fprintf(ar->f, "]");
|
||||
|
||||
Reference in New Issue
Block a user