From 029e5020e2d2dd9254418183159333a6cfe4c69c Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 18 Mar 2005 18:49:50 +0000 Subject: use %# --- acid/port | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'acid') diff --git a/acid/port b/acid/port index 9759873e..9cd2f760 100644 --- 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 -- cgit v1.2.3