I specified operator precedence and association, but there are still reduce/reduce conflicts error message....

2009-05-12 Thread Yinpeng Li
%left OR %left AND %% predicate:predicate OR predicate{ $$ = new AST_PredicateTreeNode($1, $3, AST_PredicateTreeNode::OR) ; REGISTER_AST_NODE($$) ; }

Re: Token precedence only applies to tokens immediately before and after the parsing dot

2009-05-12 Thread Yinpeng Li
Sorry, I am a rookie here...Could you explain more thoroughly? On Tue, May 12, 2009 at 4:32 PM, Hans Aberg wrote: > On 12 May 2009, at 09:06, Yinpeng Li wrote: > > %left OR >> %left AND >> >> %% >> .

Re: I specified operator precedence and association, but there are still reduce/reduce conflicts error message....

2009-05-12 Thread Yinpeng Li
OK.Thanks again. On Tue, May 12, 2009 at 8:27 PM, Akim Demaille wrote: > > Le 12 mai 09 à 13:49, Yinpeng Li a écrit : > > Oh I see.THanks a lot >> >> But how can I eliminate this error message? >> > > But simply stopping calling informational message

Re: Token precedence only applies to tokens immediately before and after the parsing dot

2009-05-12 Thread Yinpeng Li
OK...Thanks anyway. Yinpeng On Tue, May 12, 2009 at 9:27 PM, Hans Aberg wrote: > > On 12 May 2009, at 12:33, Yinpeng Li wrote: > > Sorry, I am a rookie here...Could you explain more thoroughly? >> > > It was hard to interpret from your message - Akim explained. But

Re: %union problems

2009-05-15 Thread Yinpeng Li
Dear Daniel, I think this problem is currently inherent of Bison. In the tab.h generated by Bison, there are normally only three things that are incorporated: 1. The enumeration of the tokens 2. The YYSTYPE definition and yylval declaration 3. The YYLTYPE definition and yylloc declaration Notic

Re: %union problems

2009-05-16 Thread Yinpeng Li
Seems that my Bison is too old...Sigh... ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison