help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: how to get rid of this r/r conflict


From: sreeraj r
Subject: Re: Newbie: how to get rid of this r/r conflict
Date: Fri, 19 Jun 2009 19:59:49 +0530 (IST)

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 <address@hidden>
To: address@hidden
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


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



      ICC World Twenty20 England &#39;09 exclusively on YAHOO! CRICKET 
http://cricket.yahoo.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]