help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reentrancy


From: Hans Aberg
Subject: Re: Reentrancy
Date: Fri, 12 Mar 2004 13:16:40 +0100

At 21:45 +0100 2004/03/09, Laurence Finston wrote:
>I'm writing the input routine for GNU 3DLDF using Bison and Flex.
>I've decided to use multiple processes or possibly threads.
>While I've got `yyparse()' to be reentrant, I don't see any obvious
>way of doing this for `yylex()'.  I don't want to have Flex generate
>a C++ scanner (which would be reentrant), partly because the
>documentation says this feature is experimental and partly because I
>don't see any way of getting `yyparse()' to call a member function
>of an object rather than plain `yylex()'.

Flex questions should be sent to the Help-flex mailing list:
  address@hidden
  http://mail.gnu.org/mailman/listinfo/help-flex

I think that later versions of Flex, as Bison, uses M4 to write the output
sources. It should then be easy to write ones own skeleton file, if that is
so needed.

  Hans Aberg






reply via email to

[Prev in Thread] Current Thread [Next in Thread]