mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.2509: tests fail on s390 build
Problem: Tests fail on s390 build. Solution: Initialize trycmd_T.
This commit is contained in:
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2509,
|
||||||
/**/
|
/**/
|
||||||
2508,
|
2508,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -2563,12 +2563,11 @@ call_def_function(
|
|||||||
+ ectx.ec_trystack.ga_len;
|
+ ectx.ec_trystack.ga_len;
|
||||||
++ectx.ec_trystack.ga_len;
|
++ectx.ec_trystack.ga_len;
|
||||||
++trylevel;
|
++trylevel;
|
||||||
|
CLEAR_POINTER(trycmd);
|
||||||
trycmd->tcd_frame_idx = ectx.ec_frame_idx;
|
trycmd->tcd_frame_idx = ectx.ec_frame_idx;
|
||||||
trycmd->tcd_stack_len = ectx.ec_stack.ga_len;
|
trycmd->tcd_stack_len = ectx.ec_stack.ga_len;
|
||||||
trycmd->tcd_catch_idx = iptr->isn_arg.try.try_catch;
|
trycmd->tcd_catch_idx = iptr->isn_arg.try.try_catch;
|
||||||
trycmd->tcd_finally_idx = iptr->isn_arg.try.try_finally;
|
trycmd->tcd_finally_idx = iptr->isn_arg.try.try_finally;
|
||||||
trycmd->tcd_caught = FALSE;
|
|
||||||
trycmd->tcd_return = FALSE;
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -2670,7 +2669,7 @@ call_def_function(
|
|||||||
--ectx.ec_stack.ga_len;
|
--ectx.ec_stack.ga_len;
|
||||||
clear_tv(STACK_TV_BOT(0));
|
clear_tv(STACK_TV_BOT(0));
|
||||||
}
|
}
|
||||||
if (trycmd->tcd_cont)
|
if (trycmd->tcd_cont != 0)
|
||||||
// handling :continue: jump to outer try block or
|
// handling :continue: jump to outer try block or
|
||||||
// start of the loop
|
// start of the loop
|
||||||
ectx.ec_iidx = trycmd->tcd_cont;
|
ectx.ec_iidx = trycmd->tcd_cont;
|
||||||
|
Reference in New Issue
Block a user