Re: Optional rule in grammar (Web IDL W3C W.D. 7 Feb 2012)

Hi Anton,

Anton Tayanovskyy:
> I am converting the IDL grammar to YACC (ocamlyacc). I get a warning
> that the following rules are never reduced:
>
> [41] Optional → "optional"
>   | ε
>
> As far as I can tell, it appears the rule is indeed extraneous.  Is it indeed?

You are right.  I've removed it now.

Thanks,

Cameron

Received on Thursday, 1 March 2012 05:01:11 UTC