changeset 23378:8e956ea07bb2 v8.2.2232

patch 8.2.2232: compiler error for falling through into next case Commit: https://github.com/vim/vim/commit/9618a25b9c054f0ee4e267d2db96b6e7c113ed7a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 27 19:18:03 2020 +0100 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
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Dec 2020 19:30:03 +0100
parents 9ab713bd803a
children 200f510d1b72
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -8653,9 +8653,8 @@ eval_vars(
 #ifdef FEAT_EVAL
 		// "%%" alternate file
 		off = 1;
+#endif
 		// FALLTHROUGH
-#endif
-
 	case SPEC_HASH:		// '#' or "#99": alternate file
 		if (off == 0 ? src[1] == '#' : src[2] == '%')
 		{
--- 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,