0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.1-238

This commit is contained in:
Bram Moolenaar 2008-01-22 10:59:38 +00:00
parent e9e3b57915
commit 92de73db65
2 changed files with 9 additions and 0 deletions

View File

@ -14189,6 +14189,10 @@ searchpair_cmn(argvars, match_pos)
goto theend; goto theend;
} }
/* Using 'r' implies 'W', otherwise it doesn't work. */
if (flags & SP_REPEAT)
p_ws = FALSE;
/* Optional fifth argument: skip expression */ /* Optional fifth argument: skip expression */
if (argvars[3].v_type == VAR_UNKNOWN if (argvars[3].v_type == VAR_UNKNOWN
|| argvars[4].v_type == VAR_UNKNOWN) || argvars[4].v_type == VAR_UNKNOWN)
@ -14345,6 +14349,9 @@ do_searchpair(spat, mpat, epat, dir, skip, flags, match_pos,
} }
foundpos = pos; foundpos = pos;
/* clear the start flag to avoid getting stuck here */
options &= ~SEARCH_START;
/* If the skip pattern matches, ignore this match. */ /* If the skip pattern matches, ignore this match. */
if (*skip != NUL) if (*skip != NUL)
{ {

View File

@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
238,
/**/ /**/
237, 237,
/**/ /**/