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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user