title: calling yyparse() multiple times with same input file
body: <p>I am calling <code>yyparse()</code> multiple times with the same input file. I have to start parsing from beggining of the file upto some point and then jump to some other location in the same file (parse some lines there), and then come back to original position and start parsing again from there. This I am doing many times. Each time before I call <code>yyparse()</code>, I am opening the same input file freshly, and then pointing to position, from where i have to start parsing.</p>
  
  <p>I am having problem in returning back to original position. I can jump to some other location, but returning from there to original position is problem. My parser is going to some other location while returning, parse few lines from there, and then come to original position. How can i avoid these extra line parsing? I am using <code>yyrestart();</code> before new call to <code>yyparse();</code></p>