Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54678 - in trunk/libs/spirit/test: karma qi
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-05 14:52:24


Author: hkaiser
Date: 2009-07-05 14:52:24 EDT (Sun, 05 Jul 2009)
New Revision: 54678
URL: http://svn.boost.org/trac/boost/changeset/54678

Log:
Spirit: fixed broken BOOST_SPIRIT_ASSERT_MATCH
Text files modified:
   trunk/libs/spirit/test/karma/format_manip.cpp | 2 +-
   trunk/libs/spirit/test/qi/match_manip.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/spirit/test/karma/format_manip.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/format_manip.cpp (original)
+++ trunk/libs/spirit/test/karma/format_manip.cpp 2009-07-05 14:52:24 EDT (Sun, 05 Jul 2009)
@@ -26,7 +26,7 @@
     // Report invalid expression error as early as possible.
     // If you got an error_invalid_expression error message here,
     // then the expression (expr) is not a valid spirit karma expression.
- BOOST_SPIRIT_ASSERT_MATCH(boost::spirit::karma::domain, Expr)
+ BOOST_SPIRIT_ASSERT_MATCH(boost::spirit::karma::domain, Expr);
 
     std::ostringstream ostrm;
     ostrm << boost::spirit::compile<boost::spirit::karma::domain>(xpr);

Modified: trunk/libs/spirit/test/qi/match_manip.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/match_manip.cpp (original)
+++ trunk/libs/spirit/test/qi/match_manip.cpp 2009-07-05 14:52:24 EDT (Sun, 05 Jul 2009)
@@ -28,7 +28,7 @@
 bool test(Char const *toparse, Expr const& expr)
 {
     namespace spirit = boost::spirit;
- BOOST_SPIRIT_ASSERT_MATCH(spirit::qi::domain, Expr)
+ BOOST_SPIRIT_ASSERT_MATCH(spirit::qi::domain, Expr);
 
     std::istringstream istrm(toparse);
     istrm >> spirit::qi::compile<spirit::qi::domain>(expr);


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