simple C compiler
git clone git://
Log | Files | Refs | README | LICENSE

commit daa0539caebccf335be2b5c68e39d9a461e4829a
parent 828c43bb708253129804d15ebf32a711be93cd47
Author: Roberto E. Vargas Caballero <>
Date:   Wed, 23 Sep 2015 20:29:15 +0200

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.

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

diff --git a/cc1/code.c b/cc1/code.c @@ -319,7 +319,7 @@ emitcast(unsigned op, void *arg) 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