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: Ranjit Mathew <rmathew at gmail dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Java Patches <java-patches at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Per Bothner <per at bothner dot com>, jsm at polyomino dot org dot uk
- Date: Tue, 5 Oct 2004 12:45:31 +0530
- Subject: Re: [Patch] Java: Prepare for %q, %< and %> in diagnostic messages
- References: <39399b9d041004111333277182@mail.gmail.com> <87oejimiuj.fsf@codesourcery.com>
- Reply-to: Ranjit Mathew <rmathew at gmail dot com>
> While you're at it, please make the messages be properly translated
> (see ABOUT-GCC-NLS in the source tree).
>
> zw
If I understand you correctly, this would just
mean changing the parameter name from "msg"
to "msgid" so that the message extractors pick
it up correctly, right? In the case in question,
this would mean changing the prototype/definition
of parse_error_context() and parse_warning_context().
(And perhaps issue_warning_error_from_context().)
Or did you have something else in mind?
Thanks,
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/