mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2327: debugging code included
Problem: Debugging code included. Solution: Remove the debugging code.
This commit is contained in:
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2327,
|
||||
/**/
|
||||
2326,
|
||||
/**/
|
||||
|
@@ -247,8 +247,6 @@ call_dfunc(int cdf_idx, partial_T *pt, int argcount_arg, ectx_T *ectx)
|
||||
// Store current execution state in stack frame for ISN_RETURN.
|
||||
STACK_TV_BOT(STACK_FRAME_FUNC_OFF)->vval.v_number = ectx->ec_dfunc_idx;
|
||||
STACK_TV_BOT(STACK_FRAME_IIDX_OFF)->vval.v_number = ectx->ec_iidx;
|
||||
if (ectx->ec_outer != NULL)
|
||||
printf("here");
|
||||
STACK_TV_BOT(STACK_FRAME_OUTER_OFF)->vval.v_string = (void *)ectx->ec_outer;
|
||||
STACK_TV_BOT(STACK_FRAME_IDX_OFF)->vval.v_number = ectx->ec_frame_idx;
|
||||
ectx->ec_frame_idx = ectx->ec_stack.ga_len;
|
||||
@@ -530,8 +528,6 @@ func_return(ectx_T *ectx)
|
||||
if (ret_idx == ectx->ec_frame_idx + STACK_FRAME_IDX_OFF)
|
||||
ret_idx = 0;
|
||||
|
||||
if (ectx->ec_outer != NULL)
|
||||
printf("here");
|
||||
vim_free(ectx->ec_outer);
|
||||
|
||||
// Restore the previous frame.
|
||||
@@ -544,8 +540,6 @@ func_return(ectx_T *ectx)
|
||||
// restoring ec_frame_idx must be last
|
||||
ectx->ec_frame_idx = STACK_TV(ectx->ec_frame_idx
|
||||
+ STACK_FRAME_IDX_OFF)->vval.v_number;
|
||||
if (ectx->ec_outer != NULL)
|
||||
printf("here");
|
||||
dfunc = ((dfunc_T *)def_functions.ga_data) + ectx->ec_dfunc_idx;
|
||||
ectx->ec_instr = dfunc->df_instr;
|
||||
|
||||
|
Reference in New Issue
Block a user