aboutsummaryrefslogtreecommitdiff
path: root/qbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'qbe.c')
-rw-r--r--qbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbe.c b/qbe.c
index 868fb32..a1afbd5 100644
--- a/qbe.c
+++ b/qbe.c
@@ -1263,7 +1263,7 @@ dataitem(struct expr *expr, uint64_t size)
printf(", z %" PRIu64, size - i);
break;
default:
- fatal("unimplemented initdata");
+ error(&tok.loc, "initializer is not a constant expression");
}
}