Indent C code in flex and bison files

Enterprise / PostgreSQL - Peter Eisentraut [eisentraut.org] - 13 May 2022 05:17 UTC

In the style of pgindent, done semi-manually.

Discussion: https://www.postgresql.org/message-id/flat/7d062ecc-7444-23ec-a159-acd8adf9b586%40enterprisedb.com

30ed71e423 Indent C code in flex and bison files
contrib/cube/cubeparse.y | 8 +-
contrib/seg/segparse.y | 22 +-
src/backend/bootstrap/bootparse.y | 19 +-
src/backend/parser/gram.y | 2490 +++++++++++++++++++++-----------
src/backend/replication/repl_gram.y | 28 +-
src/backend/replication/repl_scanner.l | 5 +-
src/backend/utils/adt/jsonpath_gram.y | 41 +-
src/backend/utils/adt/jsonpath_scan.l | 4 +-
src/backend/utils/misc/guc-file.l | 8 +-
src/bin/pgbench/exprparse.y | 4 +-
src/interfaces/ecpg/preproc/pgc.l | 24 +-
src/pl/plpgsql/src/pl_gram.y | 469 +++---
12 files changed, 1955 insertions(+), 1167 deletions(-)

Upstream: git.postgresql.org


  • Share