Mercurial > vim
diff src/ex_docmd.c @ 32246:6e96bd314ffe v9.0.1454
patch 9.0.1454: code indenting is confused by macros
Commit: https://github.com/vim/vim/commit/7e5fe38efc105721400048a2ffdeddbe1b9c0650
Author: ichizok <gclient.gaap@gmail.com>
Date: Sat Apr 15 13:17:50 2023 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Apr 2023 14:30:05 +0200 |
parents | f3987fde6dea |
children | 5e2f81645b10 |
line wrap: on
line diff
--- 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(); }