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