Boost logo

Boost Users :

Subject: [Boost-users] Skipper in rules (Spirit)
From: Xavier Pegenaute (xpegenaute_at_[hidden])
Date: 2010-03-09 12:31:05


Hi,

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::spirit::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::spirit::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?

Thanks & Regards.
Xavi.


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