do
cat $FILE |
sed 's;/\* *---;/*---X_X;g' |
- sed 's;[ ]else[ ]*\(/\*.*\)$;else\
-\1;g' | # workaround for indent bug
+ sed 's;\([} ]\)else[ ]*\(/\*.*\)$;\1else\
+\2;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
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.4 1997/09/05 19:32:28 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.5 1997/09/05 19:59:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
tletype = (Oid) ((Var*)thenode)->vartype;
else if (IsA(thenode,Const))
tletype = (Oid) ((Const*)thenode)->consttype;
- else if (IsA(thenode,Param)) {
+ else if (IsA(thenode,Param))
tletype = (Oid) ((Param*)thenode)->paramtype;
- else if (IsA(thenode,Expr)) {
+ else if (IsA(thenode,Expr))
tletype = Expr;
- } else if (IsA(thenode,LispList)) {
+ else if (IsA(thenode,LispList)) {
thenode = lfirst(thenode);
if (IsA(thenode,Oper))
tletype = (Oid) get_opresulttype((Oper*)thenode);