comparison src/eval.c @ 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 a34232b17763
children 6ffc75d807bd
comparison
equal deleted inserted replaced
7288:393313da3057 7289:32efe489afc5
898 hash_add(&compat_hashtab, p->vv_di.di_key); 898 hash_add(&compat_hashtab, p->vv_di.di_key);
899 } 899 }
900 set_vim_var_nr(VV_SEARCHFORWARD, 1L); 900 set_vim_var_nr(VV_SEARCHFORWARD, 1L);
901 set_vim_var_nr(VV_HLSEARCH, 1L); 901 set_vim_var_nr(VV_HLSEARCH, 1L);
902 set_vim_var_dict(VV_COMPLETED_ITEM, dict_alloc()); 902 set_vim_var_dict(VV_COMPLETED_ITEM, dict_alloc());
903 set_vim_var_list(VV_ERRORS, list_alloc());
903 set_reg_var(0); /* default for v:register is not 0 but '"' */ 904 set_reg_var(0); /* default for v:register is not 0 but '"' */
904 905
905 #ifdef EBCDIC 906 #ifdef EBCDIC
906 /* 907 /*
907 * Sort the function table, to enable binary search. 908 * Sort the function table, to enable binary search.