Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59343 - trunk/boost/spirit/repository/home/qi/nonterminal
From: hartmut.kaiser_at_[hidden]
Date: 2010-01-29 10:40:54


Author: hkaiser
Date: 2010-01-29 10:40:54 EST (Fri, 29 Jan 2010)
New Revision: 59343
URL: http://svn.boost.org/trac/boost/changeset/59343

Log:
Spirit: added fail_transform handler to attribute_transform
Text files modified:
   trunk/boost/spirit/repository/home/qi/nonterminal/subrule.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 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 2010-01-29 10:40:54 EST (Fri, 29 Jan 2010)
@@ -219,6 +219,9 @@
                 traits::post_transform(attr, attr_);
                 return true;
             }
+
+ // inform attribute transformation of failed rhs
+ transform::fail(attr);
             return false;
         }
 
@@ -269,6 +272,9 @@
                 traits::post_transform(attr, attr_);
                 return true;
             }
+
+ // inform attribute transformation of failed rhs
+ transform::fail(attr);
             return false;
         }
 


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