diff options
| author | Michael Forney <mforney@mforney.org> | 2020-01-31 12:51:20 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-01-31 12:51:20 -0800 |
| commit | 41e862a6a2b193b6bab86bc29e2db3d42baa828a (patch) | |
| tree | 9fb0eedcf10f027b5da60ad70bfd42d8993aa06c | |
| parent | 78ba6f387cddb2a9ee4f34aaef33dd080e024ce6 (diff) | |
| download | cproc-41e862a6a2b193b6bab86bc29e2db3d42baa828a.tar.xz | |
qbe: Make non-constant initializer expression a proper error
| -rw-r--r-- | qbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } } |
