ref: e6e455cf62362367eed000de2771ca275953ec93
parent: 279d40a3b400b6b56def291ae5f558d5527fe7bf
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Aug 14 03:32:47 EDT 2015
Fix emitbin() Emitbin() was printing directly the letter of the type, but it is incorrect since we have emitletter() now, which take care of struct/union/vector and print the id to.
--- a/cc1/code.c
+++ b/cc1/code.c
@@ -303,8 +303,8 @@
emitnode(np->left);
emitnode(np->right);
- if ((s = optxt[op]) != NULL)
- printf("\t%s%c", s, np->type->letter);
+ printf("\t%s", optxt[op]);
+ emitletter(np->type);
}
static void