From: Bram Moolenaar Date: Tue, 28 Dec 2021 20:49:56 +0000 (+0000) Subject: patch 8.2.3928: heredoc test fails X-Git-Tag: v8.2.3928 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ceb7d949e7c2fb36509a79dfe8df54fbdfa666;p=thirdparty%2Fvim.git patch 8.2.3928: heredoc test fails Problem: Heredoc test fails. Solution: Correct order of function arguments. --- diff --git a/src/userfunc.c b/src/userfunc.c index c894c5896e..f79e4cdf40 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -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; diff --git a/src/version.c b/src/version.c index 4d8110510a..1dedcfecbb 100644 --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3928, /**/ 3927, /**/