diff src/regexp_nfa.c @ 4811:9909e44879b9 v7.3.1152

updated for version 7.3.1152 Problem: In tiny build ireg_icombine is undefined. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <bram@vim.org>
date Sat, 08 Jun 2013 23:30:04 +0200
parents 4d7e3df04256
children bc3f4804cf47
line wrap: on
line diff
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -6198,7 +6198,11 @@ nfa_regexec_both(line, startcol)
 
 	/* If match_text is set it contains the full text that must match.
 	 * Nothing else to try. Doesn't handle combining chars well. */
-	if (prog->match_text != NULL && !ireg_icombine)
+	if (prog->match_text != NULL
+#ifdef FEAT_MBYTE
+		    && !ireg_icombine
+#endif
+		)
 	    return find_match_text(col, prog->regstart, prog->match_text);
     }