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

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 01 Mar 2012 16:00:37 +1100
Message-ID: <4F4F0275.9030601@mcc.id.au>
To: Anton Tayanovskyy <anton.tayanovskyy@gmail.com>
CC: public-script-coord@w3.org
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

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