lang: codegen: cond: fix gen_block not repeating the block node

This commit is contained in:
2025-09-08 16:24:03 +01:00
parent 84e6d4f2ed
commit 42dd3ffffc

View File

@@ -64,7 +64,7 @@ static struct code_generator_result gen_block(
} }
codegen_push_generator(gen, CODE_GENERATOR_BLOCK, 0, NULL); codegen_push_generator(gen, CODE_GENERATOR_BLOCK, 0, NULL);
return CODEGEN_RESULT_OK(0); return CODEGEN_RESULT_OK(CODEGEN_R_REPEAT_NODE);
} }
static enum ivy_status state_init( static enum ivy_status state_init(