From: Sam Leffler Date: Thu, 23 Jan 1986 16:35:09 +0000 (-0800) Subject: add ACONFMT for printing address constants in hex X-Git-Tag: BSD-4_3-Snapshot-Development~3529 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/d51a827554b32ab74197e5a44162272b2703eee9 add ACONFMT for printing address constants in hex SCCS-vsn: old/pcc/ccom.tahoe/macdefs.h 1.2 --- diff --git a/usr/src/old/pcc/ccom.tahoe/macdefs.h b/usr/src/old/pcc/ccom.tahoe/macdefs.h index bd946528ee..befe627ef6 100644 --- a/usr/src/old/pcc/ccom.tahoe/macdefs.h +++ b/usr/src/old/pcc/ccom.tahoe/macdefs.h @@ -1,4 +1,4 @@ -/* macdefs.h 1.1 86/01/11 */ +/* macdefs.h 1.2 86/01/23 */ # define makecc(val,i) lastcon = (lastcon<<8)|((val<<24)>>24); @@ -25,6 +25,7 @@ /* should be long if feasable */ # define CONSZ long +# define ACONFMT "$0x%lx" # define CONFMT "%ld" /* size in which offsets are kept