Re: [Flex-help] flex and bison locations
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Aaron S. <aa...@se...> - 2008-01-10 21:32:10
|
We fully support yylloc, but it is disabled by default, just as in bison. http://flex.sourceforge.net/manual/Bison-Bridge.html Aaron On Thu, Jan 10, 2008, Claudio Saavedra <csa...@al...> said: > Hi, > > While trying to test bison's locations, I noticed that flex doesn't > automatically set yylloc, Bison's variable to store location of the > lookahead token. But instead, the user must do it himself. > > Moreover, it came to my attention that every time that a flex generated > scanner matches a token, there is no information about the position of > it. A user willing to use locations must keep track of the currently > scanned position manually. > > Are there any reasons not to alleviate the user's duty by doing these > tasks automatically? Am I missing something? Is it planned to develop, > at least partially, these features at some point? > > Claudio > > -- > Claudio Saavedra <csa...@al...> > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Flex-help mailing list > Fle...@li... > https://lists.sourceforge.net/lists/listinfo/flex-help > -- |