Commit 0c386769 by Philipp Thomas Committed by Philipp Thomas

rtl.c: Revert NLS changes.

2000-06-29  Philipp Thomas  <pthomas@suse.de>

	* rtl.c : Revert NLS changes.
	* gcc.c : Fix bug in display_help introced by my last changes.

From-SVN: r34778
parent 014d6e6c
2000-06-29 Philipp Thomas <pthomas@suse.de>
* rtl.c : Revert NLS changes.
* gcc.c : Fix bug in display_help introced by my last changes.
Wed Jun 28 21:09:33 2000 Raja R Harinath <harinath@cs.umn.edu> Wed Jun 28 21:09:33 2000 Raja R Harinath <harinath@cs.umn.edu>
* dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use * dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use
......
...@@ -2846,10 +2846,11 @@ display_help () ...@@ -2846,10 +2846,11 @@ display_help ()
guessing the language based on the file's extension\n\ guessing the language based on the file's extension\n\
"), stdout); "), stdout);
printf (_("\n\ printf (_("\
Options starting with -g, -f, -m, -O or -W are automatically passed on to\n\ \nOptions starting with -g, -f, -m, -O or -W are automatically passed on to\n\
the various sub-processes invoked by %s. In order to pass other options\n\ the various sub-processes invoked by %s. In order to pass other options\n\
on to these processes the -W<letter> options must be used.\n\"), programname); on to these processes the -W<letter> options must be used.\n\
"), programname);
/* The rest of the options are displayed by invocations of the various /* The rest of the options are displayed by invocations of the various
sub-processes. */ sub-processes. */
......
...@@ -684,18 +684,18 @@ int read_rtx_lineno = 1; ...@@ -684,18 +684,18 @@ int read_rtx_lineno = 1;
const char *read_rtx_filename = "<unknown>"; const char *read_rtx_filename = "<unknown>";
static void static void
fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msgid, ...)) fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msg, ...))
{ {
#ifndef ANSI_PROTOTYPES #ifndef ANSI_PROTOTYPES
FILE *infile; FILE *infile;
const char *msgid; const char *msg;
#endif #endif
va_list ap; va_list ap;
char context[64]; char context[64];
size_t i; size_t i;
int c; int c;
VA_START (ap, msgid); VA_START (ap, msg);
#ifndef ANSI_PROTOTYPES #ifndef ANSI_PROTOTYPES
infile = va_arg (ap, FILE *); infile = va_arg (ap, FILE *);
...@@ -703,7 +703,7 @@ fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msgid, ...)) ...@@ -703,7 +703,7 @@ fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msgid, ...))
#endif #endif
fprintf (stderr, "%s:%d: ", read_rtx_filename, read_rtx_lineno); fprintf (stderr, "%s:%d: ", read_rtx_filename, read_rtx_lineno);
vfprintf (stderr, _(msgid), ap); vfprintf (stderr, msg, ap);
putc ('\n', stderr); putc ('\n', stderr);
/* Gather some following context. */ /* Gather some following context. */
...@@ -718,7 +718,7 @@ fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msgid, ...)) ...@@ -718,7 +718,7 @@ fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msgid, ...))
} }
context[i] = '\0'; 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); read_rtx_filename, read_rtx_lineno, context);
va_end (ap); va_end (ap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment