Cleanups needed for indent.

This commit is contained in:
Bruce Momjian 1997-09-05 19:38:42 +00:00
parent ae50c8d84b
commit 40e5588115
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ for FILE
do
cat $FILE |
sed 's;/\* *---;/*---X_X;g' |
sed 's;[ ]else[ ]*\(/\*.*\)$;else\
\1;g' | # workaround for indent bug
detab -t4 -qc >/tmp/$$a
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