# HG changeset patch # User Bram Moolenaar # Date 1547395206 -3600 # Node ID 3faa7cc8207cb798d79264527b26ceb38a7257d2 # Parent 5f6adbb7825327edf09a7efc8bfcc9b555a3573d patch 8.1.0740: Tcl test fails commit https://github.com/vim/vim/commit/8309b0559da6e9a581a7816572594c90c2d7f942 Author: Bram Moolenaar Date: Sun Jan 13 16:46:22 2019 +0100 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 --- a/src/eval.c +++ b/src/eval.c @@ -6462,7 +6462,9 @@ get_name_len( } 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 --- a/src/version.c +++ b/src/version.c @@ -796,6 +796,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 740, +/**/ 739, /**/ 738,