|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.554
|
|
|
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.554
|
|
|
22c937 |
Problem: Missing part of patch 7.4.519.
|
|
|
22c937 |
Solution: Copy back regprog after calling vim_regexec.
|
|
|
22c937 |
Files: src/quickfix.c
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.553/src/quickfix.c 2014-07-23 16:33:04.075886500 +0200
|
|
|
22c937 |
--- src/quickfix.c 2014-11-19 16:21:16.404128731 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 592,597 ****
|
|
|
22c937 |
--- 592,599 ----
|
|
|
22c937 |
restofline:
|
|
|
22c937 |
for ( ; fmt_ptr != NULL; fmt_ptr = fmt_ptr->next)
|
|
|
22c937 |
{
|
|
|
22c937 |
+ int r;
|
|
|
22c937 |
+
|
|
|
22c937 |
idx = fmt_ptr->prefix;
|
|
|
22c937 |
if (multiscan && vim_strchr((char_u *)"OPQ", idx) == NULL)
|
|
|
22c937 |
continue;
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 607,613 ****
|
|
|
22c937 |
tail = NULL;
|
|
|
22c937 |
|
|
|
22c937 |
regmatch.regprog = fmt_ptr->prog;
|
|
|
22c937 |
! if (vim_regexec(®match, IObuff, (colnr_T)0))
|
|
|
22c937 |
{
|
|
|
22c937 |
if ((idx == 'C' || idx == 'Z') && !multiline)
|
|
|
22c937 |
continue;
|
|
|
22c937 |
--- 609,617 ----
|
|
|
22c937 |
tail = NULL;
|
|
|
22c937 |
|
|
|
22c937 |
regmatch.regprog = fmt_ptr->prog;
|
|
|
22c937 |
! r = vim_regexec(®match, IObuff, (colnr_T)0);
|
|
|
22c937 |
! fmt_ptr->prog = regmatch.regprog;
|
|
|
22c937 |
! if (r)
|
|
|
22c937 |
{
|
|
|
22c937 |
if ((idx == 'C' || idx == 'Z') && !multiline)
|
|
|
22c937 |
continue;
|
|
|
22c937 |
*** ../vim-7.4.553/src/version.c 2014-12-17 14:36:10.367090935 +0100
|
|
|
22c937 |
--- src/version.c 2014-12-17 14:40:51.463618087 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 743,744 ****
|
|
|
22c937 |
--- 743,746 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 554,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
hundred-and-one symptoms of being an internet addict:
|
|
|
22c937 |
2. You kiss your girlfriend's home page.
|
|
|
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 ///
|