Bug 30704 - 01e0f should be accepted as valid floating point literal
Summary: 01e0f should be accepted as valid floating point literal
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 07:21 EST by Philipe Mulet CLA
Modified: 2003-02-10 12:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2003-01-31 07:21:15 EST
Build 20030129

The following code should compile clear:

public class X {
	public static void main(String[] args) {
		float f = 08e0f;
	}
}

currently, it reports a syntax error.
Comment 1 Philipe Mulet CLA 2003-01-31 07:23:52 EST
Fixed in latest (scanner was only expecting exponent if . got read before).
Comment 2 David Audel CLA 2003-02-10 12:56:40 EST
Verified.