digitalmars.D.bugs - [Issue 10285] New: Enum grammar documentation is incorrect
- d-bugmail puremagic.com (22/22) Jun 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10285
http://d.puremagic.com/issues/show_bug.cgi?id=10285 Summary: Enum grammar documentation is incorrect Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: websites AssignedTo: nobody puremagic.com ReportedBy: brian-schott cox.net The documentation for EnumMember states that it can consist of "type '=' assignExpression", but comments in the the compiler source code indicate that this should actually be "type Identifer '=' assignExpression". Another issue is that the grammar does not disallow the "type Identifier '=' assignExpression" syntax if the enum has a name or base type specified, but DMD's parser does. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 06 2013