To: vim_dev@googlegroups.com Subject: Patch 8.2.2327 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2327 Problem: Debugging code included. Solution: Remove the debugging code. Files: src/vim9execute.c *** ../vim-8.2.2326/src/vim9execute.c 2021-01-10 18:33:08.011683523 +0100 --- src/vim9execute.c 2021-01-10 23:58:05.216517289 +0100 *************** *** 247,254 **** // 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; --- 247,252 ---- *************** *** 530,537 **** 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. --- 528,533 ---- *************** *** 544,551 **** // 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; --- 540,545 ---- *** ../vim-8.2.2326/src/version.c 2021-01-10 22:56:33.486767344 +0100 --- src/version.c 2021-01-10 23:57:55.480541544 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2327, /**/ -- I have a watch cat! Just break in and she'll watch. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///