I have a CFG in the form
PB := PB | R | R
R := s
I have tried to make it ll(1) by removing the left recursion resulting in
PB := R PB' | R PB'
PB' := PB'| ϵ
R := s
However, I believe, removing the left recursion is making the grammar now ambiguous.
How can this be fixed?