From ce8e0d607a2bec33fcaac7237d0b5535e5b152a1 Mon Sep 17 00:00:00 2001 From: forsyth Date: Thu, 22 Jul 2010 11:56:14 +0100 Subject: 20100722 --- utils/acid/print.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils/acid/print.c') diff --git a/utils/acid/print.c b/utils/acid/print.c index 8043fcd7..3a101b80 100644 --- a/utils/acid/print.c +++ b/utils/acid/print.c @@ -201,10 +201,10 @@ pcode(Node *n, int d) Bprint(bout, "%.*sif ", d, tabs); pexpr(l); d++; - Bprint(bout, " then\n", d, tabs); + Bprint(bout, "%.*sthen\n", d, tabs); if(r && r->op == OELSE) { slist(r->left, d); - Bprint(bout, "%.*selse\n", d-1, tabs, d, tabs); + Bprint(bout, "%.*selse\n", d-1, tabs); slist(r->right, d); } else @@ -214,7 +214,7 @@ pcode(Node *n, int d) Bprint(bout, "%.*swhile ", d, tabs); pexpr(l); d++; - Bprint(bout, " do\n", d, tabs); + Bprint(bout, "%.*sdo\n", d, tabs); slist(r, d); break; case ORET: @@ -387,7 +387,7 @@ pexpr(Node *n) pexpr(l); break; case OWHAT: - Bprint(bout, "whatis", n->sym->name); + Bprint(bout, "whatis"); if(n->sym) Bprint(bout, " %s", n->sym->name); break; -- cgit v1.2.3