mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1876: Vim9: parsing commands with newlines wrong
Problem: Vim9: parsing commands with newlines wrong Solution: Accept a '\n' for parsing lists and command arguments closes: #13015 closes: #13020 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1879,7 +1879,7 @@ get_func_arguments(
|
||||
argp = skipwhite(argp);
|
||||
if (*argp != ',')
|
||||
break;
|
||||
if (vim9script && !IS_WHITE_OR_NUL(argp[1]))
|
||||
if (vim9script && !IS_WHITE_NL_OR_NUL(argp[1]))
|
||||
{
|
||||
if (evaluate)
|
||||
semsg(_(e_white_space_required_after_str_str), ",", argp);
|
||||
|
Reference in New Issue
Block a user