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.

I gotta say I am decidedly unenthusiastic about this notation.  Well,
%qX is fine, but %`%' strike me as excess verbosity, surely something
better can be found?  (like, oh, scanning for `' pairs?  Or '' pairs,
which look better in the source with current X fonts?)

zw


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