Bug 70984 - [1.5] Invalid syntax error
Summary: [1.5] Invalid syntax error
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-28 10:32 EDT by Philipe Mulet CLA
Modified: 2005-01-11 11:02 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 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)