diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 6f32074e30..5deb3493be 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -1086,8 +1086,7 @@ static int resolve_conflict( apx->type = SH_RESOLVED; }else{ assert( spx->prec==spy->prec && spx->assoc==NONE ); - apy->type = SRCONFLICT; - errcnt++; + apy->type = ERROR; } }else if( apx->type==REDUCE && apy->type==REDUCE ){ spx = apx->x.rp->precsym;