pgsql: ecpg: major cleanup, simplification, and documentation of parse.

Started by Tom Laneover 1 year ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

ecpg: major cleanup, simplification, and documentation of parse.pl.

Remove a lot of cruft, clean up and document what's left.
This produces the same preproc.y output as before, except for
fewer blank lines. (It's not like we're making any attempt to
match the layout of gram.y, so I removed the one bit of logic
that seemed to have that in mind.)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6b005499447512abfa1e4add87dcf3e2859c4f9e

Modified Files
--------------
src/interfaces/ecpg/preproc/parse.pl | 486 +++++++++++++++++++++--------------
1 file changed, 292 insertions(+), 194 deletions(-)