This is the mail archive of the
mailing list for the GCC project.
Re: [committed] Fix problem with the rename of pp_format_text to pp_format in the java front-end
Zack Weinberg wrote:
Per Bothner said:
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
Yes, that is certainly better, when appropriate.