summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorichizok <gclient.gaap@gmail.com>2023-04-15 13:17:50 +0100
committerBram Moolenaar <Bram@vim.org>2023-04-15 13:17:50 +0100
commit7e5fe38efc105721400048a2ffdeddbe1b9c0650 (patch)
tree670353de5a42ddc725f9c109f80b05680a03d0e8 /src/buffer.c
parentb49dfd0cf296623af2d756cefc3e73b5b307734e (diff)
patch 9.0.1454: code indenting is confused by macrosv9.0.1454
Problem: Code indenting is confused by macros. Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi, closes #12257)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c
index f6c161081d..6d4c4359f0 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5641,8 +5641,7 @@ chk_modeline(
int end;
int retval = OK;
sctx_T save_current_sctx;
-
- ESTACK_CHECK_DECLARATION
+ ESTACK_CHECK_DECLARATION;
prev = -1;
for (s = ml_get(lnum); *s != NUL; ++s)
@@ -5686,7 +5685,7 @@ chk_modeline(
// prepare for emsg()
estack_push(ETYPE_MODELINE, (char_u *)"modelines", lnum);
- ESTACK_CHECK_SETUP
+ ESTACK_CHECK_SETUP;
end = FALSE;
while (end == FALSE)
@@ -5747,7 +5746,7 @@ chk_modeline(
s = e + 1; // advance to next part
}
- ESTACK_CHECK_NOW
+ ESTACK_CHECK_NOW;
estack_pop();
vim_free(linecopy);
}