This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] Fix problem with the rename of pp_format_text to pp_format in the java front-end


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]