pg_bsd_indent: implement -lps ("leave preprocessor space")

From: Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>
Subject: pg_bsd_indent: implement -lps ("leave preprocessor space")
Date: 2017-02-08 01:24:40
Message-ID: AM4PR03MB1586C5333F73E9940F3EEACEF2420@AM4PR03MB1586.eurprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
leave_preprocessor_space.diff text/x-patch 2.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonathan S. Katz 2017-02-08 01:52:56 Re: Press Release Draft - 2016-02-09 Cumulative Update
Previous Message Michael Paquier 2017-02-08 00:30:19 Re: possibility to specify template database for pg_regress