Update of /cvsroot/boost/boost/libs/xpressive/proto/test
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9388/libs/xpressive/proto/test

Modified Files:
        toy_spirit2.cpp 
Log Message:
fold_tree gets its own header, deprecate fold_to_list

Index: toy_spirit2.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/xpressive/proto/test/toy_spirit2.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- toy_spirit2.cpp     16 Jun 2007 05:46:16 -0000      1.15
+++ toy_spirit2.cpp     19 Jun 2007 01:07:11 -0000      1.16
@@ -16,7 +16,8 @@
 #include <boost/xpressive/proto/proto.hpp>
 #include <boost/xpressive/proto/transform/arg.hpp>
 #include <boost/xpressive/proto/transform/construct.hpp>
-#include <boost/xpressive/proto/transform/fold_to_list.hpp>
+#include <boost/xpressive/proto/transform/fold_tree.hpp>
+#include <boost/xpressive/proto/transform/list.hpp>
 #if BOOST_VERSION < 103500
 # include <boost/spirit/fusion/algorithm/for_each.hpp>
 # include <boost/spirit/fusion/algorithm/fold.hpp>
@@ -326,8 +327,10 @@
     struct ToySpiritSequence
       : as_composite<
             proto::tag::shift_right
-          , proto::transform::reverse_fold_to_list<
-                proto::shift_right<ToySpiritGrammar, ToySpiritGrammar>
+          , proto::transform::reverse_fold_tree<
+                proto::tag::shift_right
+              , proto::transform::list<ToySpiritGrammar>
+              , fusion::nil
             >
         >
     {};
@@ -337,8 +340,10 @@
     struct ToySpiritAlternate
       : as_composite<
             proto::tag::bitwise_or
-          , proto::transform::reverse_fold_to_list<
-                proto::bitwise_or<ToySpiritGrammar, ToySpiritGrammar>
+          , proto::transform::reverse_fold_tree<
+                proto::tag::bitwise_or
+              , proto::transform::list<ToySpiritGrammar>
+              , fusion::nil
             >
         >
     {};


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