aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/dump.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-04 22:36:59 +0200
committerlemon <lsof@mailbox.org>2022-08-04 22:36:59 +0200
commit0fec7de747d93586eda66ce190f5f3d6715421a4 (patch)
tree2c6db93b3e6d3299d530cea20dd6468cf47b43c2 /bootstrap/dump.c
parent4b2451500b8f085321a041ebc13761a5102f0e6d (diff)
struct,unions, compound literals; mostly
Diffstat (limited to 'bootstrap/dump.c')
-rw-r--r--bootstrap/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/dump.c b/bootstrap/dump.c
index d01f4a7..0ea5c07 100644
--- a/bootstrap/dump.c
+++ b/bootstrap/dump.c
@@ -41,7 +41,7 @@ pritype(const struct type *ty) {
if (ty->fn.variadic)
pri("...");
pri(") %t", ty->fn.retty);
- case TYenum:
+ default:assert(0);
}
}