summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-01-19 14:59:58 +0000
committerBram Moolenaar <Bram@vim.org>2008-01-19 14:59:58 +0000
commit91a4e82243198d3c54b51296c532005daf5ccd3b (patch)
treec25223c268fa6be1229012ac34162233ef84e255 /src/ex_cmds.c
parent4bad6c8d3dfe81d6171f20f1c3f7fc76bc2d89a7 (diff)
updated for version 7.1-236v7.1.236
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 46fcc91223..f207ee7e00 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4446,7 +4446,8 @@ do_sub(eap)
#endif
); ++lnum)
{
- nmatch = vim_regexec_multi(&regmatch, curwin, curbuf, lnum, (colnr_T)0);
+ nmatch = vim_regexec_multi(&regmatch, curwin, curbuf, lnum,
+ (colnr_T)0, NULL);
if (nmatch)
{
colnr_T copycol;
@@ -4957,7 +4958,8 @@ skip:
|| (do_ask && !re_lookbehind(regmatch.regprog))
|| nmatch_tl > 0
|| (nmatch = vim_regexec_multi(&regmatch, curwin,
- curbuf, sub_firstlnum, matchcol)) == 0
+ curbuf, sub_firstlnum,
+ matchcol, NULL)) == 0
|| regmatch.startpos[0].lnum > 0)
{
if (new_start != NULL)
@@ -5022,7 +5024,7 @@ skip:
}
if (nmatch == -1 && !lastone)
nmatch = vim_regexec_multi(&regmatch, curwin, curbuf,
- sub_firstlnum, matchcol);
+ sub_firstlnum, matchcol, NULL);
/*
* 5. break if there isn't another match in this line
@@ -5252,7 +5254,8 @@ ex_global(eap)
for (lnum = eap->line1; lnum <= eap->line2 && !got_int; ++lnum)
{
/* a match on this line? */
- match = vim_regexec_multi(&regmatch, curwin, curbuf, lnum, (colnr_T)0);
+ match = vim_regexec_multi(&regmatch, curwin, curbuf, lnum,
+ (colnr_T)0, NULL);
if ((type == 'g' && match) || (type == 'v' && !match))
{
ml_setmarked(lnum);