Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/indent tests/indent: remove unnecessary option...
details: https://anonhg.NetBSD.org/src/rev/32b194509567
branches: trunk
changeset: 1026456:32b194509567
user: rillig <rillig%NetBSD.org@localhost>
date: Thu Nov 25 16:56:02 2021 +0000
description:
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 ';'.
diffstat:
tests/usr.bin/indent/opt_pcs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 1332052912bb -r 32b194509567 tests/usr.bin/indent/opt_pcs.c
--- a/tests/usr.bin/indent/opt_pcs.c Thu Nov 25 16:51:24 2021 +0000
+++ b/tests/usr.bin/indent/opt_pcs.c Thu Nov 25 16:56:02 2021 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index