Changeset 44656


Ignore:
Timestamp:
Apr 20, 2008, 9:44:25 PM (10 years ago)
Author:
Hartmut Kaiser
Message:

Spirit.Lex: Cleaning up ...

Location:
trunk/boost/spirit/home/lex/lexer/lexertl
Files:
3 edited

Legend:

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

    r44652 r44656  
    241241    public:
    242242        lexertl_functor()
    243 #if /*0 != __DECCXX_VER || BOOST_INTEL_CXX_VERSION > 900 || */defined(__PGI)
     243#if defined(__PGI)
    244244          : eof()
    245 #endif // 0 != __DECCXX_VER
     245#endif
    246246        {}
    247247       
     
    359359    };
    360360
    361 #if 0 != __COMO_VERSION__ || !BOOST_WORKAROUND(BOOST_MSVC, <= 1310)
     361#if defined(BOOST_SPIRIT_STATIC_EOF)
    362362    ///////////////////////////////////////////////////////////////////////////
    363363    //  eof token
     
    371371            typename lexertl_functor<
    372372                Token, Iterator, SupportsActors, SupportsState>::result_type();
    373 #endif // 0 != __COMO_VERSION__
     373#endif
    374374
    375375}}}
  • trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_static_functor.hpp

    r44652 r44656  
    2121#include <boost/spirit/home/support/detail/lexer/state_machine.hpp>
    2222#include <boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp>
     23#include <boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp>
    2324
    2425#if 0 != __COMO_VERSION__ || !BOOST_WORKAROUND(BOOST_MSVC, <= 1310)
     
    234235    public:
    235236        lexertl_static_functor()
    236 #if /*0 != __DECCXX_VER || BOOST_INTEL_CXX_VERSION > 900 || */defined(__PGI)
     237#if defined(__PGI)
    237238          : eof()
    238 #endif // 0 != __DECCXX_VER
     239#endif
    239240        {}
    240241       
     
    344345    };
    345346
    346 #if 0 != __COMO_VERSION__ || !BOOST_WORKAROUND(BOOST_MSVC, <= 1310)
     347#if defined(BOOST_SPIRIT_STATIC_EOF)
    347348    ///////////////////////////////////////////////////////////////////////////
    348349    //  eof token
     
    356357            typename lexertl_static_functor<
    357358                Token, Iterator, SupportsActors, SupportsState>::result_type();
    358 #endif // 0 != __COMO_VERSION__
     359#endif
    359360
    360361}}}
  • trunk/boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp

    r44655 r44656  
    2222    struct wrap_action
    2323    {
    24         // plain functors are not touched at all
     24        // plain functions with 4 arguments and function objects are not
     25        // touched at all
    2526        template <typename F>
    2627        static FunctionType call(F const& f)
Note: See TracChangeset for help on using the changeset viewer.