aboutsummaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index 566da42..e42aedc 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -193,7 +193,7 @@ static void _type_str(FILE *fp, struct ast_node *type)
}
case AST_TYPE_STRUCT: {
- struct ast_node *struc_id = type->_type.struc.struc;
+ struct ast_node *struc_id = type->_type.struc.id;
fprintf(fp, "%s", struc_id->_id.id);
struct ast_node *impls = type->_type.struc.impls;