lex.c (java_new_lexer): Set 'encoding'.
authorBryce McKinlay <mckinlay@redhat.com>
Wed, 26 May 2004 18:45:26 +0000 (18:45 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Wed, 26 May 2004 18:45:26 +0000 (19:45 +0100)
commitb9d861bc86c97e68ea474750bb33dfd10f72119d
tree83551097f3288d4fd1d2fd84346837d37b4dd7ba
parente0885edbf5c198f300fec204b3688ecf5e6839ef
lex.c (java_new_lexer): Set 'encoding'.

* lex.c (java_new_lexer): Set 'encoding'.
(java_read_char): Improve error message for unrecognized characters.
* lex.h (struct java_lexer): New field 'encoding'.

From-SVN: r82292
gcc/java/ChangeLog
gcc/java/lex.c
gcc/java/lex.h