Patch 8.2.3928

5 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 28, 2021, 3:50:25 PM12/28/21
to vim...@googlegroups.com

Patch 8.2.3928
Problem: Heredoc test fails.
Solution: Correct order of function arguments.
Files: src/userfunc.c


*** ../vim-8.2.3927/src/userfunc.c 2021-12-28 20:18:46.958997532 +0000
--- src/userfunc.c 2021-12-28 20:45:05.964072236 +0000
***************
*** 174,181 ****
get_function_line(
exarg_T *eap,
char_u **line_to_free,
! getline_opt_T getline_options,
! int indent)
{
char_u *theline;

--- 174,181 ----
get_function_line(
exarg_T *eap,
char_u **line_to_free,
! int indent,
! getline_opt_T getline_options)
{
char_u *theline;

***************
*** 242,248 ****
&& (*p == NUL || (VIM_ISWHITE(*whitep) && *p == '#')))
{
// End of the line, get the next one.
! char_u *theline = get_function_line(eap, line_to_free, 0, TRUE);

if (theline == NULL)
break;
--- 242,249 ----
&& (*p == NUL || (VIM_ISWHITE(*whitep) && *p == '#')))
{
// End of the line, get the next one.
! char_u *theline = get_function_line(eap, line_to_free, 0,
! GETLINE_CONCAT_CONT);

if (theline == NULL)
break;
*** ../vim-8.2.3927/src/version.c 2021-12-28 20:18:46.958997532 +0000
--- src/version.c 2021-12-28 20:43:51.884201467 +0000
***************
*** 751,752 ****
--- 751,754 ----
{ /* Add new patch number below this line */
+ /**/
+ 3928,
/**/

--
hundred-and-one symptoms of being an internet addict:
133. You communicate with people on other continents more than you
do with your own neighbors.

/// 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 ///
Reply all
Reply to author
Forward
0 new messages