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

Hi,

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?


Thanks,

Anton



-- 
Kind Regards,
Anton Tayanovskyy

WebSharper™ - type-safe JavaScript in F#
http://intellifactory.com

Received on Monday, 13 February 2012 21:40:16 UTC