50186ae
To: vim_dev@googlegroups.com
50186ae
Subject: Patch 7.3.843
50186ae
Fcc: outbox
50186ae
From: Bram Moolenaar <Bram@moolenaar.net>
50186ae
Mime-Version: 1.0
50186ae
Content-Type: text/plain; charset=UTF-8
50186ae
Content-Transfer-Encoding: 8bit
50186ae
------------
50186ae
50186ae
Patch 7.3.843 (after 7.3.841)
50186ae
Problem:    Missing test file changes.
50186ae
Solution:   Change the tests.
50186ae
Files:	    src/testdir/test49.vim, src/testdir/test49.ok
50186ae
50186ae
50186ae
*** ../vim-7.3.842/src/testdir/test49.vim	2012-12-05 19:00:03.000000000 +0100
50186ae
--- src/testdir/test49.vim	2013-02-26 19:22:36.000000000 +0100
50186ae
***************
50186ae
*** 9624,9630 ****
50186ae
  Xcheck 0 
50186ae
  
50186ae
  "-------------------------------------------------------------------------------
50186ae
! " Test 87:  $VIMNOERRTHROW and $VIMNOINTTHROW support			    {{{1
50186ae
  "
50186ae
  "	    It is possible to configure Vim for throwing exceptions on error
50186ae
  "	    or interrupt, controlled by variables $VIMNOERRTHROW and
50186ae
--- 9624,9661 ----
50186ae
  Xcheck 0 
50186ae
  
50186ae
  "-------------------------------------------------------------------------------
50186ae
! " Test 87   using (expr) ? funcref : funcref				    {{{1
50186ae
! "
50186ae
! "	    Vim needs to correctly parse the funcref and even when it does
50186ae
! "	    not execute the funcref, it needs to consume the trailing ()
50186ae
! "-------------------------------------------------------------------------------
50186ae
! 
50186ae
! XpathINIT
50186ae
! 
50186ae
! func Add2(x1, x2)
50186ae
!     return a:x1 + a:x2
50186ae
! endfu
50186ae
! 
50186ae
! func GetStr()
50186ae
!     return "abcdefghijklmnopqrstuvwxyp"
50186ae
! endfu
50186ae
! 
50186ae
! echo function('Add2')(2,3)
50186ae
! 
50186ae
! Xout 1 ? function('Add2')(1,2) : function('Add2')(2,3)
50186ae
! Xout 0 ? function('Add2')(1,2) : function('Add2')(2,3)
50186ae
! " Make sure, GetStr() still works.
50186ae
! Xout GetStr()[0:10]
50186ae
! 
50186ae
! 
50186ae
! delfunction GetStr
50186ae
! delfunction Add2
50186ae
! Xout  "Successfully executed funcref Add2"
50186ae
! 
50186ae
! Xcheck 0 
50186ae
! 
50186ae
! "-------------------------------------------------------------------------------
50186ae
! " Test 88:  $VIMNOERRTHROW and $VIMNOINTTHROW support			    {{{1
50186ae
  "
50186ae
  "	    It is possible to configure Vim for throwing exceptions on error
50186ae
  "	    or interrupt, controlled by variables $VIMNOERRTHROW and
50186ae
*** ../vim-7.3.842/src/testdir/test49.ok	2012-11-14 22:38:04.000000000 +0100
50186ae
--- src/testdir/test49.ok	2013-02-26 19:22:36.000000000 +0100
50186ae
***************
50186ae
*** 87,94 ****
50186ae
  *** Test  85: OK (198689)
50186ae
  --- Test  86: No Crash for vimgrep on BufUnload
50186ae
  *** Test  86: OK (0)
50186ae
! --- Test  87: All tests were run with throwing exceptions on error.
50186ae
  	      The $VIMNOERRTHROW control is not configured.
50186ae
! --- Test  87: All tests were run with throwing exceptions on interrupt.
50186ae
  	      The $VIMNOINTTHROW control is not configured.
50186ae
! *** Test  87: OK (50443995)
50186ae
--- 87,99 ----
50186ae
  *** Test  85: OK (198689)
50186ae
  --- Test  86: No Crash for vimgrep on BufUnload
50186ae
  *** Test  86: OK (0)
50186ae
! --- Test  87: 3
50186ae
! --- Test  87: 5
50186ae
! --- Test  87: abcdefghijk
50186ae
! --- Test  87: Successfully executed funcref Add2
50186ae
! *** Test  87: OK (0)
50186ae
! --- Test  88: All tests were run with throwing exceptions on error.
50186ae
  	      The $VIMNOERRTHROW control is not configured.
50186ae
! --- Test  88: All tests were run with throwing exceptions on interrupt.
50186ae
  	      The $VIMNOINTTHROW control is not configured.
50186ae
! *** Test  88: OK (50443995)
50186ae
*** ../vim-7.3.842/src/version.c	2013-02-26 21:43:28.000000000 +0100
50186ae
--- src/version.c	2013-02-26 22:53:13.000000000 +0100
50186ae
***************
50186ae
*** 730,731 ****
50186ae
--- 730,733 ----
50186ae
  {   /* Add new patch number below this line */
50186ae
+ /**/
50186ae
+     843,
50186ae
  /**/
50186ae
50186ae
-- 
50186ae
Never enter the boss's office unless it's absolutely necessary.  Every boss
50186ae
saves one corner of the desk for useless assignments that are doled out like
50186ae
Halloween candy to each visitor.
50186ae
				(Scott Adams - The Dilbert principle)
50186ae
50186ae
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
50186ae
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
50186ae
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
50186ae
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///