Boost logo

Boost Users :

From: Joel de Guzman (joel_at_[hidden])
Date: 2008-08-07 09:20:14


piotr270977_at_[hidden] 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/fundamental/functor_parser.cpp
>
> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net