pgsql: Partial pgindent of .l and .y files - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Partial pgindent of .l and .y files
Date
Msg-id E1tQUkL-001IgO-M8@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: meson: Export all libcommon functions in Windows builds
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add commit 301de6a6f60 to .git-blame-ignore-revs.