summaryrefslogtreecommitdiff
path: root/src/testdir/test3.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-11-30 17:20:23 +0100
committerBram Moolenaar <Bram@vim.org>2011-11-30 17:20:23 +0100
commit3388bb4847af9003623fd004ccd3e6bb05475c81 (patch)
treed4c8ddd4764ec4caeddfe52926d579320e202361 /src/testdir/test3.in
parent0612ec8d53ccc67f886dca470c10027336be959f (diff)
downloadvim-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.in10
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[] = {