From 1b4464b19b50dec97671f75b793a4d8a6ecf447d Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Wed, 8 Jun 2011 12:45:54 +0000 Subject: [PATCH] [phoenix] fixing scope module for msvc 7.1 [SVN r72485] --- include/boost/phoenix/scope/lambda.hpp | 17 ++++++++++++++--- include/boost/phoenix/scope/let.hpp | 17 ++++++++++++++--- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/include/boost/phoenix/scope/lambda.hpp b/include/boost/phoenix/scope/lambda.hpp index 6df5321..71ff50e 100644 --- a/include/boost/phoenix/scope/lambda.hpp +++ b/include/boost/phoenix/scope/lambda.hpp @@ -205,9 +205,20 @@ namespace boost { namespace phoenix , meta_grammar > , proto::fold< - proto::_value(proto::_child_c<0>) - , mpl::true_() - , mpl::and_() + proto::call)> + , proto::make + , proto::make< + mpl::and_< + proto::_state + , proto::call< + evaluator( + proto::_ + , _context + , proto::make + ) + > + >() + > > > > diff --git a/include/boost/phoenix/scope/let.hpp b/include/boost/phoenix/scope/let.hpp index cd6f85f..5aa45e5 100644 --- a/include/boost/phoenix/scope/let.hpp +++ b/include/boost/phoenix/scope/let.hpp @@ -165,9 +165,20 @@ namespace boost { namespace phoenix : proto::make< mpl::and_< proto::fold< - proto::_value(proto::_child_c<0>) - , mpl::true_() - , mpl::and_() + proto::call)> + , proto::make + , proto::make< + mpl::and_< + proto::_state + , proto::call< + evaluator( + proto::_ + , _context + , proto::make + ) + > + >() + > > , evaluator( proto::_child_c<2>