[Flex-help] RES: Flex C++ scanner sample doesn't work
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Sanches, V. <Vin...@di...> - 2007-03-28 18:25:37
|
Where can I get a newer version that supports C++ scanner generation, = and what is the version number of that? Thanks and regards. -----Mensagem original----- De: Will Estes [mailto:wl...@us...]=20 Enviada em: quarta-feira, 28 de mar=E7o de 2007 14:38 Para: Sanches, Vinicius Cc: fle...@li...; vin...@te... Assunto: Re: [Flex-help] Flex C++ scanner sample doesn't work The program "flex" is not now nor has it ever been a GNU program. Please do not ever refer to "flex" as "GNU flex". As for your question, I'm surprised the sample from 2.5.4a (which is quite old and doesn't track any of the changes to C++ that happened in the meantime) even compiles. In general, to narrow down a problem with a scanner, reduce it to it's smallest form. That is, eliminate everything except the code that produces the bug. On Wednesday, 28 March 2007,14:30 -0300, Sanches, Vinicius wrote: > I'm trying to make the sample contained in the GNU Flex manual to = work. > The compiling and linking were made with successful, but when I write > something expecting some action to write on the screen, I can't = observe > anything, the actions that should be performed on the screen by "cout" > aren't being shown. Is there someone who has already observed this > behavior before? I just observed this behavior with c++ generated > scanners. >=20 > Is there someone who can tell me how it works better? My flex version = is > 2.5.4 running over Fedora Core 5. >=20 > =20 >=20 > Thanks and regards. >=20 > =20 >=20 > = -------------------------------------------------------------------------= > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share your > opinions on IT & business topics through brief surveys-and earn cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Flex-help mailing list > Fle...@li... > https://lists.sourceforge.net/lists/listinfo/flex-help |