This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Quoting In Error/Warning Messages for Java
Ranjit Mathew wrote:
Another alternative: just remove the "ATTRIBUTE_"
marker for parse_error_context and proceed with
'%<' and '%>'. Put in a FIXME to put the marker
in later when we sort things out.
Is that acceptable?
Yes - but for extra points put the ATTRIBUTE_ in a
USE_MAPPED_DECLARATION and et that to work. But that's
probably too much work, as well as maybe requiring
changes to the general error functions in dianostics.c.
(What I think we should have is a language-independent
option to print out the offedning line with a caret.)
So just a comment is fine.
--
--Per Bothner
per@bothner.com http://per.bothner.com/