Patch 8.2.2865 (after 8.2.2864)
Problem: Skipping over function body fails.
Solution: Do not define the function when skipping.
Files: src/userfunc.c
*** ../vim-8.2.2864/src/userfunc.c 2021-05-18 11:47:31.884191326 +0200
--- src/userfunc.c 2021-05-18 13:37:35.985264203 +0200
***************
*** 4014,4020 ****
// Save the starting line number.
sourcing_lnum_top = SOURCING_LNUM;
! if (get_function_body(eap, &newlines, line_arg, &line_to_free) == FAIL)
goto erret;
/*
--- 4014,4023 ----
// Save the starting line number.
sourcing_lnum_top = SOURCING_LNUM;
! // Do not define the function when getting the body fails and when
! // skipping.
! if (get_function_body(eap, &newlines, line_arg, &line_to_free) == FAIL
! || eap->skip)
goto erret;
/*
*** ../vim-8.2.2864/src/version.c 2021-05-18 11:47:31.884191326 +0200
--- src/version.c 2021-05-18 13:38:44.428947971 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2865,
/**/
--
The psychic said, "God bless you." I said, "I didn't sneeze." She
looked deep into my eyes and said, "You will, eventually." And, damn
if she wasn't right. Two days later, I sneezed. --Ellen Degeneres
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///