Patch to implement %` %' %q diagnostic formats
Zack Weinberg
zack@codesourcery.com
Mon May 24 19:40:00 GMT 2004
"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
More information about the Gcc-patches
mailing list