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.
diff --git a/src/regexp.c b/src/regexp.c
index f1e8909..32a5188 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -4179,9 +4179,8 @@
- (*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 @@
}
return TRUE;
}
-#endif
#define ADVANCE_REGINPUT() mb_ptr_adv(reginput)
@@ -4440,9 +4438,7 @@
break;
case RE_VISUAL:
-#ifdef FEAT_VISUAL
if (!reg_match_visual())
-#endif
status = RA_NOMATCH;
break;