$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r56743 - trunk/boost/spirit/repository/home/qi/nonterminal
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-12 12:34:26
Author: hkaiser
Date: 2009-10-12 12:34:25 EDT (Mon, 12 Oct 2009)
New Revision: 56743
URL: http://svn.boost.org/trac/boost/changeset/56743
Log:
Spirit: added missing specialization to transform_attribute. Fixed qi::subrule to use this
Text files modified:
trunk/boost/spirit/repository/home/qi/nonterminal/subrule.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/spirit/repository/home/qi/nonterminal/subrule.hpp
==============================================================================
--- trunk/boost/spirit/repository/home/qi/nonterminal/subrule.hpp (original)
+++ trunk/boost/spirit/repository/home/qi/nonterminal/subrule.hpp 2009-10-12 12:34:25 EDT (Mon, 12 Oct 2009)
@@ -204,8 +204,8 @@
typedef traits::transform_attribute<
typename make_attribute::type, subrule_attr_type> transform;
- typename transform::type attr_ =
- transform::pre(make_attribute::call(attr));
+ typename make_attribute::type made_attr = make_attribute::call(attr);
+ typename transform::type attr_ = transform::pre(made_attr);
// If you are seeing a compilation error here, you are probably
// trying to use a subrule which has inherited attributes,
@@ -254,8 +254,8 @@
typedef traits::transform_attribute<
typename make_attribute::type, subrule_attr_type> transform;
- typename transform::type attr_ =
- transform::pre(make_attribute::call(attr));
+ typename make_attribute::type made_attr = make_attribute::call(attr);
+ typename transform::type attr_ = transform::pre(made_attr);
// If you are seeing a compilation error here, you are probably
// trying to use a subrule which has inherited attributes,