title: Skipping tokens in yacc
body: <p>I want to have a grammar rule like below in my yacc file:</p>
  
  <pre><code>insert_statement: INSERT INTO NAME (any_token)* ';'
  </code></pre>
  
  <p>We can skip all the tokens until a given token at an error, in yacc as follows:</p>
  
  <pre><code>stat: error ';'
  </code></pre>
  
  <p>Is there any mechanism to skip any number of characters in yacc, when there is no error?</p>
  
  <p>Thanks</p>