[spirit] skip parser problem
Hi All I have a problem with spirit skip parser. If parsing text is ending with skiped char (ie. space) the parsing failed returning parse_info.full as false. For example, let's examine code from spirit documentation: http://spirit.sourceforge.net/distrib/spirit_1_8_5/libs/spirit/example/funda... If we parse string like that "B 6,4 ,6, 5" everything is OK, but if we parse "B 6,4 ,6, 5 " (with space at the end) parsing fail. How are you resolving this problem ??? ---------------------------------------------------------------------- Tylko dla detektywow! Konkurs na Smaker.pl Kliknij >>> http://link.interia.pl/f1eb1
piotr270977@interia.pl wrote:
Hi All
I have a problem with spirit skip parser. If parsing text is ending with skiped char (ie. space) the parsing failed returning parse_info.full as false.
For example, let's examine code from spirit documentation: http://spirit.sourceforge.net/distrib/spirit_1_8_5/libs/spirit/example/funda...
If we parse string like that "B 6,4 ,6, 5" everything is OK, but if we parse "B 6,4 ,6, 5 " (with space at the end) parsing fail.
How are you resolving this problem ???
Please see the Spirit site news November 28, 2007: "Post-skips (Important for Boost 1.34 and above users)" at http://spirit.sourceforge.net/ HTH Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net
participants (2)
-
Joel de Guzman
-
piotr270977@interia.pl