From: Bram Moolenaar Date: Mon, 17 Jun 2013 20:04:38 +0000 (+0200) Subject: updated for version 7.3.1219 X-Git-Tag: v7.3.1219 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0c85c7ae1be04bcf5850fc88e5e42ab96b518a2;p=vim updated for version 7.3.1219 Problem: No test for using []] inside \%[]. Solution: Add a test. --- diff --git a/src/testdir/test64.in b/src/testdir/test64.in index 061f1f1e7..7c141797d 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -367,6 +367,7 @@ STARTTEST :call add(tl, [2, '\%[bar]x', 'bxx', 'bx']) :call add(tl, [2, '\%[bar]x', 'xxx', 'x']) :call add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar']) +:call add(tl, [2, 'b\%[[]]r]', 'b]r bor', 'b]r']) :" :"""" Alternatives, must use first longest match :call add(tl, [2, 'goo\|go', 'google', 'goo']) diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok index 7021d18b5..fa31c8a84 100644 --- a/src/testdir/test64.ok +++ b/src/testdir/test64.ok @@ -839,6 +839,9 @@ OK 2 - \%[bar]x OK 0 - b\%[[ao]r] OK 1 - b\%[[ao]r] OK 2 - b\%[[ao]r] +OK 0 - b\%[[]]r] +OK 1 - b\%[[]]r] +OK 2 - b\%[[]]r] OK 0 - goo\|go OK 1 - goo\|go OK 2 - goo\|go diff --git a/src/version.c b/src/version.c index 09f58715f..883962daa 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1219, /**/ 1218, /**/