ref: b9856b63e76cd86231ac9075d27dcde8231a0aea
parent: a0796b4c04fdb332658a59a571897a4db17a3bbe
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Oct 10 05:13:07 EDT 2014
Flush stdout after emitprint Emitprint() is only used for the interpreter, so it is a good place to flush the output, because it is not going to be used in common code.
--- a/cc1/code.c
+++ b/cc1/code.c
@@ -185,6 +185,7 @@
{
(*np->code)(np);
printf("\tk%c\n", np->type->letter);
+ fflush(stdout);
}
void