| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.554 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.554 |
| Problem: Missing part of patch 7.4.519. |
| Solution: Copy back regprog after calling vim_regexec. |
| Files: src/quickfix.c |
| |
| |
| |
| |
| |
| *** 592,597 **** |
| --- 592,599 ---- |
| restofline: |
| for ( ; fmt_ptr != NULL; fmt_ptr = fmt_ptr->next) |
| { |
| + int r; |
| + |
| idx = fmt_ptr->prefix; |
| if (multiscan && vim_strchr((char_u *)"OPQ", idx) == NULL) |
| continue; |
| |
| *** 607,613 **** |
| tail = NULL; |
| |
| regmatch.regprog = fmt_ptr->prog; |
| ! if (vim_regexec(®match, IObuff, (colnr_T)0)) |
| { |
| if ((idx == 'C' || idx == 'Z') && !multiline) |
| continue; |
| --- 609,617 ---- |
| tail = NULL; |
| |
| regmatch.regprog = fmt_ptr->prog; |
| ! r = vim_regexec(®match, IObuff, (colnr_T)0); |
| ! fmt_ptr->prog = regmatch.regprog; |
| ! if (r) |
| { |
| if ((idx == 'C' || idx == 'Z') && !multiline) |
| continue; |
| |
| |
| |
| *** 743,744 **** |
| --- 743,746 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 554, |
| /**/ |
| |
| -- |
| hundred-and-one symptoms of being an internet addict: |
| 2. You kiss your girlfriend's home page. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |