Update of /cvsroot/boost/boost/boost/xpressive
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19429

Modified Files:
        regex_token_iterator.hpp 
Log Message:
fix nasty crashing bug with regex_token_iterator

Index: regex_token_iterator.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/regex_token_iterator.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- regex_token_iterator.hpp    29 May 2007 07:28:52 -0000      1.8
+++ regex_token_iterator.hpp    2 Jun 2007 01:49:18 -0000       1.9
@@ -275,6 +275,8 @@
             // copy the match_results struct.
             if(-1 != this->impl_->n_ && this->impl_->n_ + 1 != 
static_cast<int>(this->impl_->subs_.size()))
             {
+                // BUGBUG This is expensive -- it causes the sequence_stack to 
be cleared.
+                // Find a better way
                 clone->iter_.what_ = this->impl_->iter_.what_;
             }
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to