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