|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83486 - trunk/boost/spirit/home/lex/lexer/lexertl
From: hartmut.kaiser_at_[hidden]
Date: 2013-03-18 07:28:34
Author: hkaiser
Date: 2013-03-18 07:28:33 EDT (Mon, 18 Mar 2013)
New Revision: 83486
URL: http://svn.boost.org/trac/boost/changeset/83486
Log:
Fix #8302: Lexer does not relase iterator - excellent catch!
Text files modified:
trunk/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp 2013-03-18 07:28:33 EDT (Mon, 18 Mar 2013)
@@ -300,7 +300,7 @@
data (IterData const& data_, Iterator& first, Iterator const& last)
: base_type(data_, first, last)
, actions_(data_.actions_), hold_()
- , value_(iterator_range<Iterator>(first, last))
+ , value_(iterator_range<Iterator>(last, last))
, has_value_(false), has_hold_(false) {}
// invoke attached semantic actions, if defined
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