From 5d0ec6c076978846f7cbbf4bd2c0dc55d946b0f9 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 29 Mar 2010 23:34:59 -0700 Subject: [PATCH] gc: flush warnings, if any R=ken2 CC=golang-dev https://golang.org/cl/811042 --- src/cmd/gc/lex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/gc/lex.c b/src/cmd/gc/lex.c index 6489e7bee3..225a902779 100644 --- a/src/cmd/gc/lex.c +++ b/src/cmd/gc/lex.c @@ -158,6 +158,7 @@ main(int argc, char *argv[]) if(nerrors) errorexit(); + flusherrors(); exit(0); return 0;