diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-14 20:13:55 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-14 20:13:55 +0000 |
commit | 10ceba88f049891e088fc7c319c1fc114f94278d (patch) | |
tree | be3d1dccb11d4cffe408ae4765a4888f22bb2cd1 /gcc/diagnostic.c | |
parent | a8f5ddb8b5f8949f32c7e04dad87e81ddf92d629 (diff) | |
download | gcc-10ceba88f049891e088fc7c319c1fc114f94278d.tar.gz |
* diagnostic.c (sorry): Increment sorrycount before saving the
buffer state.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48005 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 417e8b31f38..d3b5ea1ff7f 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -1049,9 +1049,9 @@ sorry VPARAMS ((const char *msgid, ...)) VA_OPEN (ap, msgid); VA_FIXEDARG (ap, const char *, msgid); + ++sorrycount; os = output_buffer_state (diagnostic_buffer); - ++sorrycount; output_set_prefix (diagnostic_buffer, context_as_prefix (input_filename, lineno, 0)); output_printf (diagnostic_buffer, "sorry, not implemented: "); |