pgsql: Clean up indentation and whitespace inconsistencies in ecpg.

Started by Tom Lanealmost 2 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Clean up indentation and whitespace inconsistencies in ecpg.

ecpg's lexer and parser files aren't normally processed by
pgindent, and unsurprisingly there's a lot of code in there
that doesn't really match project style. I spent some time
running pgindent over the fragments of these files that are
C code, and this is the result. This is in the same spirit
as commit 30ed71e42, though apparently Peter used a different
method for that one, since it didn't find these problems.

Discussion: /messages/by-id/2011420.1713493114@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/97add39c038bbdb9082b416ddf04cd20b0d20bf5

Modified Files
--------------
src/interfaces/ecpg/preproc/ecpg.addons | 231 +-
src/interfaces/ecpg/preproc/ecpg.header | 180 +-
src/interfaces/ecpg/preproc/ecpg.trailer | 3566 +++++++++++++++++-------------
src/interfaces/ecpg/preproc/pgc.l | 642 +++---
4 files changed, 2608 insertions(+), 2011 deletions(-)