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]

Patch: Java: Improve character encoding error messages


Bryce McKinlay writes:
 > This patch improves GCJ's error message when a character in the source 
 > file is not recognised in the encoding being used. It prints the name of 
 > the encoding being used, which should help people figure out what is 
 > going on a little easier.
 > 
 > OK to commit?
 > 
 > Bryce
 > 
 > 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
 > 
 > 	* lex.c (java_new_lexer): Set `encoding'.
 > 	(java_read_char): Improve error message for unrecognized characters.
 > 	* lex.h (struct java_lexer): New field `encoding'.

OK.

Andrew.


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