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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220127173811.ED2791C4EF6%40moolenaar.net.