|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69987 - branches/msm/v2_30/boost/msm/lpp
From: christophe.j.henry_at_[hidden]
Date: 2011-03-14 18:09:50
Author: chenry
Date: 2011-03-14 18:09:49 EDT (Mon, 14 Mar 2011)
New Revision: 69987
URL: http://svn.boost.org/trac/boost/changeset/69987
Log:
bugfix
Text files modified:
branches/msm/v2_30/boost/msm/lpp/basic_grammar.hpp | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
Modified: branches/msm/v2_30/boost/msm/lpp/basic_grammar.hpp
==============================================================================
--- branches/msm/v2_30/boost/msm/lpp/basic_grammar.hpp (original)
+++ branches/msm/v2_30/boost/msm/lpp/basic_grammar.hpp 2011-03-14 18:09:49 EDT (Mon, 14 Mar 2011)
@@ -151,15 +151,6 @@
>
{};
-struct Lambda:
- proto::when<
- BuildLambdaSequence, LambdaSequence_<BuildLambdaSequence(proto::_child_c<1>) >()
- >
-{};
-#define BOOST_MSM_LPP_LAMBDA_EXPR(expr) BOOST_TYPEOF( Lambda()(expr) )
-
-
-
struct BuildLambdaWithParams
: proto::or_<
proto::when<
@@ -236,6 +227,14 @@
lambda_expr<proto::terminal<tag::lambda>::type> const lambda = {{{}}};
+struct Lambda:
+ proto::when<
+ BuildLambdaSequence, LambdaSequence_<BuildLambdaSequence(proto::_child_c<0>) >()
+ >
+{};
+#define BOOST_MSM_LPP_LAMBDA_EXPR(expr) BOOST_TYPEOF( BuildLambdaWithParams()(lambda[ expr ]) )
+
+
} } }// boost::msm::lpp
#endif //BOOST_MSM_LPP_BASIC_GRAMMAR_H
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk