Problem: Condition stack values may be used when not set.
Solution: Clear cs_script_var_len and cs_block_id just in case they get used
later. (issue #7733)
cstack->cs_block_id[cstack->cs_idx] = ++si->sn_last_block_id;
si->sn_current_block_id = si->sn_last_block_id;
}
+ else
+ {
+ // Just in case in_vim9script() does not return the same value when the
+ // block ends.
+ cstack->cs_script_var_len[cstack->cs_idx] = 0;
+ cstack->cs_block_id[cstack->cs_idx] = 0;
+ }
}
static void
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2417,
/**/
2416,
/**/