0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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
This commit is contained in:
Bram Moolenaar 2020-12-27 19:18:03 +01:00
parent e4862a0fe6
commit 9618a25b9c
2 changed files with 3 additions and 2 deletions

View File

@ -8653,9 +8653,8 @@ eval_vars(
#ifdef FEAT_EVAL
// "%%" alternate file
off = 1;
// FALLTHROUGH
#endif
// FALLTHROUGH
case SPEC_HASH: // '#' or "#99": alternate file
if (off == 0 ? src[1] == '#' : src[2] == '%')
{

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2232,
/**/
2231,
/**/