Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-08-31 09:45:29


James W. Walker wrote:

> If I try to compile something like
>
> rule<> goofy = real_p >> real_p;
> bool isOK = parse( "12 1.3", goofy, space_p ).full;
>
> with CodeWarrior 8.3, I get an error message that I don't
> understand,
> reproduced below. If I write the rule inline, like
>
> bool isOK = parse( "12 1.3", real_p >> real_p, space_p ).full;
>
> then it compiles OK, but that's a bit limiting. Any clues?

Please have a look at the FAQ here:

http://www.boost.org/libs/spirit/doc/faq.html#scanner_business

This should solve your problem.

Regards Hartmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk