diff src/eval.c @ 21622:1f2066e3975a v8.2.1361

patch 8.2.1361: error for white space after expression in assignment Commit: https://github.com/vim/vim/commit/6a25026262e2cdbbd8738361c5bd6ebef8862d87 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 4 15:53:01 2020 +0200 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 https://github.com/vim/vim/issues/6617)
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Aug 2020 16:00:04 +0200
parents 46956b6811a1
children 3c6c52fbc8ea
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -903,6 +903,7 @@ get_lval(
 		    clear_tv(&var1);
 		    return NULL;
 		}
+		p = skipwhite(p);
 	    }
 
 	    // Optionally get the second index [ :expr].