Next: How do I execute code only during initialization (only before the first scan)?, Previous: How can I use more than 8192 rules?, Up: FAQ [Contents][Index]
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
.