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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui