changeset 23569:754387a3aa35 v8.2.2327

patch 8.2.2327: debugging code included Commit: https://github.com/vim/vim/commit/16a6f91ccb42ebde639a4185322b07719d345e86 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 10 23:58:28 2021 +0100 patch 8.2.2327: debugging code included Problem: Debugging code included. Solution: Remove the debugging code.
author Bram Moolenaar <Bram@vim.org>
date Mon, 11 Jan 2021 00:00:04 +0100
parents e6f7afb1564b
children ef1958a763b7
files src/version.c src/vim9execute.c
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -247,8 +247,6 @@ call_dfunc(int cdf_idx, partial_T *pt, i
     // 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;