comparison src/eval.c @ 26562:479022b3e7bd v8.2.3810

patch 8.2.3810: Vim9: expr4 test fails on MS-Windows Commit: https://github.com/vim/vim/commit/b334137acffd7a2b2ab8524e54d4c55ebf4518ea Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 14 18:57:45 2021 +0000 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Dec 2021 20:00:04 +0100
parents 454a1c9ef797
children 9f7568104726
comparison
equal deleted inserted replaced
26561:69d9b6201845 26562:479022b3e7bd
1999 in_vim9script() ? &type : NULL, !evaluate, &found_var); 1999 in_vim9script() ? &type : NULL, !evaluate, &found_var);
2000 2000
2001 // Need to make a copy, in case evaluating the arguments makes 2001 // Need to make a copy, in case evaluating the arguments makes
2002 // the name invalid. 2002 // the name invalid.
2003 s = vim_strsave(s); 2003 s = vim_strsave(s);
2004 if (s == NULL || *s == NUL || (flags & EVAL_CONSTANT)) 2004 if (s == NULL || (evaluate && (*s == NUL || (flags & EVAL_CONSTANT))))
2005 ret = FAIL; 2005 ret = FAIL;
2006 else 2006 else
2007 { 2007 {
2008 funcexe_T funcexe; 2008 funcexe_T funcexe;
2009 2009