ref: daa0539caebccf335be2b5c68e39d9a461e4829a
parent: 828c43bb708253129804d15ebf32a711be93cd47
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Sep 23 16:29:15 EDT 2015
Change format of castings Castings were expresed like two type specifier together, but it created some problems because it was difficult to know when a type specifier had to return a type or a node, so a new character was added to solve it.
--- a/cc1/code.c
+++ b/cc1/code.c
@@ -319,7 +319,7 @@
emitnode(lp);
if (np->type != voidtype)
- printf("\t%c%c", lp->type->letter, np->type->letter);
+ printf("\tg%c", lp->type->letter, np->type->letter);
}
static void