title: Antlr4: extraneous input in antlr4
body: <p>I have problem running input stream for my grammar, here is part of my grammar</p>
  
  <pre><code>expression  
  :  .... 
  |   ( '+' | '-' | '&amp;' |) expression
  |   expression ('+'|'-') expression
     ....
  ;
  </code></pre>
  
  <p>when input stream like 2+2-2 or (2+2+2)-2, error occurs </p>
  
  <pre><code>line 10:30 extraneous input '-2' expecting {',', '^',...}
  </code></pre>
  
  <p>why my grammar can not distinguish between -2 and 2-2 ?
  anyone help me please !</p>