This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: add "%J" for diagnostics (Redux. Positional format specifier for diagnostic)
Richard Henderson <rth@redhat.com> writes:
| On Tue, Sep 23, 2003 at 06:58:33PM +0200, Gabriel Dos Reis wrote:
| > %H can appear anywhere in the text. If it is at the begining then it
| > indicates the prefix, otherwise it is handled as I inidicated, just
| > like any regular format specifier.
|
| Then why do we do this?
|
| /* Skip any leading text. */
| for (p = text->format_spec; *p && *p != '%'; ++p)
| ;
we should not have it. It mush have been a copy-n-paste error. Thanks,
-- Gaby