mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -903,6 +903,7 @@ get_lval(
|
||||
clear_tv(&var1);
|
||||
return NULL;
|
||||
}
|
||||
p = skipwhite(p);
|
||||
}
|
||||
|
||||
// Optionally get the second index [ :expr].
|
||||
|
@@ -55,6 +55,9 @@ func Test_dict()
|
||||
let d['a'] = 'aaa'
|
||||
call assert_equal('none', d[''])
|
||||
call assert_equal('aaa', d['a'])
|
||||
|
||||
let d[ 'b' ] = 'bbb'
|
||||
call assert_equal('bbb', d[ 'b' ])
|
||||
endfunc
|
||||
|
||||
func Test_strgetchar()
|
||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1361,
|
||||
/**/
|
||||
1360,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user