Commit 4ff8507e by Jason Merrill Committed by Jason Merrill

diagnostic.c (sorry): Increment sorrycount before saving the buffer state.

        * diagnostic.c (sorry): Increment sorrycount before saving the
        buffer state.

From-SVN: r48005
parent eec87542
2001-12-14 Jason Merrill <jason@redhat.com>
* diagnostic.c (sorry): Increment sorrycount before saving the
buffer state.
Fri Dec 14 19:53:23 CET 2001 Jan Hubicka <jh@suse.cz> Fri Dec 14 19:53:23 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.md (sqrt?f): Fix conditionals. * i386.md (sqrt?f): Fix conditionals.
......
...@@ -1049,9 +1049,9 @@ sorry VPARAMS ((const char *msgid, ...)) ...@@ -1049,9 +1049,9 @@ sorry VPARAMS ((const char *msgid, ...))
VA_OPEN (ap, msgid); VA_OPEN (ap, msgid);
VA_FIXEDARG (ap, const char *, msgid); VA_FIXEDARG (ap, const char *, msgid);
++sorrycount;
os = output_buffer_state (diagnostic_buffer); os = output_buffer_state (diagnostic_buffer);
++sorrycount;
output_set_prefix output_set_prefix
(diagnostic_buffer, context_as_prefix (input_filename, lineno, 0)); (diagnostic_buffer, context_as_prefix (input_filename, lineno, 0));
output_printf (diagnostic_buffer, "sorry, not implemented: "); output_printf (diagnostic_buffer, "sorry, not implemented: ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment