From: Gaël de C. <Gae...@ce...> - 2012-03-21 11:05:59
|
Le mercredi 21 mars 2012 11:57:31 Jeroen Habraken a écrit : > Gaël, > > On 20 March 2012 18:51, Gaël de Chalendar <Gae...@ce...> wrote: > > Hello, > > > > The attached grammar does not work anymore as I try it on a new Spirit > > version. The underscores (_) in the identifiers are now replaced by > > unpritable characters. > > > > Below the details. In both cases, the example is compiled and run like > > this: g++ spirit.cpp -o spirit && ./spirit > > > > Old version: > > Debian squeeze with boost 1.42 and gcc 4.4.5 > > > > (the same under Mandriva 2011) > > > > Output: > > Loaded class c_all > > Loaded class c_del > > Loaded class m_parag > > Loaded class unknwn > > > > > > New version: > > Mageia 2 beta 2 with boost 1.48 and gcc 4.6.3 > > > > Output: > > Loaded class call > > Loaded class cdel > > Loaded class mparag > > Loaded class unknwn > > > > > > Did I missed a change or is it a bug (Mageia and/or boost ?) > > > > Thanks in advance. > > > > Regards, > > Gaël > > As an aside, you currently allow skipping in the identifier, thus "c _ > all" would be parsed as "c_all", you might want to consider wrapping > it in a lexeme[]. Thanks Jeroen, I'll correct that ! Regards, Gaël > > Jeroen > > ---------------------------------------------------------------------------- > -- This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Spirit-general mailing list > Spi...@li... > https://lists.sourceforge.net/lists/listinfo/spirit-general -- Gael de Chalendar CEA LIST Laboratoire Vision et Ingénierie des Contenus (Vision and Content Engineering Laboratory) CEA SACLAY - NANO INNOV BAT. 861 Point courier 173 91191 GIF SUR YVETTE Tél.:+33.1.69.08.01.50 Fax:+33.1.69.08.01.15 Email : Gael.D.O.T.de-Chalendar.A@T.cea.D.O.T.fr |