summaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c6
1 files changed, 1 insertions, 5 deletions
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;