mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3928: heredoc test fails
Problem: Heredoc test fails. Solution: Correct order of function arguments.
This commit is contained in:
@@ -174,8 +174,8 @@ one_function_arg(
|
|||||||
get_function_line(
|
get_function_line(
|
||||||
exarg_T *eap,
|
exarg_T *eap,
|
||||||
char_u **line_to_free,
|
char_u **line_to_free,
|
||||||
getline_opt_T getline_options,
|
int indent,
|
||||||
int indent)
|
getline_opt_T getline_options)
|
||||||
{
|
{
|
||||||
char_u *theline;
|
char_u *theline;
|
||||||
|
|
||||||
@@ -242,7 +242,8 @@ get_function_args(
|
|||||||
&& (*p == NUL || (VIM_ISWHITE(*whitep) && *p == '#')))
|
&& (*p == NUL || (VIM_ISWHITE(*whitep) && *p == '#')))
|
||||||
{
|
{
|
||||||
// End of the line, get the next one.
|
// 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)
|
if (theline == NULL)
|
||||||
break;
|
break;
|
||||||
|
@@ -749,6 +749,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3928,
|
||||||
/**/
|
/**/
|
||||||
3927,
|
3927,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user