help-flex
[Top][All Lists]
Advanced

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

Re: set flex start conditions from bison?


From: Martin Beers
Subject: Re: set flex start conditions from bison?
Date: Wed, 27 Jan 2010 06:06:00 -0800 (PST)


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.





reply via email to

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