title: Not sure if this LR(1) grammar has shift/reduce conflict
body: <p>I'm trying to solve question on LR(1) grammar : </p>
  
  <pre><code>S-&gt;AA 
  A-&gt;Aa
  A-&gt; b
  </code></pre>
  
  <p>I got stuck in state 4 when :</p>
  
  <pre><code>S-&gt; AA. ,$
  A-&gt; A.a ,$
  A-&gt;.Aa ,$
  A-&gt;.a ,$
  </code></pre>
  
  <p><code>a</code> and <code>A</code> shifted to other state and <code>A</code> is reduced in the same state should I consider this grammar is not LR(1) and SLR(1) because of this conflict ? </p>