Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-04-20 10:04:08


Author: hkaiser
Date: 2008-04-20 10:04:08 EDT (Sun, 20 Apr 2008)
New Revision: 44635
URL: http://svn.boost.org/trac/boost/changeset/44635

Log:
Spirit.Lex: Fixed a gcc4.3.0 compilation error.
Text files modified:
   trunk/boost/spirit/home/lex/lexer/token_def.hpp | 4 ++--
   trunk/boost/spirit/home/lex/lexer/token_set.hpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/spirit/home/lex/lexer/token_def.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/token_def.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/token_def.hpp 2008-04-20 10:04:08 EDT (Sun, 20 Apr 2008)
@@ -69,8 +69,8 @@
     {
     private:
         // initialize proto base class
- typedef terminal_holder<token_def*, token_def> terminal_holder;
- typedef typename proto::terminal<terminal_holder>::type tag;
+ typedef terminal_holder<token_def*, token_def> terminal_holder_;
+ typedef typename proto::terminal<terminal_holder_>::type tag;
         typedef proto::extends<tag, token_def> base_type;
 
         tag make_tag()

Modified: trunk/boost/spirit/home/lex/lexer/token_set.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/token_set.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/token_set.hpp 2008-04-20 10:04:08 EDT (Sun, 20 Apr 2008)
@@ -46,8 +46,8 @@
         typedef TokenSet base_token_set;
 
         // initialize proto base class
- typedef terminal_holder<token_set*, token_set> terminal_holder;
- typedef typename proto::terminal<terminal_holder>::type tag;
+ typedef terminal_holder<token_set*, token_set> terminal_holder_;
+ typedef typename proto::terminal<terminal_holder_>::type tag;
         typedef proto::extends<tag, token_set> base_type;
 
         tag make_tag()


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