0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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:
Bram Moolenaar
2020-06-19 22:35:44 +02:00
parent 20298ce679
commit 7e380030c1
2 changed files with 3 additions and 0 deletions

View File

@@ -6838,6 +6838,7 @@ compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx)
p = skipwhite(p);
if (cctx.ctx_skip == SKIP_YES
&& ea.cmdidx != CMD_if
&& ea.cmdidx != CMD_elseif
&& ea.cmdidx != CMD_else
&& ea.cmdidx != CMD_endif)