[Top][All Lists]

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

Re: set flex start conditions from bison?

From: Rui Maciel
Subject: Re: set flex start conditions from bison?
Date: Tue, 25 Aug 2009 18:38:48 +0100
User-agent: KMail/1.12.0 (Linux/2.6.28-15-generic; KDE/4.3.0; x86_64; ; )

Hans-Bernhard Bröker wrote:
> Rui Maciel wrote:
> > Is it possible to set the flex start conditions from within bison?
> See "info flex faq unnamed-faq-71".

The article you pointed out suggests that a flex-generated header file would be 
cleaner but it's unavailable. Yet, flex does export a header file which stores 
the start conditions states, although they are enclosed in a #ifdef statement. 

As the article you pointed out appears to be more than 10 years old I believe 
that it may be outdated and can possibly be invalid, as it was possibly 
written in a time where that feature wasn't yet implemented.

So, is it possible to take advantage of the flex-generated header to access the 
start conditions definitions?

Thanks in advance,
Rui Maciel

reply via email to

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