mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3810: Vim9: expr4 test fails on MS-Windows
Problem: Vim9: expr4 test fails on MS-Windows. Solution: Do not give an error for a missing function name when skipping.
This commit is contained in:
@@ -2001,7 +2001,7 @@ eval_func(
|
||||
// Need to make a copy, in case evaluating the arguments makes
|
||||
// the name invalid.
|
||||
s = vim_strsave(s);
|
||||
if (s == NULL || *s == NUL || (flags & EVAL_CONSTANT))
|
||||
if (s == NULL || (evaluate && (*s == NUL || (flags & EVAL_CONSTANT))))
|
||||
ret = FAIL;
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user