bug-bison
[Top][All Lists]
Advanced

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

Re: Why is this a Reduce/Shift Conflict?


From: Pascal Bart
Subject: Re: Why is this a Reduce/Shift Conflict?
Date: Sun, 17 Feb 2002 12:40:33 +0100

Hello,

    your problem comes from that :

%token AND OR NOT 
%token EQ NE GT GE LT LE
%token '=' 

%left  '-' '+'
%left  '*' '/'
%right '^'

    you don't define any associativity for the token AND, you should
put : %left AND, or any other associative informations like (%right,
or %nonassoc.
--
Pascal Bart (address@hidden)
("Beati pauperes spiritu")






reply via email to

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