aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.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/rtl.c
parent3153b3b70c358fe8e4db599c2086f1444b2c4d21 (diff)
downloadgcc-5e4adfbabc05f6e37ed5ae233b0a43f144fef4f6.zip
gcc-5e4adfbabc05f6e37ed5ae233b0a43f144fef4f6.tar.gz
gcc-5e4adfbabc05f6e37ed5ae233b0a43f144fef4f6.tar.bz2
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/rtl.c')
-rw-r--r--gcc/rtl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 6c771f6..cf88964 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -684,18 +684,18 @@ int read_rtx_lineno = 1;
const char *read_rtx_filename = "<unknown>";
static void
-fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msg, ...))
+fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msgid, ...))
{
#ifndef ANSI_PROTOTYPES
FILE *infile;
- const char *msg;
+ const char *msgid;
#endif
va_list ap;
char context[64];
size_t i;
int c;
- VA_START (ap, msg);
+ VA_START (ap, msgid);
#ifndef ANSI_PROTOTYPES
infile = va_arg (ap, FILE *);
@@ -703,7 +703,7 @@ fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msg, ...))
#endif
fprintf (stderr, "%s:%d: ", read_rtx_filename, read_rtx_lineno);
- vfprintf (stderr, msg, ap);
+ vfprintf (stderr, _(msgid), ap);
putc ('\n', stderr);
/* Gather some following context. */
@@ -718,7 +718,7 @@ fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msg, ...))
}
context[i] = '\0';
- fprintf (stderr, "%s:%d: following context is `%s'\n",
+ fprintf (stderr, _("%s:%d: following context is `%s'\n"),
read_rtx_filename, read_rtx_lineno, context);
va_end (ap);