manpagez: man pages & more
info flex
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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.


This document was generated on November 4, 2011 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.