diff options
| author | Bram Moolenaar <Bram@vim.org> | 2011-11-30 17:20:23 +0100 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2011-11-30 17:20:23 +0100 |
| commit | 3388bb4847af9003623fd004ccd3e6bb05475c81 (patch) | |
| tree | d4c8ddd4764ec4caeddfe52926d579320e202361 /src/testdir/test3.in | |
| parent | 0612ec8d53ccc67f886dca470c10027336be959f (diff) | |
| download | vim-git-3388bb4847af9003623fd004ccd3e6bb05475c81.tar.gz | |
updated for version 7.3.363v7.3.363
Problem: C indenting is wrong after #endif followed by a semicolon.
Solution: Add special handling for a semicolon in a line by itself. (Lech
Lorens)
Diffstat (limited to 'src/testdir/test3.in')
| -rw-r--r-- | src/testdir/test3.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in index f987478f6..d3911427d 100644 --- a/src/testdir/test3.in +++ b/src/testdir/test3.in @@ -1454,6 +1454,16 @@ void func2(void) printf("This line used to be indented incorrectly.\n"); } +int foo[] +#ifdef BAR + += { 1, 2, 3, + 4, 5, 6 } + +#endif +; + int baz; + void func3(void) { int tab[] = { |
