Commit 6c18d181 by Eric Blake Committed by Eric Blake

re PR java/6026 (float literals in expressions are not properly recognized)

2002-03-21  Eric Blake  <ebb9@email.byu.edu>

	Fix for PR java/6026:
	* lex.c (java_lex): Fix parsing of consecutive floats.

From-SVN: r51207
parent a8cacfd2
2002-03-21 Eric Blake <ebb9@email.byu.edu>
Fix for PR java/6026:
* lex.c (java_lex): Fix parsing of consecutive floats.
2002-03-21 Tom Tromey <tromey@redhat.com>
* parse.y (build_access_to_thisn): Stop when FROM is not an inner
......
......@@ -1154,6 +1154,8 @@ java_lex (java_lval)
{
if (JAVA_ASCII_DIGIT (c))
seen_digit = 1;
if (stage == 2)
stage = 3;
literal_token [literal_index++ ] = c;
c = java_get_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