[Bug 22156] Allow trailing commas in Web IDL lists

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22156

--- Comment #5 from Cameron McCormack <cam@mcc.id.au> ---
(In reply to comment #4)
> (In reply to comment #2)
> > Trailing commas for enums were allowed in the other bug, but I'm not doing
> > it for extended attributes unless there is more demand.
> 
> It's pretty bizarre if a language allows trailing commas in *some*
> comma-separated syntax constructs, but not others.

Not unheard of that only some comma-separated syntax constructs in a language
allow a trailing comma.  In JS [1,2,] is fine yet function(a,b,){} isn't.
*shrug*

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 6 August 2013 01:07:15 UTC