[Bug 17508] Let enum lists end with a comma

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

--- Comment #8 from Nils Barth <nbarth+w3bugzilla@google.com> ---
Thanks Cameron!

One tweak: the latest spec uses 4 rules:
Enum                → "enum" identifier "{" EnumValueList "}" ";"
EnumValueList       → string EnumValueListComma
EnumValueListComma  → "," EnumValueListString 
                      | ε
EnumValueListString → string EnumValueListComma 
                      | ε

...though we could instead use these 3 rules, which seem a bit simpler:
Enum          → "enum" identifier "{" EnumValueList "}" ";"
EnumValueList → string EnumValues
EnumValues    → "," string EnumValues
                | ","
                | ε

WDYT?

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

Received on Monday, 5 August 2013 06:12:09 UTC