Patch 7.4.950

32 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 3, 2015, 8:56:19 AM12/3/15
to vim...@googlegroups.com

Patch 7.4.950
Problem: v:errors is not initialized.
Solution: Initialze it to an empty list. (Thinca)
Files: src/eval.c


*** ../vim-7.4.949/src/eval.c 2015-12-03 13:52:48.439584211 +0100
--- src/eval.c 2015-12-03 14:52:58.568671030 +0100
***************
*** 900,905 ****
--- 900,906 ----
set_vim_var_nr(VV_SEARCHFORWARD, 1L);
set_vim_var_nr(VV_HLSEARCH, 1L);
set_vim_var_dict(VV_COMPLETED_ITEM, dict_alloc());
+ set_vim_var_list(VV_ERRORS, list_alloc());
set_reg_var(0); /* default for v:register is not 0 but '"' */

#ifdef EBCDIC
*** ../vim-7.4.949/src/version.c 2015-12-03 14:28:36.100419806 +0100
--- src/version.c 2015-12-03 14:53:43.236190104 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 950,
/**/

--
If Apple would build a car...
... it would be powered by the sun, be reliable, five times
as fast and twice as easy to drive; but would only run on
five percent of the roads.

/// Bram Moolenaar -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages