Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-02-29 20:54:58


Author: eric_niebler
Date: 2008-02-29 20:54:58 EST (Fri, 29 Feb 2008)
New Revision: 43439
URL: http://svn.boost.org/trac/boost/changeset/43439

Log:
fix typo causing use_simple_repeat error, add test case
Text files modified:
   branches/release/boost/xpressive/detail/static/is_pure.hpp | 2 +-
   branches/release/libs/xpressive/test/test1.hpp | 7 +++++++
   2 files changed, 8 insertions(+), 1 deletions(-)

Modified: branches/release/boost/xpressive/detail/static/is_pure.hpp
==============================================================================
--- branches/release/boost/xpressive/detail/static/is_pure.hpp (original)
+++ branches/release/boost/xpressive/detail/static/is_pure.hpp 2008-02-29 20:54:58 EST (Fri, 29 Feb 2008)
@@ -110,7 +110,7 @@
 
     template<typename Expr, typename Char>
     struct use_simple_repeat_<Expr, Char, modifier_tag>
- : use_simple_repeat_<typename Expr::proto_arg0::proto_base_expr, Char>
+ : use_simple_repeat_<typename Expr::proto_arg1::proto_base_expr, Char>
     {};
 
     template<typename Expr, typename Char>

Modified: branches/release/libs/xpressive/test/test1.hpp
==============================================================================
--- branches/release/libs/xpressive/test/test1.hpp (original)
+++ branches/release/libs/xpressive/test/test1.hpp 2008-02-29 20:54:58 EST (Fri, 29 Feb 2008)
@@ -125,6 +125,13 @@
           , regex_type(bos >> L('b') >> *_ >> L("ar"))
           , no_match
         )
+ , xpr_test_case
+ (
+ "test15.1"
+ , L("fOo")
+ , regex_type(!icase(L('f') >> *as_xpr(L('o'))))
+ , backrefs(L("fOo"), nilbr)
+ )
     };
 
     return boost::make_iterator_range(test_cases);


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