$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r58043 - in trunk/boost/spirit/home: karma/stream lex/lexer support
From: hartmut.kaiser_at_[hidden]
Date: 2009-11-29 16:29:05
Author: hkaiser
Date: 2009-11-29 16:29:04 EST (Sun, 29 Nov 2009)
New Revision: 58043
URL: http://svn.boost.org/trac/boost/changeset/58043
Log:
Spirit: formatting, typos, etc.
Text files modified: 
   trunk/boost/spirit/home/karma/stream/stream.hpp |     2 +-                                      
   trunk/boost/spirit/home/lex/lexer/token_def.hpp |     8 ++++----                                
   trunk/boost/spirit/home/support/attributes.hpp  |     8 ++++----                                
   3 files changed, 9 insertions(+), 9 deletions(-)
Modified: trunk/boost/spirit/home/karma/stream/stream.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/stream/stream.hpp	(original)
+++ trunk/boost/spirit/home/karma/stream/stream.hpp	2009-11-29 16:29:04 EST (Sun, 29 Nov 2009)
@@ -270,7 +270,7 @@
     };
 
     ///////////////////////////////////////////////////////////////////////////
-    // Parser generators: make_xxx function (objects)
+    // Generator generators: make_xxx function (objects)
     ///////////////////////////////////////////////////////////////////////////
     template <typename Char, typename Modifiers>
     struct make_stream
Modified: trunk/boost/spirit/home/lex/lexer/token_def.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/token_def.hpp	(original)
+++ trunk/boost/spirit/home/lex/lexer/token_def.hpp	2009-11-29 16:29:04 EST (Sun, 29 Nov 2009)
@@ -109,9 +109,9 @@
         template <typename Context>
         info what(Context& /*context*/) const
         {
-            if (0 == def_.which()) {
+            if (0 == def_.which()) 
                 return info("token_def", get<string_type>(def_));
-            }
+
             return info("token_def", get<char_type>(def_));
         }
 
@@ -199,8 +199,8 @@
 
         string_type definition() const 
         { 
-            return (0 == def_.which()) 
-              ? get<string_type>(def_) : string_type(1, get<char_type>(def_));
+            return (0 == def_.which()) ? 
+                get<string_type>(def_) : string_type(1, get<char_type>(def_));
         }
         std::size_t state() const { return token_state_; }
 
Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp	(original)
+++ trunk/boost/spirit/home/support/attributes.hpp	2009-11-29 16:29:04 EST (Sun, 29 Nov 2009)
@@ -291,12 +291,12 @@
         template <typename Sequence, bool no_unused
             , int size = mpl::size<Sequence>::value>
         struct build_collapsed_variant;
-                
+
         // N element case, no unused
         template <typename Sequence, int size>
         struct build_collapsed_variant<Sequence, true, size>
             : spirit::detail::as_variant<Sequence> {};
-                
+
         // N element case with unused
         template <typename Sequence, int size>
         struct build_collapsed_variant<Sequence, false, size>
@@ -337,7 +337,7 @@
             type;
         };
     }
-        
+
     ///////////////////////////////////////////////////////////////////////////
     // build_variant
     //
@@ -353,7 +353,7 @@
         typedef typename
             filter_unused_attributes<Sequence>::type
         filtered_attributes;
-        
+
         typedef has_no_unused<Sequence> no_unused;
 
         // If the original attribute list does not contain any unused