Commit e75abdab by Tom Tromey Committed by Tom Tromey

* lex.c (java_lex): Check for `e' or `E' after 0.

From-SVN: r55664
parent 9cc37f69
2002-07-22 Tom Tromey <tromey@redhat.com>
* lex.c (java_lex): Check for `e' or `E' after 0.
2002-07-21 Richard Henderson <rth@redhat.com>
* lang.c (java_unsafe_for_reeval): New.
......
......@@ -1023,9 +1023,10 @@ java_lex (java_lval)
}
else if (JAVA_ASCII_DIGIT (c))
radix = 8;
else if (c == '.')
else if (c == '.' || c == 'e' || c =='E')
{
/* Push the '.' back and prepare for a FP parsing... */
/* Push the '.', 'e', or 'E' back and prepare for a FP
parsing... */
java_unget_unicode ();
c = '0';
}
......
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