Patch 8.1.0740
Problem: Tcl test fails.
Solution: When the argument is empty don't give an error, instead rely on
the error reporting higher up.
Files: src/eval.c
*** ../vim-8.1.0739/src/eval.c 2019-01-13 16:07:17.522749372 +0100
--- src/eval.c 2019-01-13 16:41:19.517340430 +0100
***************
*** 6462,6468 ****
}
len += get_id_len(arg);
! if (len == 0 && verbose)
EMSG2(_(e_invexpr2), *arg);
return len;
--- 6462,6470 ----
}
len += get_id_len(arg);
! // 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;
*** ../vim-8.1.0739/src/version.c 2019-01-13 16:12:37.600472512 +0100
--- src/version.c 2019-01-13 16:42:46.964747959 +0100
***************
*** 797,798 ****
--- 797,800 ----
{ /* Add new patch number below this line */
+ /**/
+ 740,
/**/
--
hundred-and-one symptoms of being an internet addict:
188. You purchase a laptop so you can surf while sitting on the can.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.