|Restarting lex portably (or flex) firstname.lastname@example.org (1991-02-16)|
|Re: Restarting lex portably (or flex) email@example.com (1991-02-21)|
|From:||firstname.lastname@example.org (Vern Paxson)|
|Organization:||Lawrence Berkeley Laboratory, Berkeley|
|Date:||Thu, 21 Feb 91 01:08:28 GMT|
In article <9102162312.AA03862@pepsi.eng.umd.edu> email@example.com (Sean Barrett) writes:
>Is there a way to start lex processing a new file when the
>previous one was *not* processed all the way to end-of-file?
>flex provides yyrestart(FILE *f), but ... is unclear whether
>[it needs to have reached EOF on the previous file first.]
It is not a precondition. I'll correct the documentation with the
next (2.4) release (no time estimate as to when that'll be, yet,
except "summer"). If you have problems with yyrestart() let me know.
Vern Paxson firstname.lastname@example.org
Real Time Systems ucbvax!ee.lbl.gov!vern
Lawrence Berkeley Laboratory (415) 486-7504
Return to the
Search the comp.compilers archives again.