W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

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

From: Anton Tayanovskyy <anton.tayanovskyy@gmail.com>
Date: Mon, 13 Feb 2012 16:08:43 -0500
Message-ID: <CA+i_Kj49_xHtQxCebb1=ipa0V9GQV4FBf2ZWNRZP7_ngscg7Bw@mail.gmail.com>
To: public-script-coord@w3.org
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC