harec

[hare] Hare compiler, written in C11 for POSIX OSs
Log | Files | Refs | README | LICENSE

commit c9f4fc95854593dca67fce70415950922d9413df
parent 9f619bd972e0c0f24b9a6285ba65bb1b4a739694
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sat,  4 Feb 2023 01:32:46 -0500

gen: remove duplicate assertion + outdated TODO

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Msrc/gen.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/gen.c b/src/gen.c @@ -3526,7 +3526,6 @@ gen_data_item(struct gen_context *ctx, struct expression *expr, break; case STORAGE_UINTPTR: case STORAGE_POINTER: - assert(expr->type == EXPR_CONSTANT); // TODO? item->type = QD_VALUE; switch (ctx->arch.ptr->stype) { case Q_LONG: