mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 09:52:23 -07:00
Compound Literals - struct, array, slice, vector
This commit is contained in:
+1
-4
@@ -146,10 +146,7 @@ void print_ast(AstNode *node, isize indent) {
|
||||
break;
|
||||
case AstNode_ProcDecl:
|
||||
print_indent(indent);
|
||||
if (node->ProcDecl.kind == Declaration_Mutable)
|
||||
gb_printf("(decl:proc,mutable)\n");
|
||||
else if (node->ProcDecl.kind == Declaration_Immutable)
|
||||
gb_printf("(decl:proc,immutable)\n");
|
||||
gb_printf("(decl:proc)\n");
|
||||
print_ast(node->ProcDecl.type, indent+1);
|
||||
print_ast(node->ProcDecl.body, indent+1);
|
||||
print_ast(node->ProcDecl.tag_list, indent+1);
|
||||
|
||||
Reference in New Issue
Block a user