diff src/regexp_nfa.c @ 5188:fa76be660fa9 v7.4a.020

updated for version 7.4a.020 Problem: Superfluous mb_ptr_adv(). Solution: Remove the call. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Sun, 14 Jul 2013 12:34:56 +0200
parents c6dd0c545e5c
children 839ebe7c1b2f
line wrap: on
line diff
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -1516,7 +1516,6 @@ collection:
 		    EMIT('-');
 		    EMIT(NFA_CONCAT);
 		}
-		mb_ptr_adv(regparse);
 
 		/* skip the trailing ] */
 		regparse = endp;
@@ -4582,7 +4581,7 @@ recursive_regmatch(state, pim, prog, sub
 
 	/* Go back the specified number of bytes, or as far as the
 	 * start of the previous line, to try matching "\@<=" or
-	 * not matching "\@<!". This is very ineffecient, limit the number of
+	 * not matching "\@<!". This is very inefficient, limit the number of
 	 * bytes if possible. */
 	if (state->val <= 0)
 	{