Bug 30704

Summary: 01e0f should be accepted as valid floating point literal
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.