lang: codegen: cond: fix gen_block not repeating the block node
This commit is contained in:
@@ -64,7 +64,7 @@ static struct code_generator_result gen_block(
|
||||
}
|
||||
|
||||
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(
|
||||
|
||||
Reference in New Issue
Block a user