- From: <bugzilla@jessica.w3.org>
- Date: Thu, 10 Apr 2014 17:52:59 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25312
Boris Zbarsky <bzbarsky@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bzbarsky@mit.edu
--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
Uh.. this already works. It was fixed in bug 17508.
Here's an example. Say you have:
enum Foo { "foo", }
The tokenizer sees the '{', then expects an EnumValueList.
EnumValueList → string EnumValueListComma
The tokenizer sees the string "foo", then expects EnumValueListComma.
EnumValueListComma → "," EnumValueListString
| ε
The tokenizer sees a ',', then expects EnumValueListString
EnumValueListString → string EnumValueListComma
| ε
The tokenizer doesn't see a string, but EnumValueListString is allowed to be
empty so we match all that, go back to our Enum production, see the expected
'}', and all is good.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 10 April 2014 17:53:03 UTC