Skip to content

Commit 9618a25

Browse files
committed
patch 8.2.2232: compiler error for falling through into next case
Problem: Compiler error for falling through into next case. Solution: Move FALLTHROUGH below the #endif
1 parent e4862a0 commit 9618a25

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/ex_docmd.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8653,9 +8653,8 @@ eval_vars(
86538653
#ifdef FEAT_EVAL
86548654
// "%%" alternate file
86558655
off = 1;
8656-
// FALLTHROUGH
86578656
#endif
8658-
8657+
// FALLTHROUGH
86598658
case SPEC_HASH: // '#' or "#99": alternate file
86608659
if (off == 0 ? src[1] == '#' : src[2] == '%')
86618660
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2232,
753755
/**/
754756
2231,
755757
/**/

0 commit comments

Comments
 (0)