Bug 70984

Summary: [1.5] Invalid syntax error
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2004-07-28 10:32:24 EDT
JDTCore v_501

The following code should be fine from a grammar standpoint:

interface I {
    enum Location {
    }
}

we incorrectly reject it as a syntax error.
Comment 1 Olivier Thomann CLA 2004-07-28 10:38:04 EDT
I will investigate.
Comment 2 Olivier Thomann CLA 2004-07-28 11:03:56 EDT
I miss the enum declaration as part of the InterfaceMemberDeclaration.
Fixed. I will run all tests prior to release.
Comment 3 Olivier Thomann CLA 2004-07-28 15:12:19 EDT
Fixed and released in HEAD.
Regression test added in Converter15 (test0033)