This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Patch to implement %` %' %q diagnostic formats


"Joseph S. Myers" <jsm@polyomino.org.uk> writes:

| This patch implements the %q %` %' diagnostic formats as proposed at
| <http://gcc.gnu.org/ml/gcc-bugs/2004-03/msg00302.html>.  By way of
| example it converts c-format.c to use the new formats (though more
| work is needed there to cover the places where `...' is used in
| strings that are not format strings).  If approved I'll convert the C
| front end to these formats and conversions of other parts of the
| compiler will be welcome.
| 
| Bootstrapped with no regressions on i686-pc-linux-gnu.  OK to commit?

Yes.  Thanks for implementing this.
I believe the %` %' notation -- while it did not look pretty to me in
the first place, demands less complication that plain `'.  It makes
the formatting logic straight.

[...]

| 2004-05-24  Joseph S. Myers  <jsm@polyomino.org.uk>
| 
| 	* intl.h (open_quote, close_quote): New.
| 	* intl.c (open_quote, close_quote): New.

A question: Does this mean that we build intl even when --disable-nls?
Or is that already required before your patch?

-- Gaby


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