diff options
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/lex.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 4b6d307..e0669b2 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2000-09-27 Tom Tromey <tromey@cygnus.com> + + * lex.c (java_read_unicode): Reset bs_count when finished with + `\u' sequence. + 2000-10-01 Mark Mitchell <mark@codesourcery.com> Convert to GC. diff --git a/gcc/java/lex.c b/gcc/java/lex.c index 5d106c4..be1b139 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -432,6 +432,7 @@ java_read_unicode (lex, term_context, unicode_escape_p) else java_lex_error ("Non hex digit in Unicode escape sequence", 0); } + lex->bs_count = 0; *unicode_escape_p = 1; return (term_context ? unicode : (java_lineterminator (c) ? '\n' : unicode)); |