vim-patch:8.2.1361: error for white space after expression in assignment

Problem:    Error for white space after expression in assignment.
Solution:   Skip over white space. (closes vim/vim#6617)
6a25026262
This commit is contained in:
Jan Edmund Lazo
2020-08-04 22:12:28 -04:00
parent 9abfb85264
commit 037f532076
2 changed files with 4 additions and 0 deletions

View File

@@ -2086,6 +2086,7 @@ char_u *get_lval(char_u *const name, typval_T *const rettv,
tv_clear(&var1);
return NULL;
}
p = skipwhite(p);
}
// Optionally get the second index [ :expr].