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