1
0
forked from aniani/vim

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] == '%')
{