1 /*============================================================================= 2 Boost.Wave: A Standard compliant C++ preprocessor library 3 4 Sample: Re2C based IDL lexer 5 6 http://www.boost.org/ 7 8 Copyright (c) 2001-2010 Hartmut Kaiser. Distributed under the Boost 9 Software License, Version 1.0. (See accompanying file 10 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 11 =============================================================================*/ 12 13 #if !defined(IDL_RE_HPP_BD62775D_1659_4684_872C_03C02543C9A5_INCLUDED) 14 #define IDL_RE_HPP_BD62775D_1659_4684_872C_03C02543C9A5_INCLUDED 15 16 #include <boost/wave/token_ids.hpp> 17 18 /////////////////////////////////////////////////////////////////////////////// 19 namespace boost { 20 namespace wave { 21 namespace idllexer { 22 namespace re2clex { 23 24 /////////////////////////////////////////////////////////////////////////////// 25 // The scanner function to call whenever a new token is requested 26 boost::wave::token_id scan( 27 boost::wave::cpplexer::re2clex::Scanner *s); 28 29 /////////////////////////////////////////////////////////////////////////////// 30 } // namespace re2clex 31 } // namespace idllexer 32 } // namespace wave 33 } // namespace boost 34 35 #endif // !defined(IDL_RE_HPP_BD62775D_1659_4684_872C_03C02543C9A5_INCLUDED) 36