|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53587 - trunk/boost/spirit/home/qi/detail
From: hartmut.kaiser_at_[hidden]
Date: 2009-06-02 21:23:00
Author: hkaiser
Date: 2009-06-02 21:23:00 EDT (Tue, 02 Jun 2009)
New Revision: 53587
URL: http://svn.boost.org/trac/boost/changeset/53587
Log:
Spirit: fixing the latest fix
Text files modified:
trunk/boost/spirit/home/qi/detail/string_parse.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/qi/detail/string_parse.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/detail/string_parse.hpp (original)
+++ trunk/boost/spirit/home/qi/detail/string_parse.hpp 2009-06-02 21:23:00 EDT (Tue, 02 Jun 2009)
@@ -23,11 +23,11 @@
Iterator i = first;
Char ch = *str;
- for (; !!ch; ++str, ++i)
+ for (; !!ch; ++i)
{
if (i == last || (ch != *i))
return false;
- ch = *str;
+ ch = *++str;
}
detail::assign_to(first, i, attr);
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