Partial pgindent of .l and .y files
Peter Eisentraut <peter@eisentraut.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/cube/cubeparse.y | modified | +3 −3 |
| contrib/cube/cubescan.l | modified | +4 −3 |
| contrib/seg/segscan.l | modified | +5 −4 |
| src/backend/bootstrap/bootscanner.l | modified | +4 −3 |
| src/backend/parser/gram.y | modified | +45 −40 |
| src/backend/parser/scan.l | modified | +2 −2 |
| src/backend/replication/repl_scanner.l | modified | +2 −2 |
| src/backend/replication/syncrep_scanner.l | modified | +2 −1 |
| src/backend/utils/adt/jsonpath_gram.y | modified | +7 −7 |
| src/backend/utils/adt/jsonpath_scan.l | modified | +54 −49 |
| src/backend/utils/misc/guc-file.l | modified | +7 −7 |
| src/bin/pgbench/exprparse.y | modified | +10 −7 |
| src/bin/psql/psqlscanslash.l | modified | +4 −3 |
| src/fe_utils/psqlscan.l | modified | +3 −3 |
| src/interfaces/ecpg/preproc/pgc.l | modified | +3 −3 |
| src/pl/plpgsql/src/pl_gram.y | modified | +52 −51 |