mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.0740: Tcl test fails
Problem: Tcl test fails. Solution: When the argument is empty don't give an error, instead rely on the error reporting higher up.
This commit is contained in:
@@ -6462,7 +6462,9 @@ get_name_len(
|
|||||||
}
|
}
|
||||||
|
|
||||||
len += get_id_len(arg);
|
len += get_id_len(arg);
|
||||||
if (len == 0 && verbose)
|
// Only give an error when there is something, otherwise it will be
|
||||||
|
// reported at a higher level.
|
||||||
|
if (len == 0 && verbose && **arg != NUL)
|
||||||
EMSG2(_(e_invexpr2), *arg);
|
EMSG2(_(e_invexpr2), *arg);
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
|
@@ -795,6 +795,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 */
|
||||||
|
/**/
|
||||||
|
740,
|
||||||
/**/
|
/**/
|
||||||
739,
|
739,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user