]> granicus.if.org Git - vim/commit
patch 8.0.1688: some macros are used without a semicolon v8.0.1688
authorBram Moolenaar <Bram@vim.org>
Tue, 10 Apr 2018 16:47:20 +0000 (18:47 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 10 Apr 2018 16:47:20 +0000 (18:47 +0200)
commit6f4700233fd925fe122b851f937929fb5e5da707
tree5c5397f70fc4a320ce0c38adba21a1de7ed7b10d
parentd6b4f2dd760b425c63c359b9ff299f73448f8854
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)
12 files changed:
src/buffer.c
src/dosinst.c
src/ex_cmds.c
src/gui_at_sb.c
src/macros.h
src/main.c
src/memline.c
src/option.c
src/os_vms.c
src/screen.c
src/version.c
src/window.c