~mcf/cproc

41e862a6a2b193b6bab86bc29e2db3d42baa828a — Michael Forney 20 days ago 78ba6f3
qbe: Make non-constant initializer expression a proper error
1 files changed, 1 insertions(+), 1 deletions(-)

M qbe.c
M qbe.c => qbe.c +1 -1
@@ 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");
	}
}