]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1219 v7.3.1219
authorBram Moolenaar <Bram@vim.org>
Mon, 17 Jun 2013 20:04:38 +0000 (22:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 17 Jun 2013 20:04:38 +0000 (22:04 +0200)
Problem:    No test for using []] inside \%[].
Solution:   Add a test.

src/testdir/test64.in
src/testdir/test64.ok
src/version.c

index 061f1f1e7d5a4537143c4c4e3e58e33bc50aa392..7c141797db3e79b04b4077ea2b2f834289308e9f 100644 (file)
@@ -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'])
index 7021d18b59c449b56d401aeb999e963331d70212..fa31c8a84c21489421c40efc59ada39f29bfc04b 100644 (file)
@@ -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
index 09f58715f0c8b0cc3d65b5948f40ff5e39147120..883962daae285087ca93975d025074820fd10a13 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1219,
 /**/
     1218,
 /**/