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/map.c b/src/map.c
index d56895b..4bdd07e 100644
--- a/src/map.c
+++ b/src/map.c
@@ -2231,12 +2231,12 @@
int abbr;
int hash;
buf_T *bp;
- ESTACK_CHECK_DECLARATION
+ ESTACK_CHECK_DECLARATION;
validate_maphash();
// avoids giving error messages
estack_push(ETYPE_INTERNAL, (char_u *)"mappings", 0);
- ESTACK_CHECK_SETUP
+ ESTACK_CHECK_SETUP;
// Do this once for each buffer, and then once for global
// mappings/abbreviations with bp == NULL
@@ -2293,7 +2293,7 @@
if (bp == NULL)
break;
}
- ESTACK_CHECK_NOW
+ ESTACK_CHECK_NOW;
estack_pop();
}