[Patch] Java: Use New Quoting Style in Diagnostics (2/n)

Per Bothner per@bothner.com
Thu Oct 7 21:03:00 GMT 2004


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/



More information about the Java-patches mailing list