diff options
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index d350e99..5659ed2 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -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'; } |