Update of /cvsroot/boost/boost/boost/xpressive/detail/core/matcher
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10685/boost/xpressive/detail/core/matcher

Modified Files:
        action_matcher.hpp 
Log Message:
rename var() to ref(), add val() and cref()

Index: action_matcher.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/xpressive/detail/core/matcher/action_matcher.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- action_matcher.hpp  22 Mar 2007 17:37:16 -0000      1.6
+++ action_matcher.hpp  23 Mar 2007 21:43:13 -0000      1.7
@@ -134,16 +134,16 @@
             state.action_list_tail_ = &actor.next;
 
             // Match the rest of the pattern
-            if(!next.match(state))
+            if(next.match(state))
             {
-                BOOST_ASSERT(0 == actor.next);
-                // remove action from list
-                *action_list_tail = 0;
-                state.action_list_tail_ = action_list_tail;
-                return false;
+                return true;
             }
 
-            return true;
+            BOOST_ASSERT(0 == actor.next);
+            // remove action from list
+            *action_list_tail = 0;
+            state.action_list_tail_ = action_list_tail;
+            return false;
         }
     };
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to