|
Boost Users : |
Subject: Re: [Boost-users] [Spirit] leaf_node_d compile time error
From: Chris Uzdavinis (cuzdav_at_[hidden])
Date: 2009-04-26 16:45:13
On Sun, Apr 26, 2009 at 1:23 PM, Hartmut Kaiser
<hartmut.kaiser_at_[hidden]> wrote:
> Hey Chris,
>> #define BOOST_SPIRIT_USE_OLD_NAMESPACE
>> #include "boost/spirit/include/classic_core.hpp"
>> #include "boost/spirit/include/classic_ast.hpp"
>
> This needs to be:
> #include "boost/spirit/include/classic_parse_tree.hpp"
>> Test_Parser parser;
>> parse_info<> info = parse(str, parser, space_p);
>
> And this:
> tree_parse_info<> info = pt_parse(str, parser, space_p);
>
> Then it should compile.
Hi, Thanks a lot, that helps.
Chris
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