aboutsummaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c
index e42aedc..c9a1f86 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -206,6 +206,11 @@ static void _type_str(FILE *fp, struct ast_node *type)
fprintf(fp, ")");
}
}
+
+ case AST_TYPE_TYPEOF: {
+ _type_str(fp, type->_type.typeo.actual);
+ fprintf(fp, " (typeof)");
+ }
}
_type_str(fp, type->_type.next);