Patch 8.2.4232

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 27, 2022, 12:38:16 PM1/27/22
to vim...@googlegroups.com

Patch 8.2.4232 (after 8.2.4231)
Problem: Some compilers don't like a goto label without statement.
Solution: Return instead of using a goto.
Files: src/list.c


*** ../vim-8.2.4231/src/list.c 2022-01-27 16:36:25.415543684 +0000
--- src/list.c 2022-01-27 17:34:50.978630499 +0000
***************
*** 2487,2493 ****
{
semsg(_(e_argument_of_str_must_be_list_string_dictionary_or_blob),
func_name);
! goto theend;
}

// On type errors, the preceding call has already displayed an error
--- 2487,2493 ----
{
semsg(_(e_argument_of_str_must_be_list_string_dictionary_or_blob),
func_name);
! return;
}

// On type errors, the preceding call has already displayed an error
***************
*** 2524,2531 ****

did_emsg |= save_did_emsg;
}
-
- theend:
}

/*
--- 2524,2529 ----
*** ../vim-8.2.4231/src/version.c 2022-01-27 16:36:25.419543625 +0000
--- src/version.c 2022-01-27 17:36:11.873278137 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4232,
/**/

--
God made machine language; all the rest is the work of man.

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