diff src/evalfunc.c @ 12252:3d0e042ec13c v8.0.1006

patch 8.0.1006: quickfix list changes when parsing text with 'erroformat' commit https://github.com/vim/vim/commit/7adf06f4e25c795ba32ff0b2e8591330f6a41afb Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 27 15:23:41 2017 +0200 patch 8.0.1006: quickfix list changes when parsing text with 'erroformat' Problem: Cannot parse text with 'erroformat' without changing a quickfix list. Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2017 15:30:05 +0200
parents f9de19f981a4
children 2a8890b80923
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -4810,7 +4810,7 @@ get_qf_loc_list(int is_qf, win_T *wp, ty
     {
 	if (rettv_list_alloc(rettv) == OK)
 	    if (is_qf || wp != NULL)
-		(void)get_errorlist(wp, -1, rettv->vval.v_list);
+		(void)get_errorlist(NULL, wp, -1, rettv->vval.v_list);
     }
     else
     {