Re: warning: rule never reduced because of conflicts: @3: /* empty */

2005-05-01 Thread Eduardo Robles Elvira
El Domingo 01 Mayo 2005 13:22, escribió: > If if you want an explanation of what that means, it means exactly > what it says, namely, you have entered a grammar which is such that > no parser input can cause those rules to be reduced. Normally that is > an error in the grammar design. If you enter

warning: rule never reduced because of conflicts: @3: /* empty */

2005-05-01 Thread Eduardo Robles Elvira
Hi ! I've added some mid-rule actions, and I get a message like this one: $ bison --verbose -d lea.y lea.y: conflicts: 4 shift/reduce, 3 reduce/reduce lea.y:293.17-40: warning: rule never reduced because of conflicts: @3: /* empty */ lea.y:317.17-40: warning: rule never reduced because of confli

Conflicts shift/reduction

2005-04-13 Thread Eduardo Robles Elvira
Hello everybody ! I'm developing an Interpreter with flex & bison. The grammatical parser (with bison) part is mostly working; the problem is that there are a few problems I have yet to solve; Normally bison tells me: lea.y: conflicts: 2 shift/reduce, 4 reduce/reduce I haven't found it to misw