diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-16 22:54:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-16 22:54:32 +0200 |
commit | 4a8d9f2ed8c0079732e35d72656a000641353b94 (patch) | |
tree | 71f37256eb6a77ea7698a8d5c1b4f0a7f406e97c /src/eval.c | |
parent | 7a09224583b2ad0d9d0648b53cc2d989d45ae96e (diff) |
patch 8.2.0586: Vim9: # comment not sufficiently testedv8.2.0586
Problem: Vim9: # comment not sufficiently tested
Solution: Check for preceding white space.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index af228965f7..1840f7420c 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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) |