- Revision
- 1075
- Author
- rfscholte
- Date
- 2011-02-23 14:26:43 -0600 (Wed, 23 Feb 2011)
Log Message
Using ClassDeclaration according to JLS
Modified Paths
Diff
Modified: trunk/qdox/src/grammar/parser.y (1074 => 1075)
--- trunk/qdox/src/grammar/parser.y 2011-02-23 20:16:21 UTC (rev 1074) +++ trunk/qdox/src/grammar/parser.y 2011-02-23 20:26:43 UTC (rev 1075) @@ -89,7 +89,6 @@ package: PACKAGE fullidentifier SEMI { builder.addPackage(new PackageDef($2, line)); }; - ////ImportDeclarations: ImportDeclaration //// | ImportDeclarations ImportDeclaration; @@ -113,12 +112,17 @@ // 7.6 Top Level Type Declarations TypeDeclaration: ClassDeclaration - | InterfaceDeclaration +/* | InterfaceDeclaration */ | SEMI; + +//8.1 Class Declaration +ClassDeclaration: NormalClassDeclaration + | EnumDeclaration; + //// for migration -ClassDeclaration: class; -InterfaceDeclaration: enum; +NormalClassDeclaration: class; +EnumDeclaration: enum; // ----- JAVADOC
To unsubscribe from this list please visit:
