I'm trying to solve question on LR(1) grammar :
S->AA
A->Aa
A-> b
I got stuck in state 4 when :
S-> AA. ,$
A-> A.a ,$
A->.Aa ,$
A->.a ,$
a
and A
shifted to other state and A
is reduced in the same state should I consider this grammar is not LR(1) and SLR(1) because of this conflict ?