mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 11:22:22 -07:00
alias and unified parameters lists for procedures and structures.
This commit is contained in:
+2
-2
@@ -166,10 +166,10 @@ void print_ast(AstNode *node, isize indent) {
|
||||
print_indent(indent);
|
||||
gb_printf("(type:proc)(%td -> %td)\n", node->procedure_type.param_count, node->procedure_type.result_count);
|
||||
print_ast(node->procedure_type.param_list, indent+1);
|
||||
if (node->procedure_type.results_list) {
|
||||
if (node->procedure_type.result_list) {
|
||||
print_indent(indent+1);
|
||||
gb_printf("->\n");
|
||||
print_ast(node->procedure_type.results_list, indent+1);
|
||||
print_ast(node->procedure_type.result_list, indent+1);
|
||||
}
|
||||
break;
|
||||
case AstNode_Field:
|
||||
|
||||
Reference in New Issue
Block a user