Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55163 - trunk/boost/spirit/home/karma/directive
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-30 14:42:08


Author: hkaiser
Date: 2009-07-25 21:08:44 EDT (Sat, 25 Jul 2009)
New Revision: 55163
URL: http://svn.boost.org/trac/boost/changeset/55163

Log:
Spirit: fixing alignment directives
Text files modified:
   trunk/boost/spirit/home/karma/directive/center_alignment.hpp | 8 ++++----
   trunk/boost/spirit/home/karma/directive/left_alignment.hpp | 8 ++++----
   trunk/boost/spirit/home/karma/directive/right_alignment.hpp | 8 ++++----
   3 files changed, 12 insertions(+), 12 deletions(-)

Modified: trunk/boost/spirit/home/karma/directive/center_alignment.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/directive/center_alignment.hpp (original)
+++ trunk/boost/spirit/home/karma/directive/center_alignment.hpp 2009-07-25 21:08:44 EDT (Sat, 25 Jul 2009)
@@ -263,10 +263,10 @@
 
         template <typename Terminal>
         result_type operator()(Terminal const& term, Subject const& subject
- , unused_type) const
+ , Modifiers const& modifiers) const
         {
             return result_type(subject
- , compile<karma::domain>(fusion::at_c<0>(term.args)));
+ , compile<karma::domain>(fusion::at_c<0>(term.args), modifiers));
         }
     };
 
@@ -285,10 +285,10 @@
 
         template <typename Terminal>
         result_type operator()(Terminal const& term, Subject const& subject
- , unused_type) const
+ , Modifiers const& modifiers) const
         {
             return result_type(subject
- , compile<karma::domain>(fusion::at_c<1>(term.args))
+ , compile<karma::domain>(fusion::at_c<1>(term.args), modifiers)
               , fusion::at_c<0>(term.args));
         }
     };

Modified: trunk/boost/spirit/home/karma/directive/left_alignment.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/directive/left_alignment.hpp (original)
+++ trunk/boost/spirit/home/karma/directive/left_alignment.hpp 2009-07-25 21:08:44 EDT (Sat, 25 Jul 2009)
@@ -225,9 +225,9 @@
 
         template <typename Terminal>
         result_type operator()(Terminal const& term, Subject const& subject
- , unused_type) const
+ , Modifiers const& modifiers) const
         {
- return result_type(subject, fusion::at_c<0>(term.args));
+ return result_type(subject, fusion::at_c<0>(term.args), modifiers);
         }
     };
 
@@ -246,10 +246,10 @@
 
         template <typename Terminal>
         result_type operator()(Terminal const& term, Subject const& subject
- , unused_type) const
+ , Modifiers const& modifiers) const
         {
             return result_type(subject
- , compile<karma::domain>(fusion::at_c<0>(term.args)));
+ , compile<karma::domain>(fusion::at_c<0>(term.args), modifiers));
         }
     };
 

Modified: trunk/boost/spirit/home/karma/directive/right_alignment.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/directive/right_alignment.hpp (original)
+++ trunk/boost/spirit/home/karma/directive/right_alignment.hpp 2009-07-25 21:08:44 EDT (Sat, 25 Jul 2009)
@@ -256,10 +256,10 @@
 
         template <typename Terminal>
         result_type operator()(Terminal const& term, Subject const& subject
- , unused_type) const
+ , Modifiers const& modifiers) const
         {
             return result_type(subject
- , compile<karma::domain>(fusion::at_c<0>(term.args)));
+ , compile<karma::domain>(fusion::at_c<0>(term.args), modifiers));
         }
     };
 
@@ -278,10 +278,10 @@
 
         template <typename Terminal>
         result_type operator()(Terminal const& term, Subject const& subject
- , unused_type) const
+ , Modifiers const& modifiers) const
         {
             return result_type(subject
- , compile<karma::domain>(fusion::at_c<1>(term.args))
+ , compile<karma::domain>(fusion::at_c<1>(term.args), modifiers)
               , fusion::at_c<0>(term.args));
         }
     };


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk