]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/preprocessor/limits.hpp
simplify Lexer use a bit
[lyx.git] / boost / boost / preprocessor / limits.hpp
index ee880e953359f1db38ac45fc1c78ab94b61e2144..e264cc3c83a59016e7bf066c68b41a6f53f661b3 100644 (file)
@@ -1,44 +1,17 @@
-#ifndef BOOST_PREPROCESSOR_LIMITS_HPP
-#define BOOST_PREPROCESSOR_LIMITS_HPP
-
-/* Copyright (C) 2001
- * Housemarque Oy
- * http://www.housemarque.com
- *
- * Permission to copy, use, modify, sell and distribute this software is
- * granted provided this copyright notice appears in all copies. This
- * software is provided "as is" without express or implied warranty, and
- * with no claim as to its suitability for any purpose.
- *
- * See http://www.boost.org for most recent version.
- */
-
-/** <p>Expands to the number of dimensions of repeat supported by the
-library.</p>
-
-<p>This concerns the repetition primitives (BOOST_PP_ENUM(),
-BOOST_PP_REPEAT() and BOOST_PP_REPEAT_FROM_TO()).</p>
-*/
-#define BOOST_PP_LIMIT_DIM 3
-
-/** <p>Expands to the maximum straight numeric literal supported by the
-library.</p>
-
-<p>This is also the limit of the repetition primitives (BOOST_PP_ENUM(),
-BOOST_PP_REPEAT() and BOOST_PP_REPEAT_FROM_TO()).</p>
-
-<h3>Note</h3>
-<ul>
-  <li>Only decimal integer literals in the range [0, BOOST_PP_LIMIT_MAG]
-      are supported.</li>
-  <li>All arithmetic operations (BOOST_PP_ADD(), BOOST_PP_SUB(),
-      BOOST_PP_MUL(), BOOST_PP_DIV()) use saturation arithmetic.</li>
-  <li>The maximum repetition count supported by the library may not be reached
-      due to compiler limitations.</li>
-</ul>
-*/
-#define BOOST_PP_LIMIT_MAG 128
-
-/** <p>Expands to the maximum tuple size supported by the library.</p> */
-#define BOOST_PP_LIMIT_TUPLE 32
-#endif
+# /* **************************************************************************
+#  *                                                                          *
+#  *     (C) Copyright Paul Mensonides 2002.
+#  *     Distributed under the Boost Software License, Version 1.0. (See
+#  *     accompanying file LICENSE_1_0.txt or copy at
+#  *     http://www.boost.org/LICENSE_1_0.txt)
+#  *                                                                          *
+#  ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_LIMITS_HPP
+# define BOOST_PREPROCESSOR_LIMITS_HPP
+#
+# include <boost/preprocessor/config/limits.hpp>
+#
+# endif