This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [Patch] Java: Use New Quoting Style in Diagnostics (2/n)
- From: Per Bothner <per at bothner dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: GCJ Patches <java-patches at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 07 Oct 2004 14:03:40 -0700
- Subject: Re: [Patch] Java: Use New Quoting Style in Diagnostics (2/n)
- References: <39399b9d04100712231f0666f9@mail.gmail.com>
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.
--
--Per Bothner
per@bothner.com http://per.bothner.com/