commit | 4649ded2877508fe343cbcf6f7e7fd277be0aab3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 03 14:55:55 2015 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 03 14:55:55 2015 +0100 |
tree | 40db67ea0e028a62d9b5ac849fdc910c1a977817 | |
parent | 32a214e78df0120f92fe049eab1385c60f0cdb0b [diff] [blame] |
patch 7.4.950 Problem: v:errors is not initialized. Solution: Initialze it to an empty list. (Thinca)
diff --git a/src/eval.c b/src/eval.c index 7ec7364..2d6c34b 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -900,6 +900,7 @@ 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