summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorPhilipp Thomas <pthomas@suse.de>2000-06-28 23:46:27 +0000
committerPhilipp Thomas <pthomas@gcc.gnu.org>2000-06-28 23:46:27 +0000
commit5e4adfbabc05f6e37ed5ae233b0a43f144fef4f6 (patch)
treecf84960b7dcda6445f2020417d413146c796651f /gcc/diagnostic.c
parent3153b3b70c358fe8e4db599c2086f1444b2c4d21 (diff)
downloadgcc-5e4adfbabc05f6e37ed5ae233b0a43f144fef4f6.tar.gz
c-decl.c: Mark strings for translation.
2000-06-28 Philipp Thomas <pthomas@suse.de> * c-decl.c : Mark strings for translation. (parmlist_tags_warning): Use distinct messages instead of conditional expressions. * diagnostic.c (v_message_with_decl): Mark string for translation. * gcc.c: Mark messages for translation. (display_help): Combine messages into one string where necessary. * mips-tfile.c: Add intl.h. Mark messages for translation. * rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark messages for translation. * timevar.c: Mark messages for translation. * tlink.c: Likewise. * toplev.c: Likewise. From-SVN: r34773
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 564c4883cf6..634ff5106cc 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -729,7 +729,7 @@ v_message_with_decl (decl, warn, msgid, ap)
{
const char *n = (DECL_NAME (decl)
? (*decl_printable_name) (decl, 2)
- : "((anonymous))");
+ : _("((anonymous))"));
if (doing_line_wrapping ())
output_add_string (&buffer, n);
else