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.
diff --git a/src/eval.c b/src/eval.c
index a5e358f..e7dcf07 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -6462,7 +6462,9 @@
}
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);
return len;
diff --git a/src/version.c b/src/version.c
index 8afe3e1..d868137 100644
--- a/src/version.c
+++ b/src/version.c
@@ -796,6 +796,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 740,
+/**/
739,
/**/
738,