Karsten Hopp 2b96fb
To: vim_dev@googlegroups.com
Karsten Hopp 2b96fb
Subject: Patch 7.4.203
Karsten Hopp 2b96fb
Fcc: outbox
Karsten Hopp 2b96fb
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2b96fb
Mime-Version: 1.0
Karsten Hopp 2b96fb
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 2b96fb
Content-Transfer-Encoding: 8bit
Karsten Hopp 2b96fb
------------
Karsten Hopp 2b96fb
Karsten Hopp 2b96fb
Patch 7.4.203
Karsten Hopp 2b96fb
Problem:    Parsing 'errorformat' is not correct.
Karsten Hopp 2b96fb
Solution:   Reset "multiignore" at the start of a multi-line message. (Lcd)
Karsten Hopp 2b96fb
Files:	    src/quickfix.c, src/testdir/Make_amiga.mak,
Karsten Hopp 2b96fb
	    src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
Karsten Hopp 2b96fb
	    src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
Karsten Hopp 2b96fb
	    src/testdir/Makefile, src/testdir/test106.in,
Karsten Hopp 2b96fb
	    src/testdir/test106.ok
Karsten Hopp 2b96fb
Karsten Hopp 2b96fb
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/quickfix.c	2013-07-01 21:16:44.000000000 +0200
Karsten Hopp 2b96fb
--- src/quickfix.c	2014-03-12 19:35:22.016943118 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 751,757 ****
Karsten Hopp 2b96fb
--- 751,760 ----
Karsten Hopp 2b96fb
  		fmt_start = fmt_ptr;
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  	    if (vim_strchr((char_u *)"AEWI", idx) != NULL)
Karsten Hopp 2b96fb
+ 	    {
Karsten Hopp 2b96fb
  		multiline = TRUE;	/* start of a multi-line message */
Karsten Hopp 2b96fb
+ 		multiignore = FALSE;	/* reset continuation */
Karsten Hopp 2b96fb
+ 	    }
Karsten Hopp 2b96fb
  	    else if (vim_strchr((char_u *)"CZ", idx) != NULL)
Karsten Hopp 2b96fb
  	    {				/* continuation of multi-line msg */
Karsten Hopp 2b96fb
  		if (qfprev == NULL)
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/testdir/Make_amiga.mak	2014-02-23 23:38:58.808760280 +0100
Karsten Hopp 2b96fb
--- src/testdir/Make_amiga.mak	2014-03-12 19:32:32.192940516 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 35,41 ****
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test97.out test98.out \
Karsten Hopp 2b96fb
  		test99.out test100.out test101.out test102.out test103.out \
Karsten Hopp 2b96fb
! 		test104.out test105.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  .SUFFIXES: .in .out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
--- 35,41 ----
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test97.out test98.out \
Karsten Hopp 2b96fb
  		test99.out test100.out test101.out test102.out test103.out \
Karsten Hopp 2b96fb
! 		test104.out test105.out test106.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  .SUFFIXES: .in .out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 157,159 ****
Karsten Hopp 2b96fb
--- 157,160 ----
Karsten Hopp 2b96fb
  test103.out: test103.in
Karsten Hopp 2b96fb
  test104.out: test104.in
Karsten Hopp 2b96fb
  test105.out: test105.in
Karsten Hopp 2b96fb
+ test106.out: test106.in
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/testdir/Make_dos.mak	2014-02-23 23:38:58.808760280 +0100
Karsten Hopp 2b96fb
--- src/testdir/Make_dos.mak	2014-03-12 19:32:40.100940637 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 34,40 ****
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp 2b96fb
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp 2b96fb
! 		test105.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  SCRIPTS32 =	test50.out test70.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
--- 34,40 ----
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp 2b96fb
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp 2b96fb
! 		test105.out test106.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  SCRIPTS32 =	test50.out test70.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/testdir/Make_ming.mak	2014-02-23 23:38:58.812760280 +0100
Karsten Hopp 2b96fb
--- src/testdir/Make_ming.mak	2014-03-12 19:32:44.948940712 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 54,60 ****
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp 2b96fb
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp 2b96fb
! 		test105.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  SCRIPTS32 =	test50.out test70.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
--- 54,60 ----
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp 2b96fb
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp 2b96fb
! 		test105.out test106.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  SCRIPTS32 =	test50.out test70.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/testdir/Make_os2.mak	2014-02-23 23:38:58.812760280 +0100
Karsten Hopp 2b96fb
--- src/testdir/Make_os2.mak	2014-03-12 19:32:48.112940760 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 36,42 ****
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp 2b96fb
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp 2b96fb
! 		test105.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  .SUFFIXES: .in .out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
--- 36,42 ----
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp 2b96fb
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp 2b96fb
! 		test105.out test106.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  .SUFFIXES: .in .out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/testdir/Make_vms.mms	2014-03-12 16:51:35.060792541 +0100
Karsten Hopp 2b96fb
--- src/testdir/Make_vms.mms	2014-03-12 19:32:51.836940817 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 95,101 ****
Karsten Hopp 2b96fb
  	 test90.out test91.out test92.out test93.out test94.out \
Karsten Hopp 2b96fb
  	 test95.out test96.out test98.out test99.out \
Karsten Hopp 2b96fb
  	 test100.out test101.out test103.out test104.out \
Karsten Hopp 2b96fb
! 	 test105.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  # Known problems:
Karsten Hopp 2b96fb
  # test17: ?
Karsten Hopp 2b96fb
--- 95,101 ----
Karsten Hopp 2b96fb
  	 test90.out test91.out test92.out test93.out test94.out \
Karsten Hopp 2b96fb
  	 test95.out test96.out test98.out test99.out \
Karsten Hopp 2b96fb
  	 test100.out test101.out test103.out test104.out \
Karsten Hopp 2b96fb
! 	 test105.out test106.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  # Known problems:
Karsten Hopp 2b96fb
  # test17: ?
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/testdir/Makefile	2014-03-12 15:50:18.472736205 +0100
Karsten Hopp 2b96fb
--- src/testdir/Makefile	2014-03-12 19:32:13.884940236 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 31,37 ****
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test97.out test98.out \
Karsten Hopp 2b96fb
  		test99.out test100.out test101.out test102.out test103.out \
Karsten Hopp 2b96fb
! 		test104.out test105.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  SCRIPTS_GUI = test16.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
--- 31,37 ----
Karsten Hopp 2b96fb
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp 2b96fb
  		test94.out test95.out test96.out test97.out test98.out \
Karsten Hopp 2b96fb
  		test99.out test100.out test101.out test102.out test103.out \
Karsten Hopp 2b96fb
! 		test104.out test105.out test106.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
  SCRIPTS_GUI = test16.out
Karsten Hopp 2b96fb
  
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/testdir/test106.in	2014-03-12 19:40:59.584948291 +0100
Karsten Hopp 2b96fb
--- src/testdir/test106.in	2014-03-12 19:33:30.332941407 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 0 ****
Karsten Hopp 2b96fb
--- 1,16 ----
Karsten Hopp 2b96fb
+ Tests for errorformat.  vim: set ft=vim ts=8 :
Karsten Hopp 2b96fb
+ 
Karsten Hopp 2b96fb
+ STARTTEST
Karsten Hopp 2b96fb
+ :so small.vim
Karsten Hopp 2b96fb
+ :if !has('quickfix') | e! test.ok | wq! test.out | endif
Karsten Hopp 2b96fb
+ :set efm=%EEEE%m,%WWWW%m,%+CCCC%.%#,%-GGGG%.%#
Karsten Hopp 2b96fb
+ :cgetexpr ['WWWW', 'EEEE', 'CCCC']
Karsten Hopp 2b96fb
+ :$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
Karsten Hopp 2b96fb
+ :cgetexpr ['WWWW', 'GGGG', 'EEEE', 'CCCC']
Karsten Hopp 2b96fb
+ :$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
Karsten Hopp 2b96fb
+ :cgetexpr ['WWWW', 'GGGG', 'ZZZZ', 'EEEE', 'CCCC', 'YYYY']
Karsten Hopp 2b96fb
+ :$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
Karsten Hopp 2b96fb
+ :/^Results/,$wq! test.out
Karsten Hopp 2b96fb
+ ENDTEST
Karsten Hopp 2b96fb
+ 
Karsten Hopp 2b96fb
+ Results of test106:
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/testdir/test106.ok	2014-03-12 19:40:59.592948291 +0100
Karsten Hopp 2b96fb
--- src/testdir/test106.ok	2014-03-12 19:33:50.496941716 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 0 ****
Karsten Hopp 2b96fb
--- 1,4 ----
Karsten Hopp 2b96fb
+ Results of test106:
Karsten Hopp 2b96fb
+ [['W', 1], ['E^@CCCC', 1]]
Karsten Hopp 2b96fb
+ [['W', 1], ['E^@CCCC', 1]]
Karsten Hopp 2b96fb
+ [['W', 1], ['ZZZZ', 0], ['E^@CCCC', 1], ['YYYY', 0]]
Karsten Hopp 2b96fb
*** ../vim-7.4.202/src/version.c	2014-03-12 19:24:32.508933166 +0100
Karsten Hopp 2b96fb
--- src/version.c	2014-03-12 19:39:34.344946985 +0100
Karsten Hopp 2b96fb
***************
Karsten Hopp 2b96fb
*** 740,741 ****
Karsten Hopp 2b96fb
--- 740,743 ----
Karsten Hopp 2b96fb
  {   /* Add new patch number below this line */
Karsten Hopp 2b96fb
+ /**/
Karsten Hopp 2b96fb
+     203,
Karsten Hopp 2b96fb
  /**/
Karsten Hopp 2b96fb
Karsten Hopp 2b96fb
-- 
Karsten Hopp 2b96fb
"I know that there are people who don't love their fellow man,
Karsten Hopp 2b96fb
and I hate those people!" - Tom Lehrer
Karsten Hopp 2b96fb
Karsten Hopp 2b96fb
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2b96fb
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2b96fb
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 2b96fb
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///