harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a93efed598c6baf3a6b5c00b3efac19d1f2ec710
parent 375157c803be3846979a53dc6c3d148378023489
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  8 Mar 2021 11:48:26 -0500

gen: fix store in type test

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

diff --git a/src/gen.c b/src/gen.c @@ -1086,7 +1086,8 @@ gen_expr_type_test(struct gen_context *ctx, pushc(ctx->current, "%u => %s", want->id, type); free(type); constl(&id, want->id); - pushi(ctx->current, out, Q_CEQW, &tag, &id, NULL); + pushi(ctx->current, &tag, Q_CEQW, &tag, &id, NULL); + gen_store(ctx, out, &tag); } static void