changeset 7289:32efe489afc5 v7.4.950

commit https://github.com/vim/vim/commit/4649ded2877508fe343cbcf6f7e7fd277be0aab3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 3 14:55:55 2015 +0100 patch 7.4.950 Problem: v:errors is not initialized. Solution: Initialze it to an empty list. (Thinca)
author Christian Brabandt <cb@256bit.org>
date Thu, 03 Dec 2015 15:00:05 +0100
parents 393313da3057
children e35d237ef46c
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -900,6 +900,7 @@ eval_init()
     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
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    950,
+/**/
     949,
 /**/
     948,