Hi Evan,

As you mentioned the problem was with the action in between.
I modified it now it works fine.

There are only some shift/reduce conflicts now,which are expected.

Thanks
Sreeraj



________________________________
From: Evan Lavelle <eml-bi...@cyconix.com>
To: help-bison@gnu.org
Sent: Friday, 19 June, 2009 4:47:26 PM
Subject: Re: Newbie: how to get rid of this r/r conflict

You haven't given enough information; it looks like there's an embedded action 
you've left out. Construct a simple test case and post it.

Alternatively, just start with the production as shown in SV3.1a:

timeunits_declaration
: timeunit      time_literal ';'
| timeprecision time_literal ';'
| timeunit      time_literal ';'
   timeprecision time_literal ';'
| timeprecision time_literal ';'
   timeunit      time_literal ';'
;

there are no conflicts in this.

-Evan


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison



      ICC World Twenty20 England &#39;09 exclusively on YAHOO! CRICKET 
http://cricket.yahoo.com
_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to