From f7ff6e85e8a4e84cff023f5db4b66ef85986605a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 23 Mar 2014 15:13:05 +0100 Subject: updated for version 7.4.212 Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL. --- src/regexp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/regexp.c') diff --git a/src/regexp.c b/src/regexp.c index f1e8909b2..32a51884b 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -4179,9 +4179,8 @@ reg_prev_class() - (*mb_head_off)(regline, reginput - 1), reg_buf); return -1; } - #endif -#ifdef FEAT_VISUAL + static int reg_match_visual __ARGS((void)); /* @@ -4258,7 +4257,6 @@ reg_match_visual() } return TRUE; } -#endif #define ADVANCE_REGINPUT() mb_ptr_adv(reginput) @@ -4440,9 +4438,7 @@ regmatch(scan) break; case RE_VISUAL: -#ifdef FEAT_VISUAL if (!reg_match_visual()) -#endif status = RA_NOMATCH; break; -- cgit v1.2.1