Mercurial > vim
comparison src/usercmd.c @ 20079:336483164ca6 v8.2.0595
patch 8.2.0595: Vim9: not all commands using ends_excmd() tested
Commit: https://github.com/vim/vim/commit/a26b9700d73ebccd6c5459d0d66032a4249f6b72
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 18 19:53:28 2020 +0200
patch 8.2.0595: Vim9: not all commands using ends_excmd() tested
Problem: Vim9: not all commands using ends_excmd() tested.
Solution: Find # comment after regular commands. Add more tests. Report
error for where it was caused.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 Apr 2020 20:00:04 +0200 |
parents | d13f8ae3b1de |
children | d0a9766167ab |
comparison
equal
deleted
inserted
replaced
20078:61222b5d173d | 20079:336483164ca6 |
---|---|
1661 } | 1661 } |
1662 } | 1662 } |
1663 | 1663 |
1664 #ifdef FEAT_EVAL | 1664 #ifdef FEAT_EVAL |
1665 current_sctx.sc_sid = cmd->uc_script_ctx.sc_sid; | 1665 current_sctx.sc_sid = cmd->uc_script_ctx.sc_sid; |
1666 current_sctx.sc_version = cmd->uc_script_ctx.sc_version; | |
1666 #endif | 1667 #endif |
1667 (void)do_cmdline(buf, eap->getline, eap->cookie, | 1668 (void)do_cmdline(buf, eap->getline, eap->cookie, |
1668 DOCMD_VERBOSE|DOCMD_NOWAIT|DOCMD_KEYTYPED); | 1669 DOCMD_VERBOSE|DOCMD_NOWAIT|DOCMD_KEYTYPED); |
1669 #ifdef FEAT_EVAL | 1670 #ifdef FEAT_EVAL |
1670 current_sctx = save_current_sctx; | 1671 current_sctx = save_current_sctx; |