1
0
forked from aniani/vim

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

@@ -356,7 +356,7 @@ spell_load_file(
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 @@ spell_load_file(
// 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 @@ endOK:
fclose(fd);
if (did_estack_push)
{
ESTACK_CHECK_NOW
ESTACK_CHECK_NOW;
estack_pop();
}