Re: set flex start conditions from bison?

Martin Beers <[email protected]> Wed, 27 Jan 2010 06:06:00 -0800 (PST)
Newsgroups gmane.comp.lex.flex.general
Message-ID <[email protected]>

Rui Maciel wrote:
> 
> So, how do we set flex start conditions from within a bison file?
> 

Hi,

I don't know how to do this elegantly, but I think the question is "unusual"
because the parser has already read the next lookahead token when a
reduction is done, and you're simply too late to set the start condition.

Martin.


-- 
View this message in context: http://old.nabble.com/set-flex-start-conditions-from-bison--tp25116156p27339704.html
Sent from the Gnu - Flex mailing list archive at Nabble.com.