commit b9856b63e76cd86231ac9075d27dcde8231a0aea
parent a0796b4c04fdb332658a59a571897a4db17a3bbe
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 10 Oct 2014 09:13:07 +0200
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/cc1/code.c b/cc1/code.c
@@ -185,6 +185,7 @@ emitprint(Node *np)
{
(*np->code)(np);
printf("\tk%c\n", np->type->letter);
+ fflush(stdout);
}
void