mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1530: Vim9: test fails on MS-Windows
Problem: Vim9: test fails on MS-Windows. Solution: Skip Ex command inside "if false".
This commit is contained in:
@@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1530,
|
||||||
/**/
|
/**/
|
||||||
1529,
|
1529,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -6879,9 +6879,17 @@ compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// Not recognized, execute with do_cmdline_cmd().
|
if (cctx.ctx_skip == SKIP_YES)
|
||||||
ea.arg = p;
|
{
|
||||||
line = compile_exec(line, &ea, &cctx);
|
// We don't check for a next command here.
|
||||||
|
line = (char_u *)"";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Not recognized, execute with do_cmdline_cmd().
|
||||||
|
ea.arg = p;
|
||||||
|
line = compile_exec(line, &ea, &cctx);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
nextline:
|
nextline:
|
||||||
|
Reference in New Issue
Block a user