summaryrefslogtreecommitdiff
path: root/boost/spirit/repository/home/qi/nonterminal/subrule.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/repository/home/qi/nonterminal/subrule.hpp')
-rw-r--r--boost/spirit/repository/home/qi/nonterminal/subrule.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/spirit/repository/home/qi/nonterminal/subrule.hpp b/boost/spirit/repository/home/qi/nonterminal/subrule.hpp
index a2db38496b..170367b71c 100644
--- a/boost/spirit/repository/home/qi/nonterminal/subrule.hpp
+++ b/boost/spirit/repository/home/qi/nonterminal/subrule.hpp
@@ -529,7 +529,7 @@ namespace boost { namespace spirit { namespace repository { namespace qi
{
// If you are seeing a compilation error here, you are trying
// to use a subrule as a parser outside of a subrule group.
- BOOST_SPIRIT_ASSERT_MSG(false
+ BOOST_SPIRIT_ASSERT_FAIL(Iterator
, subrule_used_outside_subrule_group, (id_type));
return false;
@@ -558,7 +558,7 @@ namespace boost { namespace spirit { namespace repository { namespace qi
{
// If you are seeing a compilation error here, you are trying
// to use a subrule as a parser outside of a subrule group.
- BOOST_SPIRIT_ASSERT_MSG(false
+ BOOST_SPIRIT_ASSERT_FAIL(Iterator
, subrule_used_outside_subrule_group, (id_type));
return false;