Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53842 - trunk/libs/spirit/test/lex
From: hartmut.kaiser_at_[hidden]
Date: 2009-06-12 21:43:59


Author: hkaiser
Date: 2009-06-12 21:43:59 EDT (Fri, 12 Jun 2009)
New Revision: 53842
URL: http://svn.boost.org/trac/boost/changeset/53842

Log:
Spirit: Fixing lexer test after changes to multi_pass
Text files modified:
   trunk/libs/spirit/test/lex/regression001.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/spirit/test/lex/regression001.cpp
==============================================================================
--- trunk/libs/spirit/test/lex/regression001.cpp (original)
+++ trunk/libs/spirit/test/lex/regression001.cpp 2009-06-12 21:43:59 EDT (Fri, 12 Jun 2009)
@@ -56,7 +56,7 @@
     base_iterator last = &first[str.size()];
 
     for(lexer_type::iterator_type i = position_helper_lexer.begin(first, last);
- i != position_helper_lexer.end(); i++ )
+ i != position_helper_lexer.end() && *i; i++ )
     {
     }
     return boost::report_errors();


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