[Patch] Java: Use New Quoting Style in Diagnostics (2/n)
Joseph S. Myers
jsm@polyomino.org.uk
Thu Oct 7 21:25:00 GMT 2004
On Thu, 7 Oct 2004, Per Bothner wrote:
> Ranjit Mathew wrote:
>
> > - sprintf (buffer, " with `%s'",
> > + sprintf (buffer, " with '%s'",
>
> > - sprintf (buffer, "\n which inherits from `%s' (%s:%d)",
> > + sprintf (buffer, "\n which inherits from '%s' (%s:%d)",
>
> > - fprintf (stderr, "In class `%s':\n",
> > + fprintf (stderr, "In class '%s':\n",
>
> Should these use %qs? Or do those cases not go through the
> necessary machinary? The lhd_print_error_function in
> langhooks.c uses $qs.
The lhd_print_error_function uses pp_printf - these use plain
sprintf/fprintf.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)
More information about the Java-patches
mailing list