title: multiple definition of `yyerror'
body: <p>With Bison (or yacc) how do i solve the error </p>
  
  <pre><code> multiple definition of `yyerror'
  </code></pre>
  
  <p>I tried <code>%option noyywrap nodefault yylineno</code> and writing the prototype at the top. No luck.</p>
  
  <p>-edit-</p>
  
  <p>nevermind. when i copied paste an example to work with i didnt realize i had a yyerror function already.</p>