Patch 7.3.1219

36 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 17, 2013, 4:05:03 PM6/17/13
to vim...@googlegroups.com

Patch 7.3.1219
Problem: No test for using []] inside \%[].
Solution: Add a test.
Files: src/testdir/test64.in, src/testdir/test64.ok


*** ../vim-7.3.1218/src/testdir/test64.in 2013-06-17 21:33:36.000000000 +0200
--- src/testdir/test64.in 2013-06-17 21:59:47.000000000 +0200
***************
*** 367,372 ****
--- 367,373 ----
: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'])
*** ../vim-7.3.1218/src/testdir/test64.ok 2013-06-17 21:33:36.000000000 +0200
--- src/testdir/test64.ok 2013-06-17 21:59:51.000000000 +0200
***************
*** 839,844 ****
--- 839,847 ----
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
*** ../vim-7.3.1218/src/version.c 2013-06-17 21:53:33.000000000 +0200
--- src/version.c 2013-06-17 22:03:18.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
{ /* Add new patch number below this line */
+ /**/
+ 1219,
/**/

--
If you're sending someone Styrofoam, what do you pack it in?

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages