Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59726 - trunk/boost/spirit/home/qi/nonterminal
From: joel_at_[hidden]
Date: 2010-02-16 23:00:31


Author: djowel
Date: 2010-02-16 23:00:30 EST (Tue, 16 Feb 2010)
New Revision: 59726
URL: http://svn.boost.org/trac/boost/changeset/59726

Log:
simplified but equivalent logic
Text files modified:
   trunk/boost/spirit/home/qi/nonterminal/rule.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 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-02-16 23:00:30 EST (Tue, 16 Feb 2010)
@@ -220,8 +220,7 @@
             if (f)
             {
                 // do a preskip if this is an implied lexeme
- if (is_same<skipper_type, unused_type>::value
- && !is_same<Skipper, unused_type>::value)
+ if (is_same<skipper_type, unused_type>::value)
                     qi::skip_over(first, last, skipper);
 
                 typedef traits::make_attribute<attr_type, Attribute> make_attribute;


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