0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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 #6617)
This commit is contained in:
Bram Moolenaar
2020-08-04 15:53:01 +02:00
parent f96e9dec63
commit 6a25026262
3 changed files with 6 additions and 0 deletions

View File

@@ -903,6 +903,7 @@ get_lval(
clear_tv(&var1);
return NULL;
}
p = skipwhite(p);
}
// Optionally get the second index [ :expr].