Also looks like enumBody supports multiple commas with nothing between them, but dmd doesn't support it. Sould be '{' enumMember (',' enumMember)* ','? '}'