Mercurial > vim
diff src/regexp.h @ 5838:0ea551fa607d v7.4.262
updated for version 7.4.262
Problem: Duplicate code in regexec().
Solution: Add line_lbr flag to regexec_nl().
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 23 Apr 2014 19:06:37 +0200 |
parents | 05b8436873d4 |
children | adfbffe1e642 |
line wrap: on
line diff
--- 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;