Update of /cvsroot/boost/boost/boost/xpressive/detail/static/productions
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9395/detail/static/productions

Modified Files:
        modify_compiler.hpp 
Log Message:
relatively complete but unoptimized version of XpressiveGrammar

Index: modify_compiler.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/xpressive/detail/static/productions/modify_compiler.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- modify_compiler.hpp 29 Oct 2006 06:14:41 -0000      1.8
+++ modify_compiler.hpp 15 Nov 2006 06:35:30 -0000      1.9
@@ -39,8 +39,8 @@
         template<typename Expr, typename State, typename Visitor>
         struct apply
         {
-            typedef typename Expr::arg0_type modifier_type;
-            typedef typename Expr::arg1_type expr_type;
+            typedef typename proto::meta::arg<typename 
proto::meta::left<Expr>::type>::type modifier_type;
+            typedef typename proto::meta::right<Expr>::type expr_type;
             typedef typename modifier_type::BOOST_NESTED_TEMPLATE 
apply<Visitor>::type visitor_type;
 
             typedef typename proto::compiler<typename expr_type::tag_type, 
seq_tag>::
@@ -57,7 +57,7 @@
         call(Expr const &expr, State const &state, Visitor &visitor)
         {
             typedef typename apply<Expr, State, Visitor>::visitor_type 
new_visitor_type;
-            new_visitor_type new_visitor(proto::left(expr).call(visitor));
+            new_visitor_type 
new_visitor(proto::arg(proto::left(expr)).call(visitor));
             new_visitor.swap(visitor);
             scoped_swap<Visitor, new_visitor_type> const undo = {&visitor, 
&new_visitor};
             detail::ignore_unused(undo);


-------------------------------------------------------------------------
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