cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 41e862a6a2b193b6bab86bc29e2db3d42baa828a
parent 78ba6f387cddb2a9ee4f34aaef33dd080e024ce6
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 31 Jan 2020 12:51:20 -0800

qbe: Make non-constant initializer expression a proper error

Diffstat:
Mqbe.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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"); } }