This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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


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
globals?

Yes, that is certainly better, when appropriate. -- --Per Bothner per@bothner.com http://per.bothner.com/


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