pgsql: Partial pgindent of .l and .y files

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Partial pgindent of .l and .y files
Date: 2024-12-25 17:00:34
Message-ID: E1tQUkL-001IgO-M8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Partial pgindent of .l and .y files

Trying to clean up the code a bit while we're working on these files
for the reentrant scanner/pure parser patches. This cleanup only
touches the code sections after the second '%%' in each file, via a
manually-supervised and locally hacked up pgindent.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/301de6a6f609cb3ad2d9d31fd8db9ae6c71e6dea

Modified Files
--------------
contrib/cube/cubeparse.y | 6 +-
contrib/cube/cubescan.l | 7 +-
contrib/seg/segscan.l | 9 +--
src/backend/bootstrap/bootscanner.l | 7 +-
src/backend/parser/gram.y | 85 ++++++++++++------------
src/backend/parser/scan.l | 4 +-
src/backend/replication/repl_scanner.l | 4 +-
src/backend/replication/syncrep_scanner.l | 3 +-
src/backend/utils/adt/jsonpath_gram.y | 14 ++--
src/backend/utils/adt/jsonpath_scan.l | 103 ++++++++++++++++--------------
src/backend/utils/misc/guc-file.l | 14 ++--
src/bin/pgbench/exprparse.y | 17 +++--
src/bin/psql/psqlscanslash.l | 7 +-
src/fe_utils/psqlscan.l | 6 +-
src/interfaces/ecpg/preproc/pgc.l | 6 +-
src/pl/plpgsql/src/pl_gram.y | 103 +++++++++++++++---------------
16 files changed, 207 insertions(+), 188 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-12-25 17:17:59 pgsql: Add commit 301de6a6f60 to .git-blame-ignore-revs.
Previous Message Heikki Linnakangas 2024-12-25 16:18:52 pgsql: meson: Export all libcommon functions in Windows builds