diff options
| author | gingerBill <bill+github@gingerbill.org> | 2016-08-12 17:21:34 +0100 |
|---|---|---|
| committer | gingerBill <bill+github@gingerbill.org> | 2016-08-12 17:21:34 +0100 |
| commit | c10b46af9feb76a9839efa292c5288ec4684055e (patch) | |
| tree | 47ed229ba31638767264a781121a343323ddfb00 /src/printer.cpp | |
| parent | 84f2bcd885296433a4ccf2188639b377293306e4 (diff) | |
Compound Literals - struct, array, slice, vector
Diffstat (limited to 'src/printer.cpp')
| -rw-r--r-- | src/printer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/printer.cpp b/src/printer.cpp index cba9f0ddc..8dd61e0ca 100644 --- a/src/printer.cpp +++ b/src/printer.cpp @@ -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); |