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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211228205020.D69451C0641%40moolenaar.net.

Raspunde prin e-mail lui