update boost
This commit is contained in:
@@ -87,7 +87,7 @@ struct ast_tree_policy :
|
||||
typedef typename tree_match<iterator_t, NodeFactoryT, T>::container_t
|
||||
container_t;
|
||||
|
||||
// test for size() is nessecary, because no_tree_gen_node leaves a.trees
|
||||
// test for size() is necessary, because no_tree_gen_node leaves a.trees
|
||||
// and/or b.trees empty
|
||||
if (0 != b.trees.size() && b.trees.begin()->value.is_root())
|
||||
{
|
||||
|
||||
@@ -98,13 +98,6 @@ struct tree_node
|
||||
impl::cp_swap(value, x.value);
|
||||
impl::cp_swap(children, x.children);
|
||||
}
|
||||
|
||||
// Intel V5.0.1 has a problem without this explicit operator=
|
||||
tree_node &operator= (tree_node const &rhs)
|
||||
{
|
||||
tree_node(rhs).swap(*this);
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
#if defined(BOOST_SPIRIT_DEBUG) && \
|
||||
@@ -1515,7 +1508,7 @@ const action_directive_parser_gen<access_node_action> access_node_d
|
||||
// length: The number of characters consumed by the parser.
|
||||
// This is valid only if we have a successful match
|
||||
// (either partial or full). A negative value means
|
||||
// that the match is unsucessful.
|
||||
// that the match is unsuccessful.
|
||||
//
|
||||
// trees: Contains the root node(s) of the tree.
|
||||
//
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
|
||||
#if !defined(PARSE_TREE_UTILS_IPP)
|
||||
#define PARSE_TREE_UTILS_IPP
|
||||
#ifndef BOOST_SPIRIT_CLASSIC_TREE_IMPL_PARSE_TREE_UTILS_IPP
|
||||
#define BOOST_SPIRIT_CLASSIC_TREE_IMPL_PARSE_TREE_UTILS_IPP
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
namespace boost {
|
||||
@@ -61,7 +61,7 @@ find_node (tree_node<T> const &node, parser_id node_to_search,
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// The functions 'get_node_range' return a pair of iterators pointing at the
|
||||
// range, which containes the elements of a specified node.
|
||||
// range, which contains the elements of a specified node.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
namespace impl {
|
||||
@@ -132,4 +132,4 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_END
|
||||
} // namespace spirit
|
||||
} // namespace boost
|
||||
|
||||
#endif // !defined(PARSE_TREE_UTILS_IPP)
|
||||
#endif
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
|
||||
#if !defined(TREE_TO_XML_IPP)
|
||||
#define TREE_TO_XML_IPP
|
||||
#ifndef BOOST_SPIRIT_CLASSIC_TREE_IMPL_TREE_TO_XML_IPP
|
||||
#define BOOST_SPIRIT_CLASSIC_TREE_IMPL_TREE_TO_XML_IPP
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdarg>
|
||||
@@ -524,4 +524,4 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_END
|
||||
#undef BOOST_SPIRIT_OSSTREAM
|
||||
#undef BOOST_SPIRIT_GETSTRING
|
||||
|
||||
#endif // !defined(PARSE_TREE_XML_HPP)
|
||||
#endif
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
|
||||
#if !defined(PARSE_TREE_UTILS_HPP)
|
||||
#define PARSE_TREE_UTILS_HPP
|
||||
#ifndef BOOST_SPIRIT_CLASSIC_TREE_PARSE_TREE_UTILS_HPP
|
||||
#define BOOST_SPIRIT_CLASSIC_TREE_PARSE_TREE_UTILS_HPP
|
||||
|
||||
#include <utility> // for std::pair
|
||||
|
||||
@@ -44,7 +44,7 @@ find_node (tree_node<T> const &node, parser_id node_to_search,
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// The function 'get_node_range' return a pair of iterators pointing at the
|
||||
// range, which containes the elements of a specified node. It's very useful
|
||||
// range, which contains the elements of a specified node. It's very useful
|
||||
// for locating all information related with a specified node.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@@ -61,4 +61,4 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_END
|
||||
|
||||
#include <boost/spirit/home/classic/tree/impl/parse_tree_utils.ipp>
|
||||
|
||||
#endif // !defined(PARSE_TREE_UTILS_HPP)
|
||||
#endif
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
|
||||
#if !defined(TREE_TO_XML_HPP)
|
||||
#define TREE_TO_XML_HPP
|
||||
#ifndef BOOST_SPIRIT_CLASSIC_TREE_TREE_TO_XML_HPP
|
||||
#define BOOST_SPIRIT_CLASSIC_TREE_TREE_TO_XML_HPP
|
||||
|
||||
#include <boost/spirit/home/classic/namespace.hpp>
|
||||
|
||||
@@ -112,5 +112,5 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_END
|
||||
|
||||
#include <boost/spirit/home/classic/tree/impl/tree_to_xml.ipp>
|
||||
|
||||
#endif // !defined(TREE_TO_XML_HPP)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user