aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorWolfgang Bangerth <bangerth@gcc.gnu.org>2003-05-02 07:34:52 -0600
committerWolfgang Bangerth <bangerth@gcc.gnu.org>2003-05-02 07:34:52 -0600
commit5ca5a6554e73c0c72d92751cf0f391912aef97b5 (patch)
treede4960327a2336c81d89cb0604c7670847029028 /gcc
parentf2ba7ecb3160674083f0716fa819b70bf16473a3 (diff)
downloadgcc-5ca5a6554e73c0c72d92751cf0f391912aef97b5.zip
gcc-5ca5a6554e73c0c72d92751cf0f391912aef97b5.tar.gz
gcc-5ca5a6554e73c0c72d92751cf0f391912aef97b5.tar.bz2
Clarify the comment before the abort we hit when a translated string contains invalid formats.
From-SVN: r66381
Diffstat (limited to 'gcc')
-rw-r--r--gcc/diagnostic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 98c3bf0..5f3a6d0 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 ();
}
}