commit d35b7fc954f0df831551b99b805ebc6fc12ce525
parent 8e13bbe043062699106c14de0977215607b3e514
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 17 Apr 2014 16:37:13 +0200
Emit constants in lower case hexadecimal
This criteria avoid collisions with type names, that
use upper cases.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code.c b/code.c
@@ -101,7 +101,7 @@ emitdcl(Symbol *sym)
void
emitconst(Node *np)
{
- printf("\t#%X", np->u.sym->u.i);
+ printf("\t#%x", np->u.sym->u.i);
}
void