mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04:00
Cleanups needed for indent.
This commit is contained in:
parent
ae50c8d84b
commit
40e5588115
@ -16,6 +16,8 @@ for FILE
|
|||||||
do
|
do
|
||||||
cat $FILE |
|
cat $FILE |
|
||||||
sed 's;/\* *---;/*---X_X;g' |
|
sed 's;/\* *---;/*---X_X;g' |
|
||||||
|
sed 's;[ ]else[ ]*\(/\*.*\)$;else\
|
||||||
|
\1;g' | # workaround for indent bug
|
||||||
detab -t4 -qc >/tmp/$$a
|
detab -t4 -qc >/tmp/$$a
|
||||||
indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -cli1 -di16 -nfc1 \
|
indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -cli1 -di16 -nfc1 \
|
||||||
-lp -nip -nbc -psl -di1 -i4 -l75 -npro /tmp/$$a >/tmp/$$ 2>&1
|
-lp -nip -nbc -psl -di1 -i4 -l75 -npro /tmp/$$a >/tmp/$$ 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user