limits.hpp 850 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright (c) 2001-2011 Hartmut Kaiser
  2. //
  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. #if !defined(BOOST_SPIRIT_SUPPORT_LIMITS_MAR_26_2011_0833PM)
  6. #define BOOST_SPIRIT_SUPPORT_LIMITS_MAR_26_2011_0833PM
  7. #if defined(_MSC_VER)
  8. #pragma once
  9. #endif
  10. #include <boost/spirit/include/phoenix_core.hpp>
  11. #ifndef BOOST_SPIRIT_USE_PHOENIX_V3
  12. #if !defined(SPIRIT_ARGUMENTS_LIMIT)
  13. # define SPIRIT_ARGUMENTS_LIMIT PHOENIX_LIMIT
  14. #endif
  15. #if !defined(SPIRIT_ATTRIBUTES_LIMIT)
  16. # define SPIRIT_ATTRIBUTES_LIMIT PHOENIX_LIMIT
  17. #endif
  18. #else
  19. #if !defined(SPIRIT_ARGUMENTS_LIMIT)
  20. # define SPIRIT_ARGUMENTS_LIMIT BOOST_PHOENIX_LIMIT
  21. #endif
  22. #if !defined(SPIRIT_ATTRIBUTES_LIMIT)
  23. # define SPIRIT_ATTRIBUTES_LIMIT BOOST_PHOENIX_LIMIT
  24. #endif
  25. #endif
  26. #endif