summaryrefslogtreecommitdiff
path: root/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgen.c')
-rw-r--r--cgen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgen.c b/cgen.c
index 387da9f..fc0dd50 100644
--- a/cgen.c
+++ b/cgen.c
@@ -86,6 +86,9 @@ static void cgen_zero_value(CGenerator *g, Type *t) {
cgen_zero_value(g, t->arr.of);
cgen_write(g, "}");
break;
+ case TYPE_TUPLE:
+ assert(0);
+ break;
case TYPE_BUILTIN:
if (type_builtin_is_numerical(t->builtin)) {
cgen_write(g, "0");