diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-10 23:58:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-10 23:58:28 +0100 |
commit | 16a6f91ccb42ebde639a4185322b07719d345e86 (patch) | |
tree | 89acc6f1fd097ada444003ccae9a4e71c2e819ba | |
parent | 086ae06862077ba228fcae777f2a0b41416c11bb (diff) | |
download | vim-git-16a6f91ccb42ebde639a4185322b07719d345e86.tar.gz |
patch 8.2.2327: debugging code includedv8.2.2327
Problem: Debugging code included.
Solution: Remove the debugging code.
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim9execute.c | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/version.c b/src/version.c index 63549a2eb..e64265fb2 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2327, +/**/ 2326, /**/ 2325, diff --git a/src/vim9execute.c b/src/vim9execute.c index 957988e65..378b10443 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -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; |