From c367faad9915c6f780063ebb717a2d5b2aedbebe Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 14 Dec 2011 20:21:35 +0100 Subject: updated for version 7.3.380 Problem: C-indenting wrong for a function header. Solution: Skip to the start paren. (Lech Lorens) --- src/testdir/test3.in | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'src/testdir/test3.in') diff --git a/src/testdir/test3.in b/src/testdir/test3.in index 6c43732ab..808d03191 100644 --- a/src/testdir/test3.in +++ b/src/testdir/test3.in @@ -1429,7 +1429,7 @@ func(int a STARTTEST :set cino& -2kdd=4][ +2kdd=7][ ENDTEST void func(void) @@ -1478,7 +1478,29 @@ void func3(void) 3, 4, 5, 6}; -printf("Don't you dare indent this line incorrectly!\n); +printf("Don't you dare indent this line incorrectly!\n"); +} + +void +func4(a, b, + c) +int a; +int b; +int c; +{ +} + +void +func5( + int a, + int b) +{ +} + +void +func6( + int a) +{ } STARTTEST -- cgit v1.2.3