summaryrefslogtreecommitdiff
path: root/src/regexp.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-04-23 19:06:37 +0200
committerBram Moolenaar <Bram@vim.org>2014-04-23 19:06:37 +0200
commit2af78a14088a158208eab0853201b8ce07b2ac03 (patch)
tree2928cc1ae70b9e4aad9e0282e10d6e4e72a7bf30 /src/regexp.h
parent93fc481b578b18c282e60d251455685602449526 (diff)
downloadvim-git-2af78a14088a158208eab0853201b8ce07b2ac03.tar.gz
updated for version 7.4.262v7.4.262
Problem: Duplicate code in regexec(). Solution: Add line_lbr flag to regexec_nl().
Diffstat (limited to 'src/regexp.h')
-rw-r--r--src/regexp.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/regexp.h b/src/regexp.h
index 84e8d19b9..cd619daf4 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -149,11 +149,7 @@ struct regengine
{
regprog_T *(*regcomp)(char_u*, int);
void (*regfree)(regprog_T *);
- int (*regexec)(regmatch_T*, char_u*, colnr_T);
-#if defined(FEAT_MODIFY_FNAME) || defined(FEAT_EVAL) \
- || defined(FIND_REPLACE_DIALOG) || defined(PROTO)
- int (*regexec_nl)(regmatch_T*, char_u*, colnr_T);
-#endif
+ int (*regexec_nl)(regmatch_T*, char_u*, colnr_T, int);
long (*regexec_multi)(regmmatch_T*, win_T*, buf_T*, linenr_T, colnr_T, proftime_T*);
#ifdef DEBUG
char_u *expr;