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

parser questions



Hello All
 
During Genereting the parser I received this message:
 
shift/reduce conflict in state [stack: PClasshead TLPar TCase TIdent *] on TLPar
 in {
        [ PNamedefparam = TIdent * TLPar PDefparams TRPar ] (shift),
        [ PNamedefparam = TIdent * ] followed by TLPar (reduce)
}
java.lang.RuntimeException:
 
shift/reduce conflict in state [stack: PClasshead TLPar TCase TIdent *] on TLPar
 in {
        [ PNamedefparam = TIdent * TLPar PDefparams TRPar ] (shift),
        [ PNamedefparam = TIdent * ] followed by TLPar (reduce)
}
What I must to correct in my grammar to solving this problem.
 
Thanks in advance for your help
Dmitri