summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.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/ex_docmd.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/ex_docmd.c')
-rw-r--r--src/ex_docmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index e814431fa5..900a0c1088 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -1390,7 +1390,7 @@ handle_did_throw(void)
{
char *p = NULL;
msglist_T *messages = NULL;
- ESTACK_CHECK_DECLARATION
+ ESTACK_CHECK_DECLARATION;
/*
* If the uncaught exception is a user exception, report it as an
@@ -1416,7 +1416,7 @@ handle_did_throw(void)
estack_push(ETYPE_EXCEPT, current_exception->throw_name,
current_exception->throw_lnum);
- ESTACK_CHECK_SETUP
+ ESTACK_CHECK_SETUP;
current_exception->throw_name = NULL;
discard_current_exception(); // uses IObuff if 'verbose'
@@ -1446,7 +1446,7 @@ handle_did_throw(void)
vim_free(p);
}
vim_free(SOURCING_NAME);
- ESTACK_CHECK_NOW
+ ESTACK_CHECK_NOW;
estack_pop();
}