Re: [heycam/webidl] Ellipsis token quirkiness? (#812)

There's a similar issue with `(`, `[`, `{` etc.  The grammar spec *says* "Note: The Other non-terminal matches any single terminal symbol except for `(`, `)`, `[`, `]`, `{`, `}` and `,`." but it includes the `other` terminal, which is defined as `/[^\t\n\r 0-9A-Za-z]/` and so definitely *does* match `(`, `[`, `{` etc.

Like you say, this is handwaved away by the "...one of the other terminal symbols from the grammar, it must be tokenized as the latter" text, but it's a big footgun.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/812#issuecomment-768628862

Received on Wednesday, 27 January 2021 22:47:11 UTC