diff src/testdir/test3.ok @ 2776:cdefcbb70e8c v7.3.164

updated for version 7.3.164 Problem: C-indenting: a preprocessor statement confuses detection of a function delcaration. Solution: Ignore preprocessor lines. (Lech Lorens) Also recognize the style to put a comma before the argument name.
author Bram Moolenaar <bram@vim.org>
date Thu, 28 Apr 2011 13:02:09 +0200
parents dc8197342755
children ac639ca9f58f
line wrap: on
line diff
--- a/src/testdir/test3.ok
+++ b/src/testdir/test3.ok
@@ -1183,3 +1183,24 @@ int main ()
 		foo;
 }
 
+
+void func(int a
+#if defined(FOO)
+		  , int b
+		  , int c
+#endif
+		 )
+{
+}
+
+
+	void
+func(int a
+#if defined(FOO)
+	 , int b
+	 , int c
+#endif
+	)
+{
+}
+