[Issue 2477] Trailing comma in array literal sometimes accepted, sometimes not

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 30 08:49:09 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=2477



--- Comment #6 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2010-04-30 08:49:05 PDT ---
Created an attachment (id=615)
allow trailing commas in various places

modifications for ArrayLiteral, Arguments, TemplateParameterList, and
TemplateArguments.

I haven't tested it too heavily, but the simple stuff works. There might be
latent trouble in the ambiguity between ArrayInitializer and ArrayLiteral
(aside from what's already present), as I'm not well versed in what happens
past the parser.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list