0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0624: Vim9: no check for space before #comment

Problem:    Vim9: no check for space before #comment.
Solution:   Add space checks.  Fix :throw with double quoted string.
This commit is contained in:
Bram Moolenaar
2020-04-23 17:07:30 +02:00
parent f7b398c6a9
commit a72cfb80cd
5 changed files with 94 additions and 13 deletions

View File

@@ -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)