]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-238 v7.1.238
authorBram Moolenaar <Bram@vim.org>
Tue, 22 Jan 2008 10:59:38 +0000 (10:59 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 22 Jan 2008 10:59:38 +0000 (10:59 +0000)
src/eval.c
src/version.c

index 41e816ef00fc2920e0120887c718f2d15fa4f0f6..7093051b760f15d8ace0561fc518e3992884bdde 100644 (file)
@@ -14189,6 +14189,10 @@ searchpair_cmn(argvars, match_pos)
        goto theend;
     }
 
+    /* Using 'r' implies 'W', otherwise it doesn't work. */
+    if (flags & SP_REPEAT)
+       p_ws = FALSE;
+
     /* Optional fifth argument: skip expression */
     if (argvars[3].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;
 
+       /* clear the start flag to avoid getting stuck here */
+       options &= ~SEARCH_START;
+
        /* If the skip pattern matches, ignore this match. */
        if (*skip != NUL)
        {
index dcb5667fa0c16a8a635eb609bf88a1edb7afb953..2a259f79eec6f62ee7d7560ad17f9b417d34c48d 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    238,
 /**/
     237,
 /**/