Patch 9.0.1652

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 23, 2023, 4:37:13 PM6/23/23
to vim...@googlegroups.com

Patch 9.0.1652 (after 9.0.1651)
Problem: Unclear why syntax test fails on Mac.
Solution: Echo v:errors when it's not empty.
Files: runtime/syntax/testdir/runtest.vim


*** ../vim-9.0.1651/runtime/syntax/testdir/runtest.vim 2023-06-22 23:04:07.316962058 +0100
--- runtime/syntax/testdir/runtest.vim 2023-06-23 21:34:03.532809757 +0100
***************
*** 145,153 ****
call StopVimInTerminal(buf)
call delete('Xtestscript')

! " Add any assert errors to s:messages
if len(v:errors) > 0
call extend(s:messages, v:errors)
let v:errors = []
let fail += 1
endif
--- 145,160 ----
call StopVimInTerminal(buf)
call delete('Xtestscript')

! " redraw here to avoid the following messages to get mixed up with screen
! " output.
! redraw
!
! " Add any assert errors to s:messages.
if len(v:errors) > 0
call extend(s:messages, v:errors)
+ " Echo the errors here, in case the script aborts or the "messages" file
+ " is not displayed later.
+ echomsg v:errors
let v:errors = []
let fail += 1
endif
*** ../vim-9.0.1651/src/version.c 2023-06-23 19:37:14.974379627 +0100
--- src/version.c 2023-06-23 21:35:05.536580303 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1652,
/**/

--
Don't be humble ... you're not that great.
-- Golda Meir

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