commit 0bf03263b1eb578bb353c6bc93f1636caaba89d0
parent b31a69f53b112c12d875af188abe3699f48f9620
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 20 Aug 2015 22:42:03 +0200
Emit error sequence in cc1 errors
We need some way to transmit errors to the backend
and the best way is to transmit this sequence which is
impossible in a correct code.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/cc1/error.c b/cc1/error.c
@@ -24,6 +24,10 @@ warn_error(int flag, char *fmt, va_list va)
putc('\n', stderr);
if (flag < 0) {
+ if (!failure) {
+ failure = 1;
+ puts("????");
+ }
failure = 1;
if (nerrors++ == MAXERRNUM) {
fputs("too many errors\n", stderr);