Module Name:    src
Committed By:   rillig
Date:           Thu Nov 25 16:56:02 UTC 2021

Modified Files:
        src/tests/usr.bin/indent: opt_pcs.c

Log Message:
tests/indent: remove unnecessary option for testing '-pcs'

Before lexi.c 1.157 from 2021-11-25, the option '-npsl' had been
necessary to prevent a wrong line break, as indent wrongly interpreted
the function declaration as a function definition, just because the
first ')' in the declaration line was not immediately followed by a ','
or ';'.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/usr.bin/indent/opt_pcs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/indent/opt_pcs.c
diff -u src/tests/usr.bin/indent/opt_pcs.c:1.10 src/tests/usr.bin/indent/opt_pcs.c:1.11
--- src/tests/usr.bin/indent/opt_pcs.c:1.10	Thu Nov 25 16:51:24 2021
+++ src/tests/usr.bin/indent/opt_pcs.c	Thu Nov 25 16:56:02 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: opt_pcs.c,v 1.10 2021/11/25 16:51:24 rillig Exp $ */
+/* $NetBSD: opt_pcs.c,v 1.11 2021/11/25 16:56:02 rillig Exp $ */
 /* $FreeBSD$ */
 
 /*
@@ -47,12 +47,12 @@ void ( * signal ( void ( * handler ) ( i
 int var = (function)(arg);
 #indent end
 
-#indent run -npsl -di0 -pcs
+#indent run -di0 -pcs
 void (*signal (void (*handler) (int))) (int);
 int var = (function) (arg);
 #indent end
 
-#indent run -npsl -di0 -npcs
+#indent run -di0 -npcs
 void (*signal(void (*handler)(int)))(int);
 int var = (function)(arg);
 #indent end

Reply via email to