pgsql: Sync backend/parser/scan.l with bin/psql/psqlscan.l.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Sync backend/parser/scan.l with bin/psql/psqlscan.l.
Date: 2016-03-19 18:37:25
Message-ID: E1ahLkb-0005Gk-3E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Sync backend/parser/scan.l with bin/psql/psqlscan.l.

Make some minor formatting adjustments to make it easier to diff these
files and see that they indeed implement the same flex rules (at least
to the extent that we want them to be the same).

(Someday it'd be nice to make ecpg's pgc.l more easily diff'able too,
but today is not that day.)

Also run relevant parts of these files and psqlscanslash.l through
pgindent.

No actual behavioral changes here, just obsessive neatnik-ism.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/21c8ee79464a180ab0257abdfceae89274a46632

Modified Files
--------------
src/backend/parser/scan.l | 159 +++++++++++++++++++++++--------------------
src/bin/psql/psqlscan.l | 72 +++++++++-----------
src/bin/psql/psqlscanslash.l | 19 ++----
3 files changed, 124 insertions(+), 126 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-03-19 18:45:25 Re: pgsql: pgbench: Allow changing weights for scripts
Previous Message Peter Geoghegan 2016-03-19 18:21:31 Re: [COMMITTERS] pgsql: Improve memory management for external sorts.