0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.1688: some macros are used without a semicolon

Problem:    Some macros are used without a semicolon, causing auto-indent to be
            wrong.
Solution:   Use the do-while(0) trick. (Ozaki Kiichi, closes #2729)
This commit is contained in:
Bram Moolenaar
2018-04-10 18:47:20 +02:00
parent d6b4f2dd76
commit 6f4700233f
12 changed files with 75 additions and 49 deletions

View File

@@ -824,7 +824,7 @@ vim_main2(void)
no_wait_return = FALSE;
/* 'autochdir' has been postponed */
DO_AUTOCHDIR
DO_AUTOCHDIR;
#ifdef FEAT_TERMRESPONSE
/* Requesting the termresponse is postponed until here, so that a "-c q"