Trailing spaces in lists: bug or feature?

Peter Alexander peter.alexander.au at gmail.com
Sun Jun 16 04:21:27 PDT 2013


On Sunday, 16 June 2013 at 11:01:39 UTC, monarch_dodra wrote:
> I've come to notice something which I *though* was nice, but I 
> have not yet used it extensively, because I'm unsure it is a 
> feature. I wasn't able to find an answer in the grammar.

It's in the grammar and intentional for the reasons you listed.

EnumMembers:
     EnumMember
     EnumMember ,
     EnumMember , EnumMembers

The second rule is the one that allows it. There's similar rules 
for the other cases you noticed.


More information about the Digitalmars-d mailing list