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 c894c58..f79e4cd 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -174,8 +174,8 @@
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 @@
&& (*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;