Boost logo

Boost-Commit :

From: david_at_[hidden]
Date: 2008-03-12 10:48:32


Author: djenkins
Date: 2008-03-12 10:48:32 EDT (Wed, 12 Mar 2008)
New Revision: 43573
URL: http://svn.boost.org/trac/boost/changeset/43573

Log:
Fix keep() of nested regex with action
Text files modified:
   trunk/boost/xpressive/detail/static/transforms/as_independent.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/xpressive/detail/static/transforms/as_independent.hpp
==============================================================================
--- trunk/boost/xpressive/detail/static/transforms/as_independent.hpp (original)
+++ trunk/boost/xpressive/detail/static/transforms/as_independent.hpp 2008-03-12 10:48:32 EDT (Wed, 12 Mar 2008)
@@ -48,7 +48,10 @@
 
         template<int Dummy>
         struct case_<proto::tag::terminal, Dummy>
- : proto::_
+ : not_< or_<
+ proto::terminal<detail::tracking_ptr<detail::regex_impl<_> > >,
+ proto::terminal<reference_wrapper<_> >
+ > >
         {};
 
         template<int Dummy>


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