]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.3928: heredoc test fails v8.2.3928
authorBram Moolenaar <Bram@vim.org>
Tue, 28 Dec 2021 20:49:56 +0000 (20:49 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 28 Dec 2021 20:49:56 +0000 (20:49 +0000)
Problem:    Heredoc test fails.
Solution:   Correct order of function arguments.

src/userfunc.c
src/version.c

index c894c5896ef2761dbeaa134488455c0e64106d3f..f79e4cdf40df2cce5d8b8a2059b8e2d94b8de4d2 100644 (file)
@@ -174,8 +174,8 @@ one_function_arg(
 get_function_line(
        exarg_T         *eap,
        char_u          **line_to_free,
-       getline_opt_T   getline_options,
-       int             indent)
+       int             indent,
+       getline_opt_T   getline_options)
 {
     char_u *theline;
 
@@ -242,7 +242,8 @@ get_function_args(
                         && (*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);
+           char_u *theline = get_function_line(eap, line_to_free, 0,
+                                                         GETLINE_CONCAT_CONT);
 
            if (theline == NULL)
                break;
index 4d8110510a0effd59888f6cd7a072cd7433148bf..1dedcfecbb1e5bbfc81efd3bd37f840198de0369 100644 (file)
@@ -749,6 +749,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3928,
 /**/
     3927,
 /**/