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)
diff --git a/src/spellfile.c b/src/spellfile.c
index 85956b7..d3351ef 100644
--- a/src/spellfile.c
+++ b/src/spellfile.c
@@ -356,7 +356,7 @@
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 @@
// 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 @@
fclose(fd);
if (did_estack_push)
{
- ESTACK_CHECK_NOW
+ ESTACK_CHECK_NOW;
estack_pop();
}