diff src/spellfile.c @ 32246:6e96bd314ffe v9.0.1454

patch 9.0.1454: code indenting is confused by macros Commit: https://github.com/vim/vim/commit/7e5fe38efc105721400048a2ffdeddbe1b9c0650 Author: ichizok <gclient.gaap@gmail.com> Date: Sat Apr 15 13:17:50 2023 +0100 patch 9.0.1454: code indenting is confused by macros Problem: Code indenting is confused by macros. Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi, closes #12257)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Apr 2023 14:30:05 +0200
parents 04d9dff67d99
children 1629cc65d78d
line wrap: on
line diff
--- a/src/spellfile.c
+++ b/src/spellfile.c
@@ -356,7 +356,7 @@ spell_load_file(
     int		c = 0;
     int		res;
     int		did_estack_push = FALSE;
-    ESTACK_CHECK_DECLARATION
+    ESTACK_CHECK_DECLARATION;
 
     fd = mch_fopen((char *)fname, "r");
     if (fd == NULL)
@@ -397,7 +397,7 @@ spell_load_file(
 
     // Set sourcing_name, so that error messages mention the file name.
     estack_push(ETYPE_SPELL, fname, 0);
-    ESTACK_CHECK_SETUP
+    ESTACK_CHECK_SETUP;
     did_estack_push = TRUE;
 
     /*
@@ -588,7 +588,7 @@ endOK:
 	fclose(fd);
     if (did_estack_push)
     {
-	ESTACK_CHECK_NOW
+	ESTACK_CHECK_NOW;
 	estack_pop();
     }