Boost logo

Boost-Commit :

From: joel_at_[hidden]
Date: 2008-04-18 17:04:16


Author: djowel
Date: 2008-04-18 17:04:15 EDT (Fri, 18 Apr 2008)
New Revision: 44559
URL: http://svn.boost.org/trac/boost/changeset/44559

Log:
fixed rule accepting any type of skipper but doing nothing
Text files modified:
   trunk/libs/spirit/test/qi/rule_fail.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/spirit/test/qi/rule_fail.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/rule_fail.cpp (original)
+++ trunk/libs/spirit/test/qi/rule_fail.cpp 2008-04-18 17:04:15 EDT (Fri, 18 Apr 2008)
@@ -20,12 +20,12 @@
 {
     char const* input = "some input, it doesn't matter";
     char const* end = &input[strlen(input)+1];
-
+
     rule<char const*, rule<char const*> > def;
     def = int_ >> *(',' >> int_);
-
+
     bool r = phrase_parse(input, end, def,
- space | ('%' >> *~char_('\n') >> '\n'));
+ space | ('%' >> *~char_('\n') >> '\n'));
 
     return 0;
 }


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