title: How to solve a shift/reduce conflict?
body: <p>I'm using CUP to create a parser that I need for my thesis. I have a shift/reduce conflict in my grammar. I have this production rule:</p>
  
  <pre><code>command ::= IDENTIFIER | IDENTIFIER LPAREN parlist RPAREN;
  </code></pre>
  
  <p>and I have this warning:</p>
  
  <pre><code>Warning : *** Shift/Reduce conflict found in state #3
  between command ::= IDENTIFIER (*) 
  and     command ::= IDENTIFIER (*) LPAREN parlist RPAREN 
  under symbol LPAREN
  </code></pre>
  
  <p>Now, I actually wanted it to shift so I'm pretty ok with it, but my professor told me to find a way to solve the conflict. I'm blind. I've always read about the if/else conflict but to me this doesn't seem the case.
  Can you help me?</p>
  
  <p>P.S.: IDENTIFIER, LPAREN "(" and RPAREN ")" are terminal, parlist and command are not.</p>