skip_flag.hpp 947 B

1234567891011121314151617181920212223242526272829
  1. /*=============================================================================
  2. Copyright (c) 2001-2011 Hartmut Kaiser
  3. Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. =============================================================================*/
  6. #if !defined(BOOST_SPIRIT_SKIP_FLAG_DEC_02_2009_0412PM)
  7. #define BOOST_SPIRIT_SKIP_FLAG_DEC_02_2009_0412PM
  8. #if defined(_MSC_VER)
  9. #pragma once
  10. #endif
  11. #include <boost/spirit/home/support/detail/scoped_enum_emulation.hpp>
  12. namespace boost { namespace spirit { namespace qi
  13. {
  14. ///////////////////////////////////////////////////////////////////////////
  15. BOOST_SCOPED_ENUM_START(skip_flag)
  16. {
  17. postskip, // force post-skipping in phrase_parse()
  18. dont_postskip // inhibit post-skipping in phrase_parse()
  19. };
  20. BOOST_SCOPED_ENUM_END
  21. }}}
  22. #endif