Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58796 - trunk/boost/spirit/home/qi/directive
From: hartmut.kaiser_at_[hidden]
Date: 2010-01-07 21:22:06


Author: hkaiser
Date: 2010-01-07 21:22:05 EST (Thu, 07 Jan 2010)
New Revision: 58796
URL: http://svn.boost.org/trac/boost/changeset/58796

Log:
Spirit: minor fixes to qi::omit.hpp[] directive
Text files modified:
   trunk/boost/spirit/home/qi/directive/omit.hpp | 7 +++----
   1 files changed, 3 insertions(+), 4 deletions(-)

Modified: trunk/boost/spirit/home/qi/directive/omit.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/directive/omit.hpp (original)
+++ trunk/boost/spirit/home/qi/directive/omit.hpp 2010-01-07 21:22:05 EST (Thu, 07 Jan 2010)
@@ -1,5 +1,5 @@
 /*=============================================================================
- Copyright (c) 2001-2010 Joel de Guzman
+ Copyright (c) 2001-2010 Hartmut Kaiser
 
     Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -56,14 +56,13 @@
         bool parse(Iterator& first, Iterator const& last
           , Context& context, Skipper const& skipper, Attribute& attr) const
         {
- return subject.parse(first, last, context, skipper, attr);
+ return subject.parse(first, last, context, skipper, unused);
         }
 
         template <typename Context>
         info what(Context& context) const
         {
             return info("omit", subject.what(context));
-
         }
 
         Subject subject;
@@ -91,7 +90,7 @@
 {
     template <typename Subject>
     struct has_semantic_action<qi::omit_directive<Subject> >
- : mpl::false_ {};
+ : unary_has_semantic_action<Subject> {};
 }}}
 
 #endif


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