Chris@16: /*============================================================================= Chris@16: Boost.Wave: A Standard compliant C++ preprocessor library Chris@16: Chris@16: http://www.boost.org/ Chris@16: Chris@16: Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost Chris@16: Software License, Version 1.0. (See accompanying file Chris@16: LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: =============================================================================*/ Chris@16: Chris@16: #if !defined(BOOST_WAVE_CPP_VALUE_ERROR_INCLUDED) Chris@16: #define BOOST_WAVE_CPP_VALUE_ERROR_INCLUDED Chris@16: Chris@16: #include Chris@16: Chris@16: // this must occur after all of the includes and before any code appears Chris@16: #ifdef BOOST_HAS_ABI_HEADERS Chris@16: #include BOOST_ABI_PREFIX Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: namespace boost { Chris@16: namespace wave { Chris@16: namespace grammars { Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Chris@16: // value_error enum type Chris@16: // Chris@16: // This is used to encode any error occurred during the evaluation of a Chris@16: // conditional preprocessor expression Chris@16: // Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: enum value_error { Chris@16: error_noerror = 0x0, Chris@16: error_division_by_zero = 0x1, Chris@16: error_integer_overflow = 0x2, Chris@16: error_character_overflow = 0x4 Chris@16: }; Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: } // namespace grammars Chris@16: } // namespace wave Chris@16: } // namespace boost Chris@16: Chris@16: // the suffix header occurs after all of the code Chris@16: #ifdef BOOST_HAS_ABI_HEADERS Chris@16: #include BOOST_ABI_SUFFIX Chris@16: #endif Chris@16: Chris@16: #endif // !defined(BOOST_WAVE_CPP_VALUE_ERROR_INCLUDED)