This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [Patch] Java: Prepare for %q, %< and %> in diagnostic messages
- From: Per Bothner <per at bothner dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: Java Patches <java-patches at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, jsm at polyomino dot org dot uk
- Date: Mon, 04 Oct 2004 11:27:14 -0700
- Subject: Re: [Patch] Java: Prepare for %q, %< and %> in diagnostic messages
- References: <39399b9d041004111333277182@mail.gmail.com>
Ranjit Mathew wrote:
What I have done here is to use the pretty-printer function
pp_format_text() and the global diagnostic context
(global_dc) instead of vsprintf(), so that we can use the
new quoting mechanism. I tested this with a few
warning and error messages.
Tested on i686-pc-linux-gnu.
Ok for mainline?
Seems reasonable to me. Ok for mainline.
--
--Per Bothner
per@bothner.com http://per.bothner.com/