Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3099: Space skip parser doesn't skip trailing spaces
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-01 14:38:14
#3099: Space skip parser doesn't skip trailing spaces
-----------------------------------+----------------------------------------
Reporter: OlafvdSpek_at_[hidden] | Owner: djowel
Type: Support Requests | Status: closed
Milestone: Boost 1.40.0 | Component: spirit
Version: Boost 1.39.0 | Severity: Problem
Resolution: wontfix | Keywords:
-----------------------------------+----------------------------------------
Changes (by hkaiser):
* status: new => closed
* resolution: => wontfix
Comment:
That's by design. If you need post-skipping you need to modify your
grammar (appending eps_p forcing a post_skip to occur):
int_p >> eps_p;
BTW: in Spirit 2.1 we exposed this as an explicit parameter to parse.
HTH
Regards Hartmut
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3099#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC