Chris@16
|
1 /*=============================================================================
|
Chris@16
|
2 Boost.Wave: A Standard compliant C++ preprocessor library
|
Chris@16
|
3
|
Chris@16
|
4 http://www.boost.org/
|
Chris@16
|
5
|
Chris@16
|
6 Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
|
Chris@16
|
7 Software License, Version 1.0. (See accompanying file
|
Chris@16
|
8 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
9 =============================================================================*/
|
Chris@16
|
10
|
Chris@16
|
11 #if !defined(BOOST_WAVE_CPP_VALUE_ERROR_INCLUDED)
|
Chris@16
|
12 #define BOOST_WAVE_CPP_VALUE_ERROR_INCLUDED
|
Chris@16
|
13
|
Chris@16
|
14 #include <boost/wave/wave_config.hpp>
|
Chris@16
|
15
|
Chris@16
|
16 // this must occur after all of the includes and before any code appears
|
Chris@16
|
17 #ifdef BOOST_HAS_ABI_HEADERS
|
Chris@16
|
18 #include BOOST_ABI_PREFIX
|
Chris@16
|
19 #endif
|
Chris@16
|
20
|
Chris@16
|
21 ///////////////////////////////////////////////////////////////////////////////
|
Chris@16
|
22 namespace boost {
|
Chris@16
|
23 namespace wave {
|
Chris@16
|
24 namespace grammars {
|
Chris@16
|
25
|
Chris@16
|
26 ///////////////////////////////////////////////////////////////////////////////
|
Chris@16
|
27 //
|
Chris@16
|
28 // value_error enum type
|
Chris@16
|
29 //
|
Chris@16
|
30 // This is used to encode any error occurred during the evaluation of a
|
Chris@16
|
31 // conditional preprocessor expression
|
Chris@16
|
32 //
|
Chris@16
|
33 ///////////////////////////////////////////////////////////////////////////////
|
Chris@16
|
34 enum value_error {
|
Chris@16
|
35 error_noerror = 0x0,
|
Chris@16
|
36 error_division_by_zero = 0x1,
|
Chris@16
|
37 error_integer_overflow = 0x2,
|
Chris@16
|
38 error_character_overflow = 0x4
|
Chris@16
|
39 };
|
Chris@16
|
40
|
Chris@16
|
41 ///////////////////////////////////////////////////////////////////////////////
|
Chris@16
|
42 } // namespace grammars
|
Chris@16
|
43 } // namespace wave
|
Chris@16
|
44 } // namespace boost
|
Chris@16
|
45
|
Chris@16
|
46 // the suffix header occurs after all of the code
|
Chris@16
|
47 #ifdef BOOST_HAS_ABI_HEADERS
|
Chris@16
|
48 #include BOOST_ABI_SUFFIX
|
Chris@16
|
49 #endif
|
Chris@16
|
50
|
Chris@16
|
51 #endif // !defined(BOOST_WAVE_CPP_VALUE_ERROR_INCLUDED)
|