diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-13 23:31:56 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-13 23:31:56 +0000 |
commit | 0837efa0d36f65b966116c0ffd2a2a351e0b83bf (patch) | |
tree | 70627fa4fa620be578785e26e358bc507ff6e62d /gcc/diagnostic.c | |
parent | 0eceebc8c0c28f41c5e9e55193d06fe0a4063f5e (diff) | |
download | gcc-0837efa0d36f65b966116c0ffd2a2a351e0b83bf.tar.gz |
2002-06-13 Eric Christopher <echristo@redhat.com>
* diagnostic.c (output_format): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54602 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 3132a3d6106..db051030d7e 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -584,7 +584,7 @@ output_format (buffer, text) output_add_string (buffer, "file '"); output_add_string (buffer, locus->file); output_add_string (buffer, "', line "); - output_decimal (buffer, locus->file); + output_decimal (buffer, locus->line); } break; @@ -892,7 +892,7 @@ diagnostic_count_diagnostic (context, kind) default: abort(); break; - + case DK_FATAL: case DK_ICE: case DK_SORRY: case DK_ANACHRONISM: case DK_NOTE: ++diagnostic_kind_count (context, kind); |