Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76284 - trunk/boost/spirit/home/lex/qi
From: hartmut.kaiser_at_[hidden]
Date: 2012-01-02 19:30:25


Author: hkaiser
Date: 2012-01-02 19:30:23 EST (Mon, 02 Jan 2012)
New Revision: 76284
URL: http://svn.boost.org/trac/boost/changeset/76284

Log:
Spirit: fixing copy/paste error
Text files modified:
   trunk/boost/spirit/home/lex/qi/plain_tokenid.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/lex/qi/plain_tokenid.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/qi/plain_tokenid.hpp (original)
+++ trunk/boost/spirit/home/lex/qi/plain_tokenid.hpp 2012-01-02 19:30:23 EST (Mon, 02 Jan 2012)
@@ -162,7 +162,7 @@
                 token_type const& t = *first;
                 if (id_type(idmin) >= t.id() && id_type(idmin) <= t.id())
                 {
- spirit::traits::assign_to(id, attr);
+ spirit::traits::assign_to(t.id(), attr);
                     ++first;
                     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