diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-29 16:01:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-29 16:01:49 +0000 |
commit | 7f2c34166402740a661131d6341bbf874bdb3d48 (patch) | |
tree | 145b725f62b430140cca7640892f7006c7fc74c4 /src/evalvars.c | |
parent | 5c1ec439f0a69e9aa7ece9bbb7d916f48f58be1e (diff) | |
download | vim-git-7f2c34166402740a661131d6341bbf874bdb3d48.tar.gz |
patch 8.2.3696: Vim9: error for invalid assignment when skippingv8.2.3696
Problem: Vim9: error for invalid assignment when skipping.
Solution: Do not check white space when skipping. (closes #9243)
Diffstat (limited to 'src/evalvars.c')
-rw-r--r-- | src/evalvars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalvars.c b/src/evalvars.c index 9124848c0..434210031 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -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); |