scc

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

commit 8725d3f744980d3c1998a2fb7bbddb8daf640842
parent f646f6bb23a5a5c66c0ea91885aacef841f7f7ab
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 19 Jul 2015 09:41:06 +0200

Print strings with uppercase hexadecimal numbers

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

diff --git a/cc1/code.c b/cc1/code.c @@ -185,7 +185,7 @@ emitconst(Node *np) } else { putchar('"'); for (bp = sym->u.s; c = *bp; ++bp) - printf("%02x", (unsigned) c); + printf("%02X", (unsigned) c); } }