mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.3696: Vim9: error for invalid assignment when skipping
Problem: Vim9: error for invalid assignment when skipping. Solution: Do not check white space when skipping. (closes #9243)
This commit is contained in:
@@ -881,7 +881,7 @@ ex_let(exarg_T *eap)
|
||||
else
|
||||
++expr;
|
||||
|
||||
if (vim9script && (!VIM_ISWHITE(*argend)
|
||||
if (vim9script && !eap->skip && (!VIM_ISWHITE(*argend)
|
||||
|| !IS_WHITE_OR_NUL(*expr)))
|
||||
{
|
||||
vim_strncpy(op, expr - len, len);
|
||||
|
Reference in New Issue
Block a user