Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69851 - trunk/boost/spirit/home/lex/lexer
From: hartmut.kaiser_at_[hidden]
Date: 2011-03-11 11:57:11


Author: hkaiser
Date: 2011-03-11 11:57:10 EST (Fri, 11 Mar 2011)
New Revision: 69851
URL: http://svn.boost.org/trac/boost/changeset/69851

Log:
Spirit: fixing gcc compilation problem
Text files modified:
   trunk/boost/spirit/home/lex/lexer/char_token_def.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/lex/lexer/char_token_def.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/char_token_def.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/char_token_def.hpp 2011-03-11 11:57:10 EST (Fri, 11 Mar 2011)
@@ -177,8 +177,7 @@
         template <typename Terminal>
         result_type operator()(Terminal const& term, unused_type) const
         {
- Char ch = fusion::at_c<0>(term.args);
- return result_type(ch, ch);
+ return result_type(fusion::at_c<0>(term.args), fusion::at_c<0>(term.args));
         }
     };
 


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