projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11908bb
)
lex.c (java_read_unicode): Reset bs_count when finished with `\u' sequence.
author
Tom Tromey
<tromey@cygnus.com>
Tue, 3 Oct 2000 19:10:44 +0000
(19:10 +0000)
committer
Tom Tromey
<tromey@gcc.gnu.org>
Tue, 3 Oct 2000 19:10:44 +0000
(19:10 +0000)
* lex.c (java_read_unicode): Reset bs_count when finished with
`\u' sequence.
From-SVN: r36703
gcc/java/ChangeLog
patch
|
blob
|
history
gcc/java/lex.c
patch
|
blob
|
history
diff --git
a/gcc/java/ChangeLog
b/gcc/java/ChangeLog
index 4b6d3077ad8855306886227745714bf759ee6d84..e0669b277ea244da96c83d7f99f64bae8ce7f779 100644
(file)
--- 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 5d106c416ec1a842fada4f64b0fa6cd92b216ac8..be1b1392baecabdff7075d4dfbd1e918fa6499db 100644
(file)
--- 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));