Patch: Java: Improve character encoding error messages
Andrew Haley
aph@redhat.com
Sat May 22 10:46:00 GMT 2004
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.
More information about the Java-patches
mailing list