From: Bram Moolenaar Date: Sun, 27 Dec 2020 18:18:03 +0000 (+0100) Subject: patch 8.2.2232: compiler error for falling through into next case X-Git-Tag: v8.2.2232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9618a25b9c054f0ee4e267d2db96b6e7c113ed7a;p=thirdparty%2Fvim.git 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 --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index bb191b53cd..efbf9a3cf7 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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] == '%') { diff --git a/src/version.c b/src/version.c index 02d03b7343..35f1defe31 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2232, /**/ 2231, /**/