Boost logo

Boost Users :

From: Joel de Guzman (joel_at_[hidden])
Date: 2004-02-10 22:39:43


Steve Folly wrote:

> Hi,
>
> I've read FAQ question number one about the free parse() function not
> compiling when and I've managed to get that to work by using
> rule<phrase_scanner_t> as suggested.
>
> However, I need to use the pt_parse method to create a parse tree. I'm
> obviously missing something really obvious because now pt_parse wont
> compile, even though I'm using a phrase_scanner_t because of the space_p
> skip parser.

The easiest advice is: don't directly pass rules to any
parse function. Instead, wrap them inside a grammar.

BTW, please post SPirit related questions to:
Spirit-general mailing list
Spirit-general_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/spirit-general

HTH,

-- 
Joel de Guzman
http://www.boost-consulting.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