Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54944 - trunk/boost/spirit/home/qi/operator
From: joel_at_[hidden]
Date: 2009-07-14 03:55:34


Author: djowel
Date: 2009-07-14 03:55:32 EDT (Tue, 14 Jul 2009)
New Revision: 54944
URL: http://svn.boost.org/trac/boost/changeset/54944

Log:
fix lists not reseting its local value used as the left parser's attribute between matching consecutive elements of the 'list'.
Text files modified:
   trunk/boost/spirit/home/qi/operator/list.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/boost/spirit/home/qi/operator/list.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/operator/list.hpp (original)
+++ trunk/boost/spirit/home/qi/operator/list.hpp 2009-07-14 03:55:32 EDT (Tue, 14 Jul 2009)
@@ -71,6 +71,7 @@
                  && left.parse(i, last, context, skipper, val))
                 {
                     traits::push_back(attr, val);
+ traits::clear(val);
                     first = i;
                 }
                 return true;


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