Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55073 - trunk/boost/spirit/home/qi/nonterminal
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-21 13:48:40


Author: hkaiser
Date: 2009-07-21 13:48:39 EDT (Tue, 21 Jul 2009)
New Revision: 55073
URL: http://svn.boost.org/trac/boost/changeset/55073

Log:
Spirit: re-added lost comment about compilation errors on skipper incompatibility
Text files modified:
   trunk/boost/spirit/home/qi/nonterminal/rule.hpp | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: trunk/boost/spirit/home/qi/nonterminal/rule.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/nonterminal/rule.hpp (original)
+++ trunk/boost/spirit/home/qi/nonterminal/rule.hpp 2009-07-21 13:48:39 EDT (Tue, 21 Jul 2009)
@@ -253,6 +253,11 @@
             {
                 value_initialized<attr_type> val;
                 context_type context(val);
+
+ // If you are seeing a compilation error here stating that the
+ // forth parameter can't be converted to a qi::reference
+ // then you are probably trying to use a rule or a grammar with
+ // an incompatible skipper type.
                 if (f(first, last, context, skipper))
                 {
                     traits::swap_impl(attr, boost::get(val));
@@ -272,6 +277,11 @@
             {
                 value_initialized<attr_type> val;
                 context_type context(val, params, caller_context);
+
+ // If you are seeing a compilation error here stating that the
+ // forth parameter can't be converted to a qi::reference
+ // then you are probably trying to use a rule or a grammar with
+ // an incompatible skipper type.
                 if (f(first, last, context, skipper))
                 {
                     traits::swap_impl(attr, boost::get(val));


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