Update of /cvsroot/boost/boost/boost/xpressive/detail/core
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7032/boost/xpressive/detail/core
Modified Files:
access.hpp state.hpp
Log Message:
support for late-bound arguments in actions
Index: access.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/core/access.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- access.hpp 22 Mar 2007 17:37:16 -0000 1.7
+++ access.hpp 24 Mar 2007 10:07:30 -0000 1.8
@@ -102,10 +102,10 @@
return what.nested_results_;
}
- //static action_state &get_action_state(match_results<BidiIter> &what)
- //{
- // return what.action_state_;
- //}
+ static action_args_type &get_action_args(match_results<BidiIter> &what)
+ {
+ return what.args_;
+ }
static void set_prefix_suffix(match_results<BidiIter> &what, BidiIter
begin, BidiIter end)
{
Index: state.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/core/state.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- state.hpp 22 Mar 2007 17:37:16 -0000 1.11
+++ state.hpp 24 Mar 2007 10:07:30 -0000 1.12
@@ -113,6 +113,7 @@
results_extras &extras_;
actionable action_list_;
actionable const **action_list_tail_;
+ action_args_type *action_args_;
///////////////////////////////////////////////////////////////////////////////
//
@@ -135,6 +136,7 @@
, extras_(core_access<BidiIter>::get_extras(what))
, action_list_()
, action_list_tail_(&action_list_.next)
+ , action_args_(&core_access<BidiIter>::get_action_args(what))
{
// reclaim any cached memory in the match_results struct
this->extras_.sub_match_stack_.unwind();
-------------------------------------------------------------------------
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