0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.0586: Vim9: # comment not sufficiently tested

Problem:    Vim9: # comment not sufficiently tested
Solution:   Check for preceding white space.
This commit is contained in:
Bram Moolenaar
2020-04-16 22:54:32 +02:00
parent 7a09224583
commit 4a8d9f2ed8
3 changed files with 40 additions and 1 deletions

View File

@@ -6143,7 +6143,7 @@ ex_execute(exarg_T *eap)
if (eap->skip)
++emsg_skip;
while (*arg != NUL && *arg != '|' && *arg != '\n')
while (!ends_excmd2(eap->cmd, arg) || *arg == '"')
{
ret = eval1_emsg(&arg, &rettv, !eap->skip);
if (ret == FAIL)