Changeset 44635


Ignore:
Timestamp:
Apr 20, 2008, 2:04:08 PM (10 years ago)
Author:
Hartmut Kaiser
Message:

Spirit.Lex: Fixed a gcc4.3.0 compilation error.

Location:
trunk/boost/spirit/home/lex/lexer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/spirit/home/lex/lexer/token_def.hpp

    r44528 r44635  
    7070    private:
    7171        // initialize proto base class
    72         typedef terminal_holder<token_def*, token_def> terminal_holder;
    73         typedef typename proto::terminal<terminal_holder>::type tag;
     72        typedef terminal_holder<token_def*, token_def> terminal_holder_;
     73        typedef typename proto::terminal<terminal_holder_>::type tag;
    7474        typedef proto::extends<tag, token_def> base_type;
    7575
  • trunk/boost/spirit/home/lex/lexer/token_set.hpp

    r44528 r44635  
    4747
    4848        // initialize proto base class
    49         typedef terminal_holder<token_set*, token_set> terminal_holder;
    50         typedef typename proto::terminal<terminal_holder>::type tag;
     49        typedef terminal_holder<token_set*, token_set> terminal_holder_;
     50        typedef typename proto::terminal<terminal_holder_>::type tag;
    5151        typedef proto::extends<tag, token_set> base_type;
    5252
Note: See TracChangeset for help on using the changeset viewer.