diff options
| author | forsyth <forsyth@vitanuova.com> | 2010-07-22 11:56:14 +0100 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2010-07-22 11:56:14 +0100 |
| commit | ce8e0d607a2bec33fcaac7237d0b5535e5b152a1 (patch) | |
| tree | 41e7f8c5524e6636b88085bb8d675e041ffd4c52 /utils/acid/print.c | |
| parent | 98a84ad18808c4c7892dac82539cd678dc45e952 (diff) | |
20100722
Diffstat (limited to 'utils/acid/print.c')
| -rw-r--r-- | utils/acid/print.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
