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