Next: , Previous: Does flex support recursive pattern definitions?, Up: FAQ


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

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