This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [committed] Fix problem with the rename of pp_format_text to pp_format in the java front-end
- From: "Zack Weinberg" <zackw at panix dot com>
- To: "Per Bothner" <per at bothner dot com>
- Cc: "Ranjit Mathew" <rmathew at gmail dot com>,"Andrew Pinski" <pinskia at physics dot uc dot edu>,"GCJ Patches" <java-patches at gcc dot gnu dot org>,"Zack Weinberg" <zack at codesourcery dot com>,"GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 6 Jul 2005 00:05:47 -0700 (PDT)
- Subject: Re: [committed] Fix problem with the rename of pp_format_text to pp_format in the java front-end
- References: <34415697542fec7a3efd0482b5f8a008@physics.uc.edu> <42C4E973.7060502@gmail.com> <42CB6FF0.7080806@bothner.com>
Per Bothner said:
> Ranjit Mathew wrote:
>> GCJ's diagnostics are still broken though. For example:
>> ...
>> It actually meant to output the formatted equivalent of:
>> No variable %qs defined in type %qs
>
> My longer-term goal is to replace all parse_error_context calls with
> calls to error or other standard diagnostic-reporting routines. If that
> gives the wrong line-number, we can temporarily set the input_location
> to a more specific "context location".
... or you could just use %H, %J, or %+D, rather than messing with the
globals?
zw