Mercurial > vim
comparison src/vim9compile.c @ 25575:9f691e8a74e3 v8.2.3324
patch 8.2.3324: Vim9: Cannot use :silent with :endwhile
Commit: https://github.com/vim/vim/commit/917c46abe559f3d779ad87500e874376111ca1ef
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 10 19:53:01 2021 +0200
patch 8.2.3324: Vim9: Cannot use :silent with :endwhile
Problem: Vim9: Cannot use :silent with :endwhile.
Solution: Allow for using the :silent modifier. (closes https://github.com/vim/vim/issues/8737)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 10 Aug 2021 20:00:05 +0200 |
parents | 0082503ff2ff |
children | d8fb5bb88362 |
comparison
equal
deleted
inserted
replaced
25574:bd32fe0605af | 25575:9f691e8a74e3 |
---|---|
2342 static int | 2342 static int |
2343 generate_cmdmods(cctx_T *cctx, cmdmod_T *cmod) | 2343 generate_cmdmods(cctx_T *cctx, cmdmod_T *cmod) |
2344 { | 2344 { |
2345 isn_T *isn; | 2345 isn_T *isn; |
2346 | 2346 |
2347 if (has_cmdmod(cmod)) | 2347 if (has_cmdmod(cmod, FALSE)) |
2348 { | 2348 { |
2349 cctx->ctx_has_cmdmod = TRUE; | 2349 cctx->ctx_has_cmdmod = TRUE; |
2350 | 2350 |
2351 if ((isn = generate_instr(cctx, ISN_CMDMOD)) == NULL) | 2351 if ((isn = generate_instr(cctx, ISN_CMDMOD)) == NULL) |
2352 return FAIL; | 2352 return FAIL; |