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