diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-20 17:46:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-20 17:46:14 +0200 |
commit | faac410409a8d693a0326ad9db42dca85419a391 (patch) | |
tree | 1ba8be438187c3296ec95892b749ce7f95efa20c /src/eval.c | |
parent | 08f4157c5cabc55bcb22f04dd7c717aba40caa34 (diff) |
patch 8.2.0611: Vim9: no check for space before #commentv8.2.0611
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
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 94ecf936e4..43c20086c2 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1773,7 +1773,7 @@ eval0( p = skipwhite(arg); ret = eval1(&p, rettv, evaluate); - if (ret == FAIL || !ends_excmd(*p)) + if (ret == FAIL || !ends_excmd2(arg, p)) { if (ret != FAIL) clear_tv(rettv); |