]> granicus.if.org Git - vim/commitdiff
patch 8.2.2232: compiler error for falling through into next case v8.2.2232
authorBram Moolenaar <Bram@vim.org>
Sun, 27 Dec 2020 18:18:03 +0000 (19:18 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 27 Dec 2020 18:18:03 +0000 (19:18 +0100)
Problem:    Compiler error for falling through into next case.
Solution:   Move FALLTHROUGH below the #endif

src/ex_docmd.c
src/version.c

index bb191b53cd96383ac24ffa4ac84a935b1420e555..efbf9a3cf7f3ff742b4c8b2e5c76c91ed76515bd 100644 (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] == '%')
                {
index 02d03b734385b10a7eef38db741c5ef4cfe7f800..35f1defe3181b7474d10c414476107f383360992 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2232,
 /**/
     2231,
 /**/