summaryrefslogtreecommitdiff
path: root/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/lex/lexer/lexertl/functor_data.hpp')
-rw-r--r--boost/spirit/home/lex/lexer/lexertl/functor_data.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp b/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp
index 207b374772..dfad49b67a 100644
--- a/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp
+++ b/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp
@@ -300,7 +300,7 @@ namespace boost { namespace spirit { namespace lex { namespace lexertl
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