Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-08-23 16:43:48


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

Log:
Spirit.Karma: made certain error messages more consistent
Text files modified:
   trunk/boost/spirit/home/karma/binary/binary.hpp | 2 +-
   trunk/boost/spirit/home/karma/char/char.hpp | 4 ++--
   trunk/boost/spirit/home/karma/numeric/int.hpp | 2 +-
   trunk/boost/spirit/home/karma/numeric/real.hpp | 2 +-
   trunk/boost/spirit/home/karma/numeric/uint.hpp | 2 +-
   trunk/boost/spirit/home/karma/operator/kleene.hpp | 2 +-
   trunk/boost/spirit/home/karma/operator/plus.hpp | 2 +-
   trunk/boost/spirit/home/karma/stream/stream.hpp | 2 +-
   trunk/boost/spirit/home/karma/string/lit.hpp | 4 ++--
   9 files changed, 11 insertions(+), 11 deletions(-)

Modified: trunk/boost/spirit/home/karma/binary/binary.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/binary/binary.hpp (original)
+++ trunk/boost/spirit/home/karma/binary/binary.hpp 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -132,7 +132,7 @@
             unused_type)
         {
             BOOST_MPL_ASSERT_MSG(false,
- binary_generator_not_usable_without_parameter, ());
+ binary_generator_not_usable_without_attribute, ());
             return false;
         }
 

Modified: trunk/boost/spirit/home/karma/char/char.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/char/char.hpp (original)
+++ trunk/boost/spirit/home/karma/char/char.hpp 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -63,7 +63,7 @@
         generate(Component const&, OutputIterator&, Context&, Delimiter const&,
             unused_type)
         {
- BOOST_MPL_ASSERT_MSG(false, char__not_usable_without_parameter, ());
+ BOOST_MPL_ASSERT_MSG(false, char__not_usable_without_attribute, ());
             return false;
         }
 
@@ -187,7 +187,7 @@
         generate(Component const&, OutputIterator&, Context&, Delimiter const&,
             unused_type)
         {
- BOOST_MPL_ASSERT_MSG(false, char__not_usable_without_parameter, ());
+ BOOST_MPL_ASSERT_MSG(false, char__not_usable_without_attribute, ());
             return false;
         }
 

Modified: trunk/boost/spirit/home/karma/numeric/int.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/numeric/int.hpp (original)
+++ trunk/boost/spirit/home/karma/numeric/int.hpp 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -69,7 +69,7 @@
         generate(Component const&, OutputIterator&, Context&, Delimiter const&,
             unused_type)
         {
- BOOST_MPL_ASSERT_MSG(false, int__not_usable_without_parameter, ());
+ BOOST_MPL_ASSERT_MSG(false, int__not_usable_without_attribute, ());
             return false;
         }
 

Modified: trunk/boost/spirit/home/karma/numeric/real.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/numeric/real.hpp (original)
+++ trunk/boost/spirit/home/karma/numeric/real.hpp 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -66,7 +66,7 @@
         generate(Component const&, OutputIterator&, Context&, Delimiter const&,
             unused_type)
         {
- BOOST_MPL_ASSERT_MSG(false, real_not_usable_without_parameter,
+ BOOST_MPL_ASSERT_MSG(false, real_not_usable_without_attribute,
                 (Component, Context));
             return false;
         }

Modified: trunk/boost/spirit/home/karma/numeric/uint.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/numeric/uint.hpp (original)
+++ trunk/boost/spirit/home/karma/numeric/uint.hpp 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -60,7 +60,7 @@
         generate(Component const&, OutputIterator&, Context&, Delimiter const&,
             unused_type)
         {
- BOOST_MPL_ASSERT_MSG(false, uint_not_usable_without_parameter, ());
+ BOOST_MPL_ASSERT_MSG(false, uint_not_usable_without_attribute, ());
             return false;
         }
 

Modified: trunk/boost/spirit/home/karma/operator/kleene.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/kleene.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/kleene.hpp 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -68,7 +68,7 @@
 // generate(Component const&, OutputIterator&, Context&, Delimiter const&,
 // unused_type)
 // {
-// BOOST_MPL_ASSERT_MSG(false, kleene_not_usable_without_parameter, ());
+// BOOST_MPL_ASSERT_MSG(false, kleene_not_usable_without_attribute, ());
 // return false;
 // }
 

Modified: trunk/boost/spirit/home/karma/operator/plus.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/plus.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/plus.hpp 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -71,7 +71,7 @@
 // generate(Component const&, OutputIterator&, Context&, Delimiter const&,
 // unused_type)
 // {
-// BOOST_MPL_ASSERT_MSG(false, plus_not_usable_without_parameter, ());
+// BOOST_MPL_ASSERT_MSG(false, plus_not_usable_without_attribute, ());
 // return false;
 // }
 

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 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -103,7 +103,7 @@
         generate(Component const&, OutputIterator&, Context&, Delimiter const&,
             unused_type)
         {
- BOOST_MPL_ASSERT_MSG(false, stream__not_usable_without_parameter,
+ BOOST_MPL_ASSERT_MSG(false, stream__not_usable_without_attribute,
               (Component, OutputIterator, Delimiter));
             return false;
         }

Modified: trunk/boost/spirit/home/karma/string/lit.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/string/lit.hpp (original)
+++ trunk/boost/spirit/home/karma/string/lit.hpp 2008-08-23 16:43:47 EDT (Sat, 23 Aug 2008)
@@ -55,7 +55,7 @@
         generate(Component const& component, OutputIterator& sink,
             Context& /*ctx*/, Delimiter const& d, unused_type)
         {
- BOOST_MPL_ASSERT_MSG(false, lit_not_usable_without_parameter, ());
+ BOOST_MPL_ASSERT_MSG(false, lit_not_usable_without_attribute, ());
             return false;
         }
 
@@ -165,7 +165,7 @@
         generate(Component const& component, OutputIterator& sink,
             Context& /*ctx*/, Delimiter const& d, unused_type)
         {
- BOOST_MPL_ASSERT_MSG(false, lit_not_usable_without_parameter, ());
+ BOOST_MPL_ASSERT_MSG(false, lit_not_usable_without_attribute, ());
             return false;
         }
 


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