$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r73133 - trunk/libs/spirit/example/qi/compiler_tutorial/conjure2
From: hartmut.kaiser_at_[hidden]
Date: 2011-07-15 22:11:00
Author: hkaiser
Date: 2011-07-15 22:10:59 EDT (Fri, 15 Jul 2011)
New Revision: 73133
URL: http://svn.boost.org/trac/boost/changeset/73133
Log:
Spirit: comment fixes
Text files modified: 
   trunk/libs/spirit/example/qi/compiler_tutorial/conjure2/lexer.hpp     |     5 +++--                                   
   trunk/libs/spirit/example/qi/compiler_tutorial/conjure2/lexer_def.hpp |     2 +-                                      
   2 files changed, 4 insertions(+), 3 deletions(-)
Modified: trunk/libs/spirit/example/qi/compiler_tutorial/conjure2/lexer.hpp
==============================================================================
--- trunk/libs/spirit/example/qi/compiler_tutorial/conjure2/lexer.hpp	(original)
+++ trunk/libs/spirit/example/qi/compiler_tutorial/conjure2/lexer.hpp	2011-07-15 22:10:59 EDT (Fri, 15 Jul 2011)
@@ -69,7 +69,7 @@
       : lex::lexer<typename detail::get_lexer_type<BaseIterator>::type>
     {
     private:
-      // get the type of any qi::raw_token(...) and qi::token(...) constructs
+        // get the type of any qi::raw_token(...) and qi::token(...) constructs
         typedef typename boost::spirit::result_of::terminal<
             boost::spirit::tag::raw_token(tokenids)
         >::type raw_token_spec;
@@ -89,7 +89,7 @@
 
         conjure_tokens();
 
-        // extract a raw_token(id) when given a registered keyword
+        // extract a raw_token(id) for the given registered keyword
         raw_token_spec raw_token (std::string const& kwd) const
         {
             namespace qi = boost::spirit::qi;
@@ -100,6 +100,7 @@
             return qi::raw_token((it != keywords_.end()) ? (*it).second : ID_INVALID);
         }
 
+        // extract a token(id) for the given registered keyword
         token_spec token (std::string const& kwd) const
         {
             namespace qi = boost::spirit::qi;
Modified: trunk/libs/spirit/example/qi/compiler_tutorial/conjure2/lexer_def.hpp
==============================================================================
--- trunk/libs/spirit/example/qi/compiler_tutorial/conjure2/lexer_def.hpp	(original)
+++ trunk/libs/spirit/example/qi/compiler_tutorial/conjure2/lexer_def.hpp	2011-07-15 22:10:59 EDT (Fri, 15 Jul 2011)
@@ -60,7 +60,7 @@
     template <typename BaseIterator>
     bool conjure_tokens<BaseIterator>::add_keyword(std::string const& keyword)
     {
-        // ad the token to the lexer
+        // add the token to the lexer
         tokenids id = tokenids(this->get_next_id());
         this->self.add(keyword, id);