0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

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)
This commit is contained in:
ichizok
2023-04-15 13:17:50 +01:00
committed by Bram Moolenaar
parent b49dfd0cf2
commit 7e5fe38efc
10 changed files with 66 additions and 56 deletions

View File

@@ -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();
}