To: [email protected]
Subject: Patch 7.4a.019
Fcc: outbox
From: Bram Moolenaar <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4a.019
Problem:    Invalid closing parenthesis in test 62. Command truncated at
           double quote.
Solution:   Remove the parenthesis. Change double quote to ''. (ZyX)
Files:      src/testdir/test62.in, src/testdir/test62.ok


*** ../vim-7.4a.018/src/testdir/test62.in       2013-05-06 04:35:08.000000000 +0200
--- src/testdir/test62.in       2013-07-14 12:15:29.000000000 +0200
***************
*** 36,42 ****
 :call settabvar(2, 'val_list', ['red', 'blue', 'green'])
 :"
 :let test_status = 'gettabvar: fail'
! :if gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green'])
 :    let test_status = 'gettabvar: pass'
 :endif
 :call append(line('$'), test_status)
--- 36,42 ----
 :call settabvar(2, 'val_list', ['red', 'blue', 'green'])
 :"
 :let test_status = 'gettabvar: fail'
! :if gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green']
 :    let test_status = 'gettabvar: pass'
 :endif
 :call append(line('$'), test_status)
***************
*** 146,152 ****
     endif
     let t:a='c'
     call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
!     C call map(range(1, tabpagenr('$')), 'settabvar(v:val, "a", v:val*2)')
     call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
     let w:a='a'
     C vsplit
--- 146,152 ----
     endif
     let t:a='c'
     call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
!     C call map(range(1, tabpagenr('$')), 'settabvar(v:val, ''a'', v:val*2)')
     call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
     let w:a='a'
     C vsplit
***************
*** 161,167 ****
         let g:r+=['BufLeave', 'WinLeave', 'TabLeave', 'WinEnter', 'TabEnter', 'BufEnter']
     endif
     call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')))
!     C call map(copy(winr), 'settabwinvar('.tabn.', v:val, "a", v:val*2)')
     call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')))
     if hasau
         augroup TabDestructive
--- 161,167 ----
         let g:r+=['BufLeave', 'WinLeave', 'TabLeave', 'WinEnter', 'TabEnter', 'BufEnter']
     endif
     call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')))
!     C call map(copy(winr), 'settabwinvar('.tabn.', v:val, ''a'', v:val*2)')
     call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')))
     if hasau
         augroup TabDestructive
*** ../vim-7.4a.018/src/testdir/test62.ok       2013-05-06 04:35:08.000000000 +0200
--- src/testdir/test62.ok       2013-07-14 12:16:20.000000000 +0200
***************
*** 31,38 ****
 BufLeave
 BufEnter
 a b c
! === call map(range(1, tabpagenr('$')), 'settabvar(v:val, ===
! a b c
 === vsplit ===
 WinLeave
 WinEnter
--- 31,38 ----
 BufLeave
 BufEnter
 a b c
! === call map(range(1, tabpagenr('$')), 'settabvar(v:val, ''a'', v:val*2)') ===
! 2 4 6
 === vsplit ===
 WinLeave
 WinEnter
***************
*** 44,51 ****
 TabEnter
 BufEnter
 a a
! === call map(copy(winr), 'settabwinvar('.tabn.', v:val, ===
! a a
 === tabnext 3 ===
 BufLeave
 WinLeave
--- 44,51 ----
 TabEnter
 BufEnter
 a a
! === call map(copy(winr), 'settabwinvar('.tabn.', v:val, ''a'', v:val*2)') ===
! 2 4
 === tabnext 3 ===
 BufLeave
 WinLeave
*** ../vim-7.4a.018/src/version.c       2013-07-13 20:58:05.000000000 +0200
--- src/version.c       2013-07-14 12:09:35.000000000 +0200
***************
*** 729,730 ****
--- 729,732 ----
 {   /* Add new patch number below this line */
+ /**/
+     19,
 /**/

--
OLD WOMAN: King of the WHO?
ARTHUR:    The Britons.
OLD WOMAN: Who are the Britons?
                "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// 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    ///