Mercurial > vim
comparison src/vim9compile.c @ 20929:808e39c257de v8.2.1016
patch 8.2.1016: Vim9: test fails when channel feature is missing
Commit: https://github.com/vim/vim/commit/7e380030c15d961421a3fcda6cc358e2d112f4f8
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 19 22:35:44 2020 +0200
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
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 19 Jun 2020 22:45:04 +0200 |
parents | 0d7465881b06 |
children | e2fd5f05342f |
comparison
equal
deleted
inserted
replaced
20928:75950e88ec4f | 20929:808e39c257de |
---|---|
6836 } | 6836 } |
6837 | 6837 |
6838 p = skipwhite(p); | 6838 p = skipwhite(p); |
6839 | 6839 |
6840 if (cctx.ctx_skip == SKIP_YES | 6840 if (cctx.ctx_skip == SKIP_YES |
6841 && ea.cmdidx != CMD_if | |
6841 && ea.cmdidx != CMD_elseif | 6842 && ea.cmdidx != CMD_elseif |
6842 && ea.cmdidx != CMD_else | 6843 && ea.cmdidx != CMD_else |
6843 && ea.cmdidx != CMD_endif) | 6844 && ea.cmdidx != CMD_endif) |
6844 { | 6845 { |
6845 line = (char_u *)""; | 6846 line = (char_u *)""; |