]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/wave/include/boost/wave/cpplexer/re2clex/cpp_re.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / wave / include / boost / wave / cpplexer / re2clex / cpp_re.hpp
1 /*=============================================================================
2 Boost.Wave: A Standard compliant C++ preprocessor library
3
4 Re2C based C++ lexer
5
6 http://www.boost.org/
7
8 Copyright (c) 2001-2012 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(CPP_RE_HPP_B76C4F5E_63E9_4B8A_9975_EC32FA6BF027_INCLUDED)
14 #define CPP_RE_HPP_B76C4F5E_63E9_4B8A_9975_EC32FA6BF027_INCLUDED
15
16 #include <boost/wave/wave_config.hpp>
17 #include <boost/wave/token_ids.hpp>
18
19 // this must occur after all of the includes and before any code appears
20 #ifdef BOOST_HAS_ABI_HEADERS
21 #include BOOST_ABI_PREFIX
22 #endif
23
24 // suppress warnings about dependent classes not being exported from the dll
25 #ifdef BOOST_MSVC
26 #pragma warning(push)
27 #pragma warning(disable : 4251 4231 4660)
28 #endif
29
30 ///////////////////////////////////////////////////////////////////////////////
31 namespace boost {
32 namespace wave {
33 namespace cpplexer {
34 namespace re2clex {
35
36 struct Scanner;
37
38 ///////////////////////////////////////////////////////////////////////////////
39 // The scanner function to call whenever a new token is requested
40 BOOST_WAVE_DECL boost::wave::token_id scan(Scanner *s);
41
42 ///////////////////////////////////////////////////////////////////////////////
43 } // namespace re2clex
44 } // namespace cpplexer
45 } // namespace wave
46 } // namespace boost
47
48 #ifdef BOOST_MSVC
49 #pragma warning(pop)
50 #endif
51
52 // the suffix header occurs after all of the code
53 #ifdef BOOST_HAS_ABI_HEADERS
54 #include BOOST_ABI_SUFFIX
55 #endif
56
57 #endif // !defined(CPP_RE_HPP_B76C4F5E_63E9_4B8A_9975_EC32FA6BF027_INCLUDED)