Patch 8.2.1361
Problem: Error for white space after expression in assignment.
Solution: Skip over white space. (closes #6617)
Files: src/eval.c, src/testdir/test_expr.vim
*** ../vim-8.2.1360/src/eval.c 2020-08-03 22:39:05.902971252 +0200
--- src/eval.c 2020-08-04 15:48:25.930152983 +0200
***************
*** 903,908 ****
--- 903,909 ----
clear_tv(&var1);
return NULL;
}
+ p = skipwhite(p);
}
// Optionally get the second index [ :expr].
*** ../vim-8.2.1360/src/testdir/test_expr.vim 2020-07-11 22:14:54.314422214
+0200
--- src/testdir/test_expr.vim 2020-08-04 15:51:49.165640233 +0200
***************
*** 55,60 ****
--- 55,63 ----
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()
*** ../vim-8.2.1360/src/version.c 2020-08-03 22:39:05.902971252 +0200
--- src/version.c 2020-08-04 15:49:22.094017722 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1361,
/**/
--
hundred-and-one symptoms of being an internet addict:
118. You are on a first-name basis with your ISP's staff.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202008041353.074DrSGa3021424%40masaka.moolenaar.net.