[webidl] Error in SerializerRest production (#88)

The SerializerRest production currently reads:

    [31] SerializerRest →
        OperationRest
      | "=" SerializationPattern 
      | ε

which appears not to match the final semicolon present on all InterfaceMembers.

I believe it should read:

    [31] SerializerRest →
        OperationRest
      | "=" SerializationPattern ";"
      | ";"

(OperationRest contains the semicolon.)

By the way, I appreciate that the grammar is structured to be suitable for use as a parsing expression grammar.

---
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/88

Received on Tuesday, 2 February 2016 04:51:35 UTC