summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorbangerth <bangerth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-02 13:34:52 +0000
committerbangerth <bangerth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-02 13:34:52 +0000
commit30e87df7d5b99e14e55e7f93055e8481ffff587a (patch)
treede4960327a2336c81d89cb0604c7670847029028 /gcc/diagnostic.c
parentadbb03afde581e6880bb7df870962c84c8815861 (diff)
downloadgcc-30e87df7d5b99e14e55e7f93055e8481ffff587a.tar.gz
Clarify the comment before the abort we hit when a translated string contains invalid formats.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 98c3bf0032c..5f3a6d0da10 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -607,7 +607,9 @@ output_format (buffer, text)
|| !(*buffer->format_decoder) (buffer, text))
{
/* Hmmm. The front-end failed to install a format translator
- but called us with an unrecognized format. Sorry. */
+ but called us with an unrecognized format. Or, maybe, the
+ translated string just contains an invalid format, or
+ has formats in the wrong order. Sorry. */
abort ();
}
}