Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-08-23 16:38:34


Author: hkaiser
Date: 2008-08-23 16:38:34 EDT (Sat, 23 Aug 2008)
New Revision: 48328
URL: http://svn.boost.org/trac/boost/changeset/48328

Log:
Spirit: some comment fixes
Text files modified:
   trunk/boost/spirit/home/karma/auxiliary/functor.hpp | 8 ++++----
   trunk/boost/spirit/home/lex/qi/meta_grammar.hpp | 2 +-
   trunk/boost/spirit/home/qi/auxiliary/functor.hpp | 6 +++---
   3 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/boost/spirit/home/karma/auxiliary/functor.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/auxiliary/functor.hpp (original)
+++ trunk/boost/spirit/home/karma/auxiliary/functor.hpp 2008-08-23 16:38:34 EDT (Sat, 23 Aug 2008)
@@ -178,7 +178,7 @@
     // typedef unspecified type;
     // };
     //
- // which declares the given type as the expected parameter type for
+ // which declares the given type as the expected attribute type for
     // the generator to create.
     ///////////////////////////////////////////////////////////////////////////
     template <typename Functor>
@@ -187,10 +187,10 @@
     {
         return functor_generator<Functor>(func);
     }
-
+
     ///////////////////////////////////////////////////////////////////////////
     // The as_generator_mf generator function is equivalent to the function
- // as_generator above except that the user has explicitly to specify a
+ // as_generator above except that the user has to explicitly specify a
     // type exposing an embedded apply meta function declaring the expected
     // parameter type for the generator to create.
     ///////////////////////////////////////////////////////////////////////////
@@ -200,7 +200,7 @@
     {
         return functor_generator<Functor, ParameterMF>(func, mf);
     }
-
+
     template <typename ParameterMF, typename Functor>
     inline typename result_of::as_generator_mf<Functor, ParameterMF>::type
     as_generator_mf(Functor const& func)

Modified: trunk/boost/spirit/home/lex/qi/meta_grammar.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/qi/meta_grammar.hpp (original)
+++ trunk/boost/spirit/home/lex/qi/meta_grammar.hpp 2008-08-23 16:38:34 EDT (Sat, 23 Aug 2008)
@@ -27,7 +27,7 @@
 
     struct state_switcher;
     struct state_switcher_context;
-
+
     struct plain_token;
 
     template <typename Expr, typename Enable>

Modified: trunk/boost/spirit/home/qi/auxiliary/functor.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/auxiliary/functor.hpp (original)
+++ trunk/boost/spirit/home/qi/auxiliary/functor.hpp 2008-08-23 16:38:34 EDT (Sat, 23 Aug 2008)
@@ -175,8 +175,8 @@
     // typedef unspecified type;
     // };
     //
- // which declares the given type as the expected parameter type for
- // the generator to create.
+ // which declares the given type as the expected attribute type for
+ // the parser to create.
     ///////////////////////////////////////////////////////////////////////////
     template <typename Functor>
     inline typename result_of::as_parser<Functor>::type
@@ -187,7 +187,7 @@
     
     ///////////////////////////////////////////////////////////////////////////
     // The as_parser_mf generator function is equivalent to the function
- // as_parser above except that the user has explicitly to specify a
+ // as_parser above except that the user has to explicitly specify a
     // type exposing an embedded apply meta function declaring the expected
     // parameter type for the generator to create.
     ///////////////////////////////////////////////////////////////////////////


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