help-flex
[Top][All Lists]
Advanced

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

Re: Reentrant flex & bison


From: Bruce Lilly
Subject: Re: Reentrant flex & bison
Date: Tue, 30 Nov 2004 17:42:44 -0500
User-agent: KMail/1.7.1

On Tue November 30 2004 09:21, Krishna Murthy Gudipati wrote:

> Earlier in my .c file i have declared yyin as 'extern FILE* yyin'. But now
> the yyin is '#define yyin yyg->yyin_r' i am not able to pass the input file
> name to lexer.

You need to use the function yyset_in.  See the section in the
flex documentation regarding reentrant operation for details.




reply via email to

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