http://d.puremagic.com/issues/show_bug.cgi?id=2351
--- Comment #5 from Jerry Quinn <[email protected]> 2010-02-26 05:35:27 PST --- I think the semicolon is intended to handle manifest constants. However, it doesn't look quite right. If the grammar is rewritten as follows: EnumDeclaration: enum EnumBody enum EnumTag EnumBody enum : EnumBaseType EnumBody enum EnumTag : EnumBaseType EnumBody enum EnumMember ; EnumBody: { EnumMembers } Then manifest constants will be handled by the grammar, although the compiler enforces that they need an initializer. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
