• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*=============================================================================
2     Boost.Wave: A Standard compliant C++ preprocessor library
3 
4     Sample: Print out the preprocessed tokens returned by the Wave iterator
5             Configuration data
6 
7     http://www.boost.org/
8 
9     Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
10     Software License, Version 1.0. (See accompanying file
11     LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
12 =============================================================================*/
13 
14 #if !defined(BOOST_CPP_TOKENS_HPP_7C0F1F14_6ACA_4439_A073_32C61C0DB6C5_INCLUDED)
15 #define BOOST_CPP_TOKENS_HPP_7C0F1F14_6ACA_4439_A073_32C61C0DB6C5_INCLUDED
16 
17 ///////////////////////////////////////////////////////////////////////////////
18 //  Uncomment the following, if you need debug output, the
19 //  BOOST_SPIRIT_DEBUG_FLAGS constants below help to fine control the amount of
20 //  the generated debug output
21 //#define BOOST_SPIRIT_DEBUG
22 
23 #if defined(BOOST_SPIRIT_DEBUG)
24 ///////////////////////////////////////////////////////////////////////////////
25 //  debug flags for the pp-iterator library, possible flags (defined in
26 //  wave_config.hpp):
27 //
28 //  #define BOOST_SPIRIT_DEBUG_FLAGS_CPP_GRAMMAR            0x0001
29 //  #define BOOST_SPIRIT_DEBUG_FLAGS_TIME_CONVERSION        0x0002
30 //  #define BOOST_SPIRIT_DEBUG_FLAGS_CPP_EXPR_GRAMMAR       0x0004
31 //  #define BOOST_SPIRIT_DEBUG_FLAGS_INTLIT_GRAMMAR         0x0008
32 //  #define BOOST_SPIRIT_DEBUG_FLAGS_CHLIT_GRAMMAR          0x0010
33 //  #define BOOST_SPIRIT_DEBUG_FLAGS_DEFINED_GRAMMAR        0x0020
34 //  #define BOOST_SPIRIT_DEBUG_FLAGS_PREDEF_MACROS_GRAMMAR  0x0040
35 
36 #define BOOST_SPIRIT_DEBUG_FLAGS_CPP (\
37         /* insert the required flags from above */ \
38     ) \
39     /**/
40 #endif
41 
42 ///////////////////////////////////////////////////////////////////////////////
43 //  Include the configuration stuff for the Wave library itself
44 #include <boost/wave/wave_config.hpp>
45 
46 ///////////////////////////////////////////////////////////////////////////////
47 //  MSVC specific #pragma's
48 #if defined(BOOST_MSVC)
49 #pragma warning (disable: 4355) // 'this' used in base member initializer list
50 #pragma warning (disable: 4800) // forcing value to bool 'true' or 'false'
51 #pragma inline_depth(255)
52 #pragma inline_recursion(on)
53 #endif // defined(BOOST_MSVC)
54 
55 #endif // !defined(BOOST_CPP_TOKENS_HPP_7C0F1F14_6ACA_4439_A073_32C61C0DB6C5_INCLUDED)
56