update boost on linux
This commit is contained in:
@@ -108,15 +108,13 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
|
||||
typename parser_result<self_t, ScannerT>::type
|
||||
parse(ScannerT const &scan) const
|
||||
{
|
||||
typedef typename parser_result<self_t, ScannerT>::type
|
||||
result_t;
|
||||
typedef typename parser_result<parser_t, ScannerT>::type
|
||||
body_result_t;
|
||||
|
||||
typename ScannerT::iterator_t save(scan.first);
|
||||
|
||||
std::size_t length = 0;
|
||||
int eval_length = 0;
|
||||
std::ptrdiff_t eval_length = 0;
|
||||
|
||||
this->init();
|
||||
while ((eval_length = this->evaluate(scan))>=0)
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
|
||||
#include <boost/preprocessor/cat.hpp>
|
||||
#include <boost/preprocessor/inc.hpp>
|
||||
@@ -328,8 +329,8 @@ struct compound_case_parser
|
||||
case_chain<self_t>::depth < BOOST_SPIRIT_SWITCH_CASE_LIMIT
|
||||
);
|
||||
|
||||
typedef case_parser<N1, ParserT1, IsDefault1> right_t;
|
||||
return compound_case_parser<self_t, right_t, IsDefault1>(*this, p);
|
||||
typedef case_parser<N1, ParserT1, IsDefault1> rhs_t;
|
||||
return compound_case_parser<self_t, rhs_t, IsDefault1>(*this, p);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -445,7 +446,7 @@ inline typename parser_result<
|
||||
compound_case_parser<LeftT, RightT, IsDefault>::
|
||||
parse(ScannerT const& scan, CondT const &cond) const
|
||||
{
|
||||
scan.at_end(); // allow skipper to take effect
|
||||
ignore_unused(scan.at_end()); // allow skipper to take effect
|
||||
return parse_switch<value, case_chain<self_t>::depth, is_default>::
|
||||
do_(*this, scan, cond(scan), scan.first);
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
|
||||
|
||||
iterator_t save(scan.first);
|
||||
std::size_t length = 0;
|
||||
int eval_length = 0;
|
||||
std::ptrdiff_t eval_length = 0;
|
||||
|
||||
bool dont_check_condition = is_do_parser;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user