|
|
d6ba96 |
To: vim_dev@googlegroups.com
|
|
|
d6ba96 |
Subject: Patch 7.4.029
|
|
|
d6ba96 |
Fcc: outbox
|
|
|
d6ba96 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
d6ba96 |
Mime-Version: 1.0
|
|
|
d6ba96 |
Content-Type: text/plain; charset=UTF-8
|
|
|
d6ba96 |
Content-Transfer-Encoding: 8bit
|
|
|
d6ba96 |
------------
|
|
|
d6ba96 |
|
|
|
d6ba96 |
Patch 7.4.029
|
|
|
d6ba96 |
Problem: An error in a pattern is reported twice.
|
|
|
d6ba96 |
Solution: Remove the retry with the backtracking engine, it won't work.
|
|
|
d6ba96 |
Files: src/regexp.c
|
|
|
d6ba96 |
|
|
|
d6ba96 |
|
|
|
d6ba96 |
*** ../vim-7.4.028/src/regexp.c 2013-08-25 17:01:36.000000000 +0200
|
|
|
d6ba96 |
--- src/regexp.c 2013-09-19 17:03:31.000000000 +0200
|
|
|
d6ba96 |
***************
|
|
|
d6ba96 |
*** 8016,8027 ****
|
|
|
d6ba96 |
}
|
|
|
d6ba96 |
#endif
|
|
|
d6ba96 |
/*
|
|
|
d6ba96 |
! * If NFA engine failed, then revert to the backtracking engine.
|
|
|
d6ba96 |
! * Except when there was a syntax error, which was properly handled by
|
|
|
d6ba96 |
! * NFA engine.
|
|
|
d6ba96 |
! */
|
|
|
d6ba96 |
if (regexp_engine == AUTOMATIC_ENGINE)
|
|
|
d6ba96 |
prog = bt_regengine.regcomp(expr, re_flags);
|
|
|
d6ba96 |
}
|
|
|
d6ba96 |
|
|
|
d6ba96 |
return prog;
|
|
|
d6ba96 |
--- 8016,8026 ----
|
|
|
d6ba96 |
}
|
|
|
d6ba96 |
#endif
|
|
|
d6ba96 |
/*
|
|
|
d6ba96 |
! * If the NFA engine failed, the backtracking engine won't work either.
|
|
|
d6ba96 |
! *
|
|
|
d6ba96 |
if (regexp_engine == AUTOMATIC_ENGINE)
|
|
|
d6ba96 |
prog = bt_regengine.regcomp(expr, re_flags);
|
|
|
d6ba96 |
+ */
|
|
|
d6ba96 |
}
|
|
|
d6ba96 |
|
|
|
d6ba96 |
return prog;
|
|
|
d6ba96 |
*** ../vim-7.4.028/src/version.c 2013-09-19 17:00:14.000000000 +0200
|
|
|
d6ba96 |
--- src/version.c 2013-09-19 17:01:13.000000000 +0200
|
|
|
d6ba96 |
***************
|
|
|
d6ba96 |
*** 740,741 ****
|
|
|
d6ba96 |
--- 740,743 ----
|
|
|
d6ba96 |
{ /* Add new patch number below this line */
|
|
|
d6ba96 |
+ /**/
|
|
|
d6ba96 |
+ 29,
|
|
|
d6ba96 |
/**/
|
|
|
d6ba96 |
|
|
|
d6ba96 |
--
|
|
|
d6ba96 |
The term "free software" is defined by Richard M. Stallman as
|
|
|
d6ba96 |
being software that isn't necessarily for free. Confusing?
|
|
|
d6ba96 |
Let's call it "Stallman software" then!
|
|
|
d6ba96 |
-- Bram Moolenaar
|
|
|
d6ba96 |
|
|
|
d6ba96 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
d6ba96 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
d6ba96 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
d6ba96 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|