diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-23 17:07:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-23 17:07:30 +0200 |
commit | a72cfb80cd7aa589ad2a4fb8766ed6d30ea8ae33 (patch) | |
tree | 4e0ba772f84209f1d2364b6ed0c59db5f08530c7 /src/vim9compile.c | |
parent | f7b398c6a9476a2004a42555b731ebf47b866408 (diff) |
patch 8.2.0624: Vim9: no check for space before #commentv8.2.0624
Problem: Vim9: no check for space before #comment.
Solution: Add space checks. Fix :throw with double quoted string.
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index daa1cbea41..393d2b824c 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -5752,11 +5752,6 @@ compile_throw(char_u *arg, cctx_T *cctx UNUSED) { char_u *p = skipwhite(arg); - if (ends_excmd(*p)) - { - emsg(_(e_argreq)); - return NULL; - } if (compile_expr1(&p, cctx) == FAIL) return NULL; if (may_generate_2STRING(-1, cctx) == FAIL) |