Next: , Previous: , Up: FAQ   [Contents][Index]


How do I skip huge chunks of input (tens of megabytes) while using flex?

Use fseek() (or lseek()) to position yyin, then call yyrestart().