commit 029e5020e2d2dd9254418183159333a6cfe4c69c
parent 6b6159b3a7745bae7fb9d8672cab8bbd9713ad3c
Author: rsc <devnull@localhost>
Date: Fri, 18 Mar 2005 18:49:50 +0000
use %#
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/acid/port b/acid/port
@@ -37,7 +37,7 @@ defn params(param)
{
while param do {
sym = head param;
- print(sym[0], "=", itoa(sym[1], "%ux"));
+ print(sym[0], "=", itoa(sym[1], "%#ux"));
param = tail param;
if param then
print (",");
@@ -54,7 +54,7 @@ defn locals(l)
while l do {
sym = head l;
- print(stkprefix, "\t", sym[0], "=", itoa(sym[1], "%ux"), "\n");
+ print(stkprefix, "\t", sym[0], "=", itoa(sym[1], "%#ux"), "\n");
l = tail l;
}
}
@@ -102,7 +102,7 @@ defn _stk(regs, dolocals)
params(paramlist);
print(")");
if pc != fn then
- print("+", itoa(pc-fn, "%ux"));
+ print("+", itoa(pc-fn, "%#ux"));
print(" ");
pfl(pc);
if dolocals then