This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping: [RFA:] .error "msg" and .warning "msg" directives.


On Fri, Nov 12, 2004 at 11:43:37AM +0100, Hans-Peter Nilsson wrote:
> Ping: <URL:http://sourceware.org/ml/binutils/2004-11/msg00064.html>.

> +   char *msg = err
> +     ? _(".error directive invoked in source file")
> +     : _(".warning directive invoked in source file");

No need to internationalize the directive (and parens needed before
err for proper formatting).

  char *msg = _("%s directive invoked in source file");
.
.
  if (err)
    as_bad (msg, ".error");
  else
    as_warn (msg, ".warning");

OK with that change.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]