Patch 8.2.2232

7 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 27, 2020, 1:19:04 PM12/27/20
to vim...@googlegroups.com

Patch 8.2.2232
Problem: Compiler error for falling through into next case.
Solution: Move FALLTHROUGH below the #endif
Files: src/ex_docmd.c


*** ../vim-8.2.2231/src/ex_docmd.c 2020-12-27 17:35:14.617431629 +0100
--- src/ex_docmd.c 2020-12-27 19:16:29.551645204 +0100
***************
*** 8653,8661 ****
#ifdef FEAT_EVAL
// "%%" alternate file
off = 1;
- // FALLTHROUGH
#endif
!
case SPEC_HASH: // '#' or "#99": alternate file
if (off == 0 ? src[1] == '#' : src[2] == '%')
{
--- 8653,8660 ----
#ifdef FEAT_EVAL
// "%%" alternate file
off = 1;
#endif
! // FALLTHROUGH
case SPEC_HASH: // '#' or "#99": alternate file
if (off == 0 ? src[1] == '#' : src[2] == '%')
{
*** ../vim-8.2.2231/src/version.c 2020-12-27 19:00:20.706479331 +0100
--- src/version.c 2020-12-27 19:17:31.695463077 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2232,
/**/

--
hundred-and-one symptoms of being an internet addict:
30. Even though you died last week, you've managed to retain OPS on your
favorite IRC channel.

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