This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Add newline after GTY diagnostics
- From: Diego Novillo <dnovillo at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Apr 2009 09:45:50 -0400
- Subject: [committed] Add newline after GTY diagnostics
Noticed while merging trunk into lto and getting lots of GTY
messages due to the recent syntax change.
Tested on x86_64. Committed to mainline.
Diego.
* gengtype-parse.c (parse_error): Add newline after message.
Index: gengtype-parse.c
===================================================================
--- gengtype-parse.c (revision 146720)
+++ gengtype-parse.c (working copy)
@@ -141,6 +141,8 @@ parse_error (const char *msg, ...)
vfprintf (stderr, msg, ap);
va_end (ap);
+ fputc ('\n', stderr);
+
hit_error = true;
}