|
Boost Users : |
Subject: Re: [Boost-users] Skipper in rules (Spirit)
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2010-03-09 13:55:19
> I am trying to create some rule to parse some words until the end of
> line. To
> do it I thought to use a phrase_parser and put in the SkipT parameter
> something like "space - eol". The problem is that seems the SkipT
> parameter
> only accepts the space rule.
>
> error: no match for call to â.... const
> boost::spirit::qi::difference<boost::spirit::qi::char_class<boost::spir
> it::tag::char_code<boost::spirit::tag::space,
> boost::spirit::char_encoding::ascii> >, boost::spirit::qi::eol_parser>
>
> note: candidates are: .... const
> boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spir
> it::tag::space,
> boost::spirit::char_encoding::ascii> >
>
> In the classic spirit I know it was possible to define. May be I should
> change
> the point of view for this new version? how I should deal with it?
Please see here for some explanation of your problem: http://tinyurl.com/yln2bva (well, more correctly: the problem I think you're seeing, as you didn't provide any concrete code I could look at).
Regards Hartmut
---------------
Meet me at BoostCon
www.boostcon.com
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