[erlang-questions] Yecc bug-report

datacompboy <>
Thu Dec 7 07:55:29 CET 2006


On compilation this:
%========================
Nonterminals cmp compare expr.
Terminals 'string' '>' '='.
Rootsymbol compare.
Nonassoc 250 cmp.
compare -> expr cmp expr	: {cmp, '$2', '$1', '$3'}.
compare -> expr 		: {cmp, '==', '$1', {string, "TRUE"}}.
cmp -> '>' '='			: '>='.
cmp -> '>'			: '>'.
expr -> 'string'		: '$1'.
%========================

We got that:
=ERROR REPORT==== 7-Dec-2006::12:53:22 ===
Error in process <0.1667.0> on node '' with exit value: {{badmatch,{shift,5,{250,nonassoc}}},[{yecc,find_action_conflicts2,2},{yecc,'-find_action_conflicts/1-fun-0-',3},{lists,foldl,3},{yecc,'-find_action_conflicts/1-fun-1-',2},{lists,foldl,3},{yecc,find_action_conflicts,1},{yecc... 


Not good :(
--
--- suicide proc near\n call death\n suicide endp
_________________________________________________________
Post sent from http://www.trapexit.org



More information about the erlang-questions mailing list