Re: [HACKERS] pg_bsd_indent: implement -lps ("leave preprocessor space")

2017-02-09 Thread Antonin Houska
Andres Freund wrote: > On 2017-02-07 23:30:44 -0500, Tom Lane wrote: > > Piotr Stefaniak writes: > > > this is a patch that Andres asked me for. It makes pg_bsd_indent leave > > > preprocessor space alone, as in this example: > > > > > #if 0 > >

Re: [HACKERS] pg_bsd_indent: implement -lps ("leave preprocessor space")

2017-02-08 Thread Andres Freund
On 2017-02-07 23:30:44 -0500, Tom Lane wrote: > Piotr Stefaniak writes: > > this is a patch that Andres asked me for. It makes pg_bsd_indent leave > > preprocessor space alone, as in this example: > > > #if 0 > > # if 0 > > # if 0 > > # error > > # endif > >

Re: [HACKERS] pg_bsd_indent: implement -lps ("leave preprocessor space")

2017-02-07 Thread Tom Lane
Piotr Stefaniak writes: > this is a patch that Andres asked me for. It makes pg_bsd_indent leave > preprocessor space alone, as in this example: > #if 0 > # if 0 > # if 0 > # error > # endif > # endif > #else > # line 7 > #endif Um ... but the point

[HACKERS] pg_bsd_indent: implement -lps ("leave preprocessor space")

2017-02-07 Thread Piotr Stefaniak
Hello, this is a patch that Andres asked me for. It makes pg_bsd_indent leave preprocessor space alone, as in this example: #if 0 # if 0 # if 0 # error # endif # endif #else # line 7 #endif diff -ur pg_bsd_indent/args.c pg_bsd_indent_patched/args.c --- pg_bsd_indent/args.c