ref: d35b7fc954f0df831551b99b805ebc6fc12ce525
parent: 8e13bbe043062699106c14de0977215607b3e514
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Apr 17 12:37:13 EDT 2014
Emit constants in lower case hexadecimal This criteria avoid collisions with type names, that use upper cases.
--- a/code.c
+++ b/code.c
@@ -101,7 +101,7 @@
void
emitconst(Node *np)
{
- printf("\t#%X", np->u.sym->u.i);
+ printf("\t#%x", np->u.sym->u.i);
}
void