forked from aniani/vim
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:
@@ -8456,7 +8456,7 @@ set_bool_option(
|
||||
else if ((int *)varp == &p_acd)
|
||||
{
|
||||
/* Change directories when the 'acd' option is set now. */
|
||||
DO_AUTOCHDIR
|
||||
DO_AUTOCHDIR;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user