summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-27 19:18:03 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-27 19:18:03 +0100
commit9618a25b9c054f0ee4e267d2db96b6e7c113ed7a (patch)
treef9feec245acc80e076da032776154a4f2345dd24
parente4862a0fe62261754daf476866ef2aa8586b716c (diff)
patch 8.2.2232: compiler error for falling through into next casev8.2.2232
Problem: Compiler error for falling through into next case. Solution: Move FALLTHROUGH below the #endif
-rw-r--r--src/ex_docmd.c3
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 2 deletions
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
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2232,
+/**/
2231,
/**/
2230,