|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54771 - trunk/boost/spirit/home/lex
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-07 11:39:02
Author: hkaiser
Date: 2009-07-07 11:39:02 EDT (Tue, 07 Jul 2009)
New Revision: 54771
URL: http://svn.boost.org/trac/boost/changeset/54771
Log:
Spirit: fixed lexer placeholders to correctly integrate with nested Phoenix expressions
Text files modified:
trunk/boost/spirit/home/lex/argument.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/lex/argument.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/argument.hpp (original)
+++ trunk/boost/spirit/home/lex/argument.hpp 2009-07-07 11:39:02 EDT (Tue, 07 Jul 2009)
@@ -93,7 +93,7 @@
void eval(Env const& env) const
{
fusion::at_c<4>(env.args()).set_state_name(
- traits::get_c_string(actor_()));
+ traits::get_c_string(actor_.eval(env)));
}
state_setter(Actor const& actor)
@@ -195,7 +195,7 @@
template <typename Env>
void eval(Env const& env) const
{
- fusion::at_c<4>(env.args()).set_value(actor_());
+ fusion::at_c<4>(env.args()).set_value(actor_.eval(env));
}
value_setter(Actor const& actor)
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