Commit 5beededc by Tom Tromey Committed by Tom Tromey

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
parent 11908bbe
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.
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment