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 ';'.
This commit is contained in:
parent
dbc9f6e14c
commit
c5f096eda7
|
@ -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 ) ( int ) ) ) ( int ) ;
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue