This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
regressions in error message formatting
- From: Per Bothner <per at bothner dot com>
- To: java at gcc dot gnu dot org, rmathew at hotmail dot com
- Date: Sun, 12 Sep 2004 18:05:31 -0700
- Subject: regressions in error message formatting
I noticed various error messages had reverted to using
old-style accent grave in place of single quotes. I.e.
PR163.java:7: error: final field 'foo' may not have been initialized
became:
PR163.java:7: error: final field `foo' may not have been initialized
This was well-meaningly fixed by Ranjit Mathew on 2004-07-04,
I assume to be consistent with other error message. Unfortunately,
the fix is in the wrong direction: The old convention was to
quote variables `thus' but this is ugly in modern fonts and is
not considered correct use of the accent grave charecter.
At some point we'll fix all the error messages, but let's at
least not make things worse.
Furthermore, it appears some error messages were changed
to start with a capital letter (see the final_assign_error
function). I don't believe that is consistent with our
error message conventions.
Since this is a regression, I think we should try to fix
this for 4.0.0. If it is easier to fix all of them, rather
than just the ones that have changed, that is fine IMO.
--
--Per Bothner
per@bothner.com http://per.bothner.com/