Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53335 - in trunk/boost/spirit/home: qi qi/nonterminal support
From: joel_at_[hidden]
Date: 2009-05-28 02:04:27


Author: djowel
Date: 2009-05-28 02:04:25 EDT (Thu, 28 May 2009)
New Revision: 53335
URL: http://svn.boost.org/trac/boost/changeset/53335

Log:
Renamed pass to _pass
Text files modified:
   trunk/boost/spirit/home/qi/domain.hpp | 2 ++
   trunk/boost/spirit/home/qi/nonterminal/rule.hpp | 1 +
   trunk/boost/spirit/home/support/argument.hpp | 4 ++--
   3 files changed, 5 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/qi/domain.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/domain.hpp (original)
+++ trunk/boost/spirit/home/qi/domain.hpp 2009-05-28 02:04:25 EDT (Thu, 28 May 2009)
@@ -37,6 +37,8 @@
     {
         BOOST_PP_REPEAT(SPIRIT_ARGUMENTS_LIMIT, SPIRIT_USING_ARGUMENT, _)
         BOOST_PP_REPEAT(SPIRIT_ATTRIBUTES_LIMIT, SPIRIT_USING_ATTRIBUTE, _)
+
+ using spirit::_pass;
         using spirit::_val;
         using spirit::_a;
         using spirit::_b;

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-05-28 02:04:25 EDT (Thu, 28 May 2009)
@@ -39,6 +39,7 @@
 {
     BOOST_PP_REPEAT(SPIRIT_ATTRIBUTES_LIMIT, SPIRIT_USING_ATTRIBUTE, _)
 
+ using spirit::_pass;
     using spirit::_val;
     using spirit::_a;
     using spirit::_b;

Modified: trunk/boost/spirit/home/support/argument.hpp
==============================================================================
--- trunk/boost/spirit/home/support/argument.hpp (original)
+++ trunk/boost/spirit/home/support/argument.hpp 2009-05-28 02:04:25 EDT (Thu, 28 May 2009)
@@ -120,8 +120,8 @@
     phoenix::actor<argument<1> > const _2 = argument<1>();
     phoenix::actor<argument<2> > const _3 = argument<2>();
 
- // 'pass' may be used to make a match fail in retrospective
- phoenix::actor<phoenix::argument<2> > const pass = phoenix::argument<2>();
+ // '_pass' may be used to make a match fail in retrospective
+ phoenix::actor<phoenix::argument<2> > const _pass = phoenix::argument<2>();
 
     // Bring in the rest of the arguments and attributes (_4 .. _N+1), using PP
     BOOST_PP_REPEAT_FROM_TO(


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