Karsten Hopp a10fc7
To: vim_dev@googlegroups.com
Karsten Hopp a10fc7
Subject: Patch 7.3.1001
Karsten Hopp a10fc7
Fcc: outbox
Karsten Hopp a10fc7
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a10fc7
Mime-Version: 1.0
Karsten Hopp a10fc7
Content-Type: text/plain; charset=UTF-8
Karsten Hopp a10fc7
Content-Transfer-Encoding: 8bit
Karsten Hopp a10fc7
------------
Karsten Hopp a10fc7
Karsten Hopp a10fc7
Patch 7.3.1001
Karsten Hopp a10fc7
Problem:    Duplicate condition in if.
Karsten Hopp a10fc7
Solution:   Remove one condition.
Karsten Hopp a10fc7
Files:	    src/regexp_nfa.c
Karsten Hopp a10fc7
Karsten Hopp a10fc7
Karsten Hopp a10fc7
*** ../vim-7.3.1000/src/regexp_nfa.c	2013-05-21 21:20:16.000000000 +0200
Karsten Hopp a10fc7
--- src/regexp_nfa.c	2013-05-21 21:56:45.000000000 +0200
Karsten Hopp a10fc7
***************
Karsten Hopp a10fc7
*** 1091,1097 ****
Karsten Hopp a10fc7
  		    {
Karsten Hopp a10fc7
  			nfa_inc(&regparse);
Karsten Hopp a10fc7
  
Karsten Hopp a10fc7
! 			if (*regparse == 'n' || *regparse == 'n')
Karsten Hopp a10fc7
  			    startc = reg_string ? NL : NFA_NEWL;
Karsten Hopp a10fc7
  			else
Karsten Hopp a10fc7
  			    if  (*regparse == 'd'
Karsten Hopp a10fc7
--- 1091,1097 ----
Karsten Hopp a10fc7
  		    {
Karsten Hopp a10fc7
  			nfa_inc(&regparse);
Karsten Hopp a10fc7
  
Karsten Hopp a10fc7
! 			if (*regparse == 'n')
Karsten Hopp a10fc7
  			    startc = reg_string ? NL : NFA_NEWL;
Karsten Hopp a10fc7
  			else
Karsten Hopp a10fc7
  			    if  (*regparse == 'd'
Karsten Hopp a10fc7
*** ../vim-7.3.1000/src/version.c	2013-05-21 21:37:01.000000000 +0200
Karsten Hopp a10fc7
--- src/version.c	2013-05-21 21:59:09.000000000 +0200
Karsten Hopp a10fc7
***************
Karsten Hopp a10fc7
*** 730,731 ****
Karsten Hopp a10fc7
--- 730,733 ----
Karsten Hopp a10fc7
  {   /* Add new patch number below this line */
Karsten Hopp a10fc7
+ /**/
Karsten Hopp a10fc7
+     1001,
Karsten Hopp a10fc7
  /**/
Karsten Hopp a10fc7
Karsten Hopp a10fc7
-- 
Karsten Hopp a10fc7
SECOND SOLDIER: It could be carried by an African swallow!
Karsten Hopp a10fc7
FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
Karsten Hopp a10fc7
                swallow. that's my point.
Karsten Hopp a10fc7
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp a10fc7
Karsten Hopp a10fc7
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a10fc7
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a10fc7
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp a10fc7
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///