mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1016: Vim9: test fails when channel feature is missing
Problem: Vim9: test fails when channel feature is missing. Solution: Process an :if command when skipping
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 */
|
||||||
|
/**/
|
||||||
|
1016,
|
||||||
/**/
|
/**/
|
||||||
1015,
|
1015,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -6838,6 +6838,7 @@ compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx)
|
|||||||
p = skipwhite(p);
|
p = skipwhite(p);
|
||||||
|
|
||||||
if (cctx.ctx_skip == SKIP_YES
|
if (cctx.ctx_skip == SKIP_YES
|
||||||
|
&& ea.cmdidx != CMD_if
|
||||||
&& ea.cmdidx != CMD_elseif
|
&& ea.cmdidx != CMD_elseif
|
||||||
&& ea.cmdidx != CMD_else
|
&& ea.cmdidx != CMD_else
|
||||||
&& ea.cmdidx != CMD_endif)
|
&& ea.cmdidx != CMD_endif)
|
||||||
|
Reference in New Issue
Block a user