Chris@16
|
1 /*=============================================================================
|
Chris@16
|
2 Boost.Wave: A Standard compliant C++ preprocessor library
|
Chris@16
|
3
|
Chris@16
|
4 Re2C based C++ lexer
|
Chris@16
|
5
|
Chris@16
|
6 http://www.boost.org/
|
Chris@16
|
7
|
Chris@16
|
8 Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
|
Chris@16
|
9 Software License, Version 1.0. (See accompanying file
|
Chris@16
|
10 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
11 =============================================================================*/
|
Chris@16
|
12
|
Chris@16
|
13 #if !defined(CPP_RE_HPP_B76C4F5E_63E9_4B8A_9975_EC32FA6BF027_INCLUDED)
|
Chris@16
|
14 #define CPP_RE_HPP_B76C4F5E_63E9_4B8A_9975_EC32FA6BF027_INCLUDED
|
Chris@16
|
15
|
Chris@16
|
16 #include <boost/wave/wave_config.hpp>
|
Chris@16
|
17 #include <boost/wave/token_ids.hpp>
|
Chris@16
|
18
|
Chris@16
|
19 // this must occur after all of the includes and before any code appears
|
Chris@16
|
20 #ifdef BOOST_HAS_ABI_HEADERS
|
Chris@16
|
21 #include BOOST_ABI_PREFIX
|
Chris@16
|
22 #endif
|
Chris@16
|
23
|
Chris@16
|
24 // suppress warnings about dependent classes not being exported from the dll
|
Chris@16
|
25 #ifdef BOOST_MSVC
|
Chris@16
|
26 #pragma warning(push)
|
Chris@16
|
27 #pragma warning(disable : 4251 4231 4660)
|
Chris@16
|
28 #endif
|
Chris@16
|
29
|
Chris@16
|
30 ///////////////////////////////////////////////////////////////////////////////
|
Chris@16
|
31 namespace boost {
|
Chris@16
|
32 namespace wave {
|
Chris@16
|
33 namespace cpplexer {
|
Chris@16
|
34 namespace re2clex {
|
Chris@16
|
35
|
Chris@16
|
36 struct Scanner;
|
Chris@16
|
37
|
Chris@16
|
38 ///////////////////////////////////////////////////////////////////////////////
|
Chris@16
|
39 // The scanner function to call whenever a new token is requested
|
Chris@16
|
40 BOOST_WAVE_DECL boost::wave::token_id scan(Scanner *s);
|
Chris@16
|
41
|
Chris@16
|
42 ///////////////////////////////////////////////////////////////////////////////
|
Chris@16
|
43 } // namespace re2clex
|
Chris@16
|
44 } // namespace cpplexer
|
Chris@16
|
45 } // namespace wave
|
Chris@16
|
46 } // namespace boost
|
Chris@16
|
47
|
Chris@16
|
48 #ifdef BOOST_MSVC
|
Chris@16
|
49 #pragma warning(pop)
|
Chris@16
|
50 #endif
|
Chris@16
|
51
|
Chris@16
|
52 // the suffix header occurs after all of the code
|
Chris@16
|
53 #ifdef BOOST_HAS_ABI_HEADERS
|
Chris@16
|
54 #include BOOST_ABI_SUFFIX
|
Chris@16
|
55 #endif
|
Chris@16
|
56
|
Chris@16
|
57 #endif // !defined(CPP_RE_HPP_B76C4F5E_63E9_4B8A_9975_EC32FA6BF027_INCLUDED)
|