Blame SOURCES/7.4.029

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.029
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.029
22c937
Problem:    An error in a pattern is reported twice.
22c937
Solution:   Remove the retry with the backtracking engine, it won't work.
22c937
Files:	    src/regexp.c
22c937
22c937
22c937
*** ../vim-7.4.028/src/regexp.c	2013-08-25 17:01:36.000000000 +0200
22c937
--- src/regexp.c	2013-09-19 17:03:31.000000000 +0200
22c937
***************
22c937
*** 8016,8027 ****
22c937
  	}
22c937
  #endif
22c937
  	/*
22c937
! 	 * If NFA engine failed, then revert to the backtracking engine.
22c937
! 	 * Except when there was a syntax error, which was properly handled by
22c937
! 	 * NFA engine.
22c937
! 	 */
22c937
  	if (regexp_engine == AUTOMATIC_ENGINE)
22c937
  	    prog = bt_regengine.regcomp(expr, re_flags);
22c937
      }
22c937
  
22c937
      return prog;
22c937
--- 8016,8026 ----
22c937
  	}
22c937
  #endif
22c937
  	/*
22c937
! 	 * If the NFA engine failed, the backtracking engine won't work either.
22c937
! 	 *
22c937
  	if (regexp_engine == AUTOMATIC_ENGINE)
22c937
  	    prog = bt_regengine.regcomp(expr, re_flags);
22c937
+ 	 */
22c937
      }
22c937
  
22c937
      return prog;
22c937
*** ../vim-7.4.028/src/version.c	2013-09-19 17:00:14.000000000 +0200
22c937
--- src/version.c	2013-09-19 17:01:13.000000000 +0200
22c937
***************
22c937
*** 740,741 ****
22c937
--- 740,743 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     29,
22c937
  /**/
22c937
22c937
-- 
22c937
The term "free software" is defined by Richard M. Stallman as
22c937
being software that isn't necessarily for free.  Confusing?
22c937
Let's call it "Stallman software" then!
22c937
				-- Bram Moolenaar
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    ///