tuse %# - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 029e5020e2d2dd9254418183159333a6cfe4c69c
DIR parent 6b6159b3a7745bae7fb9d8672cab8bbd9713ad3c
HTML Author: rsc <devnull@localhost>
Date: Fri, 18 Mar 2005 18:49:50 +0000
use %#
Diffstat:
M acid/port | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/acid/port b/acid/port
t@@ -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 (",");
t@@ -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;
}
}
t@@ -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