diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-10-03 19:10:44 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-10-03 19:10:44 +0000 |
commit | 5beededc7ee5e8fa0cc8ba552efc748d47a16f59 (patch) | |
tree | 579414ed32491e06f6a8313a31bb86816a0143c6 /gcc/java/lex.c | |
parent | 11908bbe42dc8ba55c369ad3d2ab1e8f74fbfc2a (diff) | |
download | gcc-5beededc7ee5e8fa0cc8ba552efc748d47a16f59.zip gcc-5beededc7ee5e8fa0cc8ba552efc748d47a16f59.tar.gz gcc-5beededc7ee5e8fa0cc8ba552efc748d47a16f59.tar.bz2 |
lex.c (java_read_unicode): Reset bs_count when finished with `\u' sequence.
* lex.c (java_read_unicode): Reset bs_count when finished with
`\u' sequence.
From-SVN: r36703
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |