diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-03-23 15:13:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-03-23 15:13:05 +0100 |
commit | f7ff6e85e8a4e84cff023f5db4b66ef85986605a (patch) | |
tree | 813913a9c1d1418b5b85e3a4bc414dbeb2b3f6a3 /src/regexp.c | |
parent | a68783751647e3243ca6f22df62907efbdbccb02 (diff) | |
download | vim-git-f7ff6e85e8a4e84cff023f5db4b66ef85986605a.tar.gz |
updated for version 7.4.212v7.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.
Diffstat (limited to 'src/regexp.c')
-rw-r--r-- | src/regexp.c | 6 |
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; |