aboutsummaryrefslogtreecommitdiff
path: root/src/printer.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-08-30 00:04:14 +0100
committerGinger Bill <bill@gingerbill.org>2016-08-30 00:04:14 +0100
commit0eaf7bd830dcda6e00f80eefed36bdf7beb02d5d (patch)
tree3e65c52384458031b5ede490429c9c1938d8ba0b /src/printer.cpp
parent593563d8eabf725ac851f4c3c72cd32b5a71aa7c (diff)
Begin "Everything's a namespace"
Diffstat (limited to 'src/printer.cpp')
-rw-r--r--src/printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer.cpp b/src/printer.cpp
index f2e215fb3..df93a92db 100644
--- a/src/printer.cpp
+++ b/src/printer.cpp
@@ -180,7 +180,7 @@ void print_ast(AstNode *node, isize indent) {
case AstNode_StructType:
print_indent(indent);
gb_printf("(struct)\n");
- print_ast(node->StructType.field_list, indent+1);
+ print_ast(node->StructType.decl_list, indent+1);
break;
}