aboutsummaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/debug.c b/src/debug.c
index 8ef4293..538fdfe 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -222,6 +222,10 @@ static void _type_str(FILE *f, struct type *type)
fprintf(f, "u64");
break;
+ case TYPE_BOOL:
+ fprintf(f, "bool");
+ break;
+
case TYPE_VOID:
fprintf(f, "void");
break;
@@ -230,12 +234,6 @@ static void _type_str(FILE *f, struct type *type)
fprintf(f, "nil");
break;
- case TYPE_ARR:
- /** @todo length? */
- fprintf(f, "[]");
- _type_list_str(f, tarr_base(type));
- break;
-
case TYPE_PTR:
fprintf(f, "*");
_type_list_str(f, tptr_base(type));