update boost on linux
This commit is contained in:
@@ -46,8 +46,10 @@ namespace boost { namespace spirit
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
namespace boost { namespace spirit { namespace repository { namespace qi
|
||||
{
|
||||
using repository::confix_type;
|
||||
#ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
|
||||
using repository::confix;
|
||||
#endif
|
||||
using repository::confix_type;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// the confix() generated parser
|
||||
|
||||
@@ -56,8 +56,10 @@ namespace boost { namespace spirit
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
namespace boost { namespace spirit { namespace repository {namespace qi
|
||||
{
|
||||
using repository::distinct_type;
|
||||
#ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
|
||||
using repository::distinct;
|
||||
#endif
|
||||
using repository::distinct_type;
|
||||
|
||||
template <typename Subject, typename Tail, typename Modifier>
|
||||
struct distinct_parser
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
#include <boost/spirit/home/qi/parser.hpp>
|
||||
#include <boost/spirit/home/qi/auxiliary/lazy.hpp>
|
||||
#include <boost/spirit/home/qi/operator/kleene.hpp>
|
||||
#include <boost/spirit/home/qi/string/lit.hpp>
|
||||
#include <boost/spirit/home/support/container.hpp>
|
||||
#include <boost/spirit/home/qi/detail/attributes.hpp>
|
||||
#include <boost/spirit/home/qi/detail/fail_function.hpp>
|
||||
#include <boost/spirit/home/support/info.hpp>
|
||||
#include <boost/spirit/repository/home/support/kwd.hpp>
|
||||
#include <boost/fusion/include/at.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
#include <vector>
|
||||
|
||||
namespace boost { namespace spirit
|
||||
@@ -148,11 +148,17 @@ namespace boost { namespace spirit
|
||||
|
||||
namespace boost { namespace spirit { namespace repository { namespace qi
|
||||
{
|
||||
#ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
|
||||
using repository::kwd;
|
||||
using repository::ikwd;
|
||||
using repository::dkwd;
|
||||
using repository::idkwd;
|
||||
using spirit::inf;
|
||||
#endif
|
||||
using repository::kwd_type;
|
||||
using repository::ikwd_type;
|
||||
using repository::dkwd_type;
|
||||
using repository::idkwd_type;
|
||||
using spirit::inf_type;
|
||||
|
||||
template <typename T>
|
||||
@@ -160,7 +166,7 @@ template <typename T>
|
||||
{
|
||||
kwd_pass_iterator() {}
|
||||
bool flag_init() const { return true; }
|
||||
bool register_successful_parse(bool &flag,T &i) const {
|
||||
bool register_successful_parse(bool &flag,T &/*i*/) const {
|
||||
flag=true;
|
||||
return true;
|
||||
}
|
||||
@@ -650,7 +656,7 @@ namespace boost { namespace spirit { namespace qi
|
||||
);
|
||||
}
|
||||
template <typename Terminal>
|
||||
result_type create_kwd(Terminal const &term, Subject const & subject, Modifiers const& modifiers, boost::mpl::true_ ) const
|
||||
result_type create_kwd(Terminal const &term, Subject const & subject, Modifiers const& /*modifiers*/, boost::mpl::true_ ) const
|
||||
{
|
||||
return create_kwd_string(term,subject,no_case());
|
||||
}
|
||||
@@ -721,7 +727,7 @@ namespace boost { namespace spirit { namespace qi
|
||||
);
|
||||
}
|
||||
template <typename Terminal>
|
||||
result_type create_kwd(Terminal const &term, Subject const & subject, Modifiers const& modifiers, boost::mpl::true_ ) const
|
||||
result_type create_kwd(Terminal const &term, Subject const & subject, Modifiers const& /*modifiers*/, boost::mpl::true_ ) const
|
||||
{
|
||||
return create_kwd_string(term,subject,no_case());
|
||||
}
|
||||
@@ -896,7 +902,7 @@ namespace boost { namespace spirit { namespace qi
|
||||
|
||||
template <typename Terminal>
|
||||
result_type operator()(
|
||||
Terminal const& term, Subject const& subject, Modifiers const& modifiers) const
|
||||
Terminal const& term, Subject const& subject, Modifiers const& /*modifiers*/) const
|
||||
{
|
||||
typename spirit::detail::get_encoding<Modifiers,
|
||||
spirit::char_encoding::standard>::type encoding;
|
||||
@@ -919,7 +925,7 @@ namespace boost { namespace spirit { namespace qi
|
||||
|
||||
template <typename Terminal>
|
||||
result_type operator()(
|
||||
Terminal const& term, Subject const& subject, Modifiers const& modifiers) const
|
||||
Terminal const& term, Subject const& subject, Modifiers const& /*modifiers*/) const
|
||||
{
|
||||
typename spirit::detail::get_encoding<Modifiers,
|
||||
spirit::char_encoding::standard>::type encoding;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/*//////////////////////////////////////////////////////////////////////////////
|
||||
/*=============================================================================
|
||||
Copyright (c) 2011 Jamboree
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//////////////////////////////////////////////////////////////////////////////*/
|
||||
=============================================================================*/
|
||||
#ifndef BOOST_SPIRIT_REPOSITORY_QI_SEEK
|
||||
#define BOOST_SPIRIT_REPOSITORY_QI_SEEK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user