idl_re.hpp 1.3 KB

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