Re: Restarting lex portably (or flex) (Vern Paxson)
Thu, 21 Feb 91 01:08:28 GMT

          From comp.compilers

Related articles
Restarting lex portably (or flex) (1991-02-16)
Re: Restarting lex portably (or flex) (1991-02-21)
| List of all articles for this month |

Newsgroups: comp.compilers
From: (Vern Paxson)
Keywords: lex, flex
Organization: Lawrence Berkeley Laboratory, Berkeley
References: <>
Date: Thu, 21 Feb 91 01:08:28 GMT

In article <> (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
Real Time Systems ucbvax!!vern
Lawrence Berkeley Laboratory (415) 486-7504

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.