(flex.info)How do I abandon a file in the middle of a scan and switch to a new file?


Next: How do I execute code only during initialization (only before the first scan)? Prev: How can I use more than 8192 rules? Up: FAQ
Enter node , (file) or (file)node

How do I abandon a file in the middle of a scan and switch to a new file?
=========================================================================

Just call 'yyrestart(newfile)'.  Be sure to reset the start state if you
want a "fresh start, since 'yyrestart' does NOT reset the start state
back to 'INITIAL'.


automatically generated by info2www version 1.2.2.9