[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Flex & Multiple Threads
From: |
Andrew Droffner |
Subject: |
Re: Flex & Multiple Threads |
Date: |
Mon, 9 Oct 2000 12:27:13 -0400 (EDT) |
I'm unable to compile the scan.l LEX specification using the bootstrap
scanner, initscan.c. I have tried it on the latest flex source from GNU,
and the tarball from your page at ee.lbl.gov.
If I drop the "%option reentrant" from scan.l, then it all compiles. I
doubt it works right then. What else do I need here, a new initscan.c?
Thanks for the help.
On Thu, 5 Oct 2000, Vern Paxson wrote:
> > I'm interested in building a multi-threaded server using YACC & Lex.
> > The server & client parse the data they pass to each other.
> >
> > The Bison dialect of YACC uses a "%pure_parser" option to force re-entrant
> > code. I would like a Flex equivalent; is there one already?
>
> There are patches to flex to support reentrant scanners, which I've
> put in ftp://ftp.ee.lbl.gov/.vp-flex-reentrant.tar.gz .
>
> Also, please note, flex maintenance has been taken over by Dick King
> <address@hidden>.
>
> Vern
>
--
[ Andrew Droffner
[ Advance Publications Internet
[
[ address@hidden