|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66791 - trunk/boost/spirit/home/qi/nonterminal
From: hartmut.kaiser_at_[hidden]
Date: 2010-11-27 10:56:55
Author: hkaiser
Date: 2010-11-27 10:56:53 EST (Sat, 27 Nov 2010)
New Revision: 66791
URL: http://svn.boost.org/trac/boost/changeset/66791
Log:
Spirit: applying patch improving assert messages
Text files modified:
trunk/boost/spirit/home/qi/nonterminal/rule.hpp | 2 +-
1 files changed, 1 insertions(+), 1 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 2010-11-27 10:56:53 EST (Sat, 27 Nov 2010)
@@ -173,7 +173,7 @@
// from an uninitialized one. Did you mean to refer to the right
// hand side rule instead of assigning from it? In this case you
// should write lhs = rhs.alias();
- BOOST_ASSERT(rhs.f);
+ BOOST_ASSERT(rhs.f && "Did you mean rhs.alias() instead of rhs?");
f = rhs.f;
name_ = rhs.name_;
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