scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 3416241f55a7f93c93ca5374a532fa194c4f6292
parent f1bcf404decd303a4905dbc12bbbd4736b7ca1b4
Author: Quentin Carbonneaux <quentin@c9x.me>
Date:   Fri,  9 Dec 2016 17:05:24 -0500

[cc1] Output array sizes in hex

Diffstat:
Mcc1/code.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/code.c b/cc1/code.c @@ -252,7 +252,7 @@ emittype(Type *tp) emitletter(tp); putchar('\t'); emitletter(tp->type); - printf("\t#%c%lld\n", + printf("\t#%c%llX\n", sizettype->letter, (long long) tp->n.elem); return; case PTR: