diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-08-26 08:15:55 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-08-26 08:15:55 -0400 |
commit | bb4dd8289b351fae6b55e303f189127a394a1edd (patch) | |
tree | 77c9c35a31b1459dd7988c2448e797d142530c41 /boost/spirit | |
parent | 1a78a62555be32868418fe52f8e330c9d0f95d5a (diff) | |
download | boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.gz boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.bz2 boost-bb4dd8289b351fae6b55e303f189127a394a1edd.zip |
Imported Upstream version 1.51.0upstream/1.51.0
Diffstat (limited to 'boost/spirit')
153 files changed, 1399 insertions, 4261 deletions
diff --git a/boost/spirit/actor.hpp b/boost/spirit/actor.hpp deleted file mode 100644 index c46777cd03..0000000000 --- a/boost/spirit/actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_actor.hpp> - -#endif diff --git a/boost/spirit/actor/assign_actor.hpp b/boost/spirit/actor/assign_actor.hpp deleted file mode 100644 index 625887dff4..0000000000 --- a/boost/spirit/actor/assign_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ASSIGN_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ASSIGN_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_assign_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_assign_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_assign_actor.hpp> - -#endif diff --git a/boost/spirit/actor/assign_key_actor.hpp b/boost/spirit/actor/assign_key_actor.hpp deleted file mode 100644 index 4095d31d2c..0000000000 --- a/boost/spirit/actor/assign_key_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ASSIGN_KEY_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ASSIGN_KEY_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_assign_key_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_assign_key_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_assign_key_actor.hpp> - -#endif diff --git a/boost/spirit/actor/clear_actor.hpp b/boost/spirit/actor/clear_actor.hpp deleted file mode 100644 index 03a34b21c7..0000000000 --- a/boost/spirit/actor/clear_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CLEAR_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CLEAR_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_clear_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_clear_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_clear_actor.hpp> - -#endif diff --git a/boost/spirit/actor/decrement_actor.hpp b/boost/spirit/actor/decrement_actor.hpp deleted file mode 100644 index 4f9f99069d..0000000000 --- a/boost/spirit/actor/decrement_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_DECREMENT_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_DECREMENT_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_decrement_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_decrement_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_decrement_actor.hpp> - -#endif diff --git a/boost/spirit/actor/erase_actor.hpp b/boost/spirit/actor/erase_actor.hpp deleted file mode 100644 index f2811580e0..0000000000 --- a/boost/spirit/actor/erase_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ERASE_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ERASE_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_erase_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_erase_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_erase_actor.hpp> - -#endif diff --git a/boost/spirit/actor/increment_actor.hpp b/boost/spirit/actor/increment_actor.hpp deleted file mode 100644 index ef4c525e7d..0000000000 --- a/boost/spirit/actor/increment_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_INCREMENT_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_INCREMENT_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_increment_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_increment_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_increment_actor.hpp> - -#endif diff --git a/boost/spirit/actor/insert_at_actor.hpp b/boost/spirit/actor/insert_at_actor.hpp deleted file mode 100644 index ae9e34dc29..0000000000 --- a/boost/spirit/actor/insert_at_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_INSERT_AT_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_INSERT_AT_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_insert_at_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_insert_at_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_insert_at_actor.hpp> - -#endif diff --git a/boost/spirit/actor/insert_key_actor.hpp b/boost/spirit/actor/insert_key_actor.hpp deleted file mode 100644 index a5cb44222a..0000000000 --- a/boost/spirit/actor/insert_key_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_INSERT_KEY_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_INSERT_KEY_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_insert_key_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_insert_key_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_insert_key_actor.hpp> - -#endif diff --git a/boost/spirit/actor/push_back_actor.hpp b/boost/spirit/actor/push_back_actor.hpp deleted file mode 100644 index 84c6bdfba9..0000000000 --- a/boost/spirit/actor/push_back_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PUSH_BACK_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PUSH_BACK_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_push_back_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_push_back_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_push_back_actor.hpp> - -#endif diff --git a/boost/spirit/actor/push_front_actor.hpp b/boost/spirit/actor/push_front_actor.hpp deleted file mode 100644 index 0718ae17aa..0000000000 --- a/boost/spirit/actor/push_front_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PUSH_FRONT_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PUSH_FRONT_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_push_front_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_push_front_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_push_front_actor.hpp> - -#endif diff --git a/boost/spirit/actor/ref_actor.hpp b/boost/spirit/actor/ref_actor.hpp deleted file mode 100644 index f107842310..0000000000 --- a/boost/spirit/actor/ref_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_ref_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_ref_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_ref_actor.hpp> - -#endif diff --git a/boost/spirit/actor/ref_const_ref_actor.hpp b/boost/spirit/actor/ref_const_ref_actor.hpp deleted file mode 100644 index ea380b538f..0000000000 --- a/boost/spirit/actor/ref_const_ref_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_CONST_REF_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_CONST_REF_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_ref_const_ref_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_ref_const_ref_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_ref_const_ref_actor.hpp> - -#endif diff --git a/boost/spirit/actor/ref_const_ref_const_ref_a.hpp b/boost/spirit/actor/ref_const_ref_const_ref_a.hpp deleted file mode 100644 index 092a25239b..0000000000 --- a/boost/spirit/actor/ref_const_ref_const_ref_a.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_CONST_REF_CONST_REF_A -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_CONST_REF_CONST_REF_A - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp> - -#endif diff --git a/boost/spirit/actor/ref_const_ref_value_actor.hpp b/boost/spirit/actor/ref_const_ref_value_actor.hpp deleted file mode 100644 index e94a764c1f..0000000000 --- a/boost/spirit/actor/ref_const_ref_value_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_CONST_REF_VALUE_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_CONST_REF_VALUE_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_ref_const_ref_value_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_ref_const_ref_value_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_ref_const_ref_value_actor.hpp> - -#endif diff --git a/boost/spirit/actor/ref_value_actor.hpp b/boost/spirit/actor/ref_value_actor.hpp deleted file mode 100644 index cbc8b4abae..0000000000 --- a/boost/spirit/actor/ref_value_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_VALUE_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_REF_VALUE_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_ref_value_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_ref_value_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_ref_value_actor.hpp> - -#endif diff --git a/boost/spirit/actor/swap_actor.hpp b/boost/spirit/actor/swap_actor.hpp deleted file mode 100644 index 132060d35f..0000000000 --- a/boost/spirit/actor/swap_actor.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SWAP_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SWAP_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_swap_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_swap_actor.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_swap_actor.hpp> - -#endif diff --git a/boost/spirit/actor/typeof.hpp b/boost/spirit/actor/typeof.hpp deleted file mode 100644 index bc2335fb43..0000000000 --- a/boost/spirit/actor/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/attribute.hpp b/boost/spirit/attribute.hpp deleted file mode 100644 index 3f9f31b03e..0000000000 --- a/boost/spirit/attribute.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ATTRIBUTE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ATTRIBUTE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_attribute.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_attribute.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_attribute.hpp> - -#endif diff --git a/boost/spirit/attribute/closure.hpp b/boost/spirit/attribute/closure.hpp deleted file mode 100644 index e0c9207eff..0000000000 --- a/boost/spirit/attribute/closure.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CLOSURE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CLOSURE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_closure.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_closure.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_closure.hpp> - -#endif diff --git a/boost/spirit/attribute/closure_context.hpp b/boost/spirit/attribute/closure_context.hpp deleted file mode 100644 index 266ee58663..0000000000 --- a/boost/spirit/attribute/closure_context.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CLOSURE_CONTEXT -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CLOSURE_CONTEXT - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_closure_context.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_closure_context.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_closure_context.hpp> - -#endif diff --git a/boost/spirit/attribute/closure_fwd.hpp b/boost/spirit/attribute/closure_fwd.hpp deleted file mode 100644 index e1d4e64eb4..0000000000 --- a/boost/spirit/attribute/closure_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CLOSURE_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CLOSURE_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_closure_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_closure_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_closure_fwd.hpp> - -#endif diff --git a/boost/spirit/attribute/parametric.hpp b/boost/spirit/attribute/parametric.hpp deleted file mode 100644 index c9a26d411a..0000000000 --- a/boost/spirit/attribute/parametric.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARAMETRIC -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARAMETRIC - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parametric.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parametric.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parametric.hpp> - -#endif diff --git a/boost/spirit/attribute/typeof.hpp b/boost/spirit/attribute/typeof.hpp deleted file mode 100644 index 7d9176ff82..0000000000 --- a/boost/spirit/attribute/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_ATTRIBUTE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_ATTRIBUTE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/core.hpp b/boost/spirit/core.hpp deleted file mode 100644 index 61658b33c7..0000000000 --- a/boost/spirit/core.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CORE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CORE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_core.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_core.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_core.hpp> - -#endif diff --git a/boost/spirit/core/assert.hpp b/boost/spirit/core/assert.hpp deleted file mode 100644 index cdbd306071..0000000000 --- a/boost/spirit/core/assert.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ASSERT -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ASSERT - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_assert.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_assert.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_assert.hpp> - -#endif diff --git a/boost/spirit/core/composite/actions.hpp b/boost/spirit/core/composite/actions.hpp deleted file mode 100644 index d35d5e3330..0000000000 --- a/boost/spirit/core/composite/actions.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ACTIONS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ACTIONS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_actions.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_actions.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_actions.hpp> - -#endif diff --git a/boost/spirit/core/composite/alternative.hpp b/boost/spirit/core/composite/alternative.hpp deleted file mode 100644 index 7acff66ae0..0000000000 --- a/boost/spirit/core/composite/alternative.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ALTERNATIVE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ALTERNATIVE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_alternative.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_alternative.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_alternative.hpp> - -#endif diff --git a/boost/spirit/core/composite/composite.hpp b/boost/spirit/core/composite/composite.hpp deleted file mode 100644 index 3ce954d3e8..0000000000 --- a/boost/spirit/core/composite/composite.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_COMPOSITE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_COMPOSITE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_composite.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_composite.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_composite.hpp> - -#endif diff --git a/boost/spirit/core/composite/difference.hpp b/boost/spirit/core/composite/difference.hpp deleted file mode 100644 index d9be5c34e4..0000000000 --- a/boost/spirit/core/composite/difference.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_DIFFERENCE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_DIFFERENCE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_difference.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_difference.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_difference.hpp> - -#endif diff --git a/boost/spirit/core/composite/directives.hpp b/boost/spirit/core/composite/directives.hpp deleted file mode 100644 index a29e744d62..0000000000 --- a/boost/spirit/core/composite/directives.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_DIRECTIVES -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_DIRECTIVES - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_directives.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_directives.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_directives.hpp> - -#endif diff --git a/boost/spirit/core/composite/epsilon.hpp b/boost/spirit/core/composite/epsilon.hpp deleted file mode 100644 index eda988f430..0000000000 --- a/boost/spirit/core/composite/epsilon.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_EPSILON -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_EPSILON - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_epsilon.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_epsilon.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_epsilon.hpp> - -#endif diff --git a/boost/spirit/core/composite/exclusive_or.hpp b/boost/spirit/core/composite/exclusive_or.hpp deleted file mode 100644 index 0443e28a41..0000000000 --- a/boost/spirit/core/composite/exclusive_or.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_EXCLUSIVE_OR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_EXCLUSIVE_OR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_exclusive_or.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_exclusive_or.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_exclusive_or.hpp> - -#endif diff --git a/boost/spirit/core/composite/intersection.hpp b/boost/spirit/core/composite/intersection.hpp deleted file mode 100644 index 7007c00159..0000000000 --- a/boost/spirit/core/composite/intersection.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_INTERSECTION -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_INTERSECTION - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_intersection.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_intersection.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_intersection.hpp> - -#endif diff --git a/boost/spirit/core/composite/kleene_star.hpp b/boost/spirit/core/composite/kleene_star.hpp deleted file mode 100644 index aa00bdd293..0000000000 --- a/boost/spirit/core/composite/kleene_star.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_KLEENE_STAR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_KLEENE_STAR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_kleene_star.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_kleene_star.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_kleene_star.hpp> - -#endif diff --git a/boost/spirit/core/composite/list.hpp b/boost/spirit/core/composite/list.hpp deleted file mode 100644 index b01a9dc360..0000000000 --- a/boost/spirit/core/composite/list.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_LIST -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_LIST - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_list.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_list.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_list.hpp> - -#endif diff --git a/boost/spirit/core/composite/no_actions.hpp b/boost/spirit/core/composite/no_actions.hpp deleted file mode 100644 index 634a4b0a1a..0000000000 --- a/boost/spirit/core/composite/no_actions.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_NO_ACTIONS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_NO_ACTIONS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_no_actions.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_no_actions.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_no_actions.hpp> - -#endif diff --git a/boost/spirit/core/composite/operators.hpp b/boost/spirit/core/composite/operators.hpp deleted file mode 100644 index 5474f2a55a..0000000000 --- a/boost/spirit/core/composite/operators.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_OPERATORS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_OPERATORS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_operators.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_operators.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_operators.hpp> - -#endif diff --git a/boost/spirit/core/composite/optional.hpp b/boost/spirit/core/composite/optional.hpp deleted file mode 100644 index 3fee63ec9d..0000000000 --- a/boost/spirit/core/composite/optional.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_OPTIONAL -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_OPTIONAL - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_optional.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_optional.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_optional.hpp> - -#endif diff --git a/boost/spirit/core/composite/positive.hpp b/boost/spirit/core/composite/positive.hpp deleted file mode 100644 index 846638d901..0000000000 --- a/boost/spirit/core/composite/positive.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_POSITIVE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_POSITIVE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_positive.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_positive.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_positive.hpp> - -#endif diff --git a/boost/spirit/core/composite/sequence.hpp b/boost/spirit/core/composite/sequence.hpp deleted file mode 100644 index 9c23b0bfc6..0000000000 --- a/boost/spirit/core/composite/sequence.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SEQUENCE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SEQUENCE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_sequence.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_sequence.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_sequence.hpp> - -#endif diff --git a/boost/spirit/core/composite/sequential_and.hpp b/boost/spirit/core/composite/sequential_and.hpp deleted file mode 100644 index 174576ad0a..0000000000 --- a/boost/spirit/core/composite/sequential_and.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SEQUENTIAL_AND -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SEQUENTIAL_AND - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_sequential_and.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_sequential_and.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_sequential_and.hpp> - -#endif diff --git a/boost/spirit/core/composite/sequential_or.hpp b/boost/spirit/core/composite/sequential_or.hpp deleted file mode 100644 index 7de6326dd5..0000000000 --- a/boost/spirit/core/composite/sequential_or.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SEQUENTIAL_OR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SEQUENTIAL_OR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_sequential_or.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_sequential_or.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_sequential_or.hpp> - -#endif diff --git a/boost/spirit/core/config.hpp b/boost/spirit/core/config.hpp deleted file mode 100644 index ca038686a1..0000000000 --- a/boost/spirit/core/config.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CONFIG -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CONFIG - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_config.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_config.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_config.hpp> - -#endif diff --git a/boost/spirit/core/match.hpp b/boost/spirit/core/match.hpp deleted file mode 100644 index 37b98fea0a..0000000000 --- a/boost/spirit/core/match.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_MATCH -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_MATCH - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_match.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_match.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_match.hpp> - -#endif diff --git a/boost/spirit/core/nil.hpp b/boost/spirit/core/nil.hpp deleted file mode 100644 index a62da8f655..0000000000 --- a/boost/spirit/core/nil.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_NIL -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_NIL - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_nil.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_nil.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_nil.hpp> - -#endif diff --git a/boost/spirit/core/non_terminal/grammar.hpp b/boost/spirit/core/non_terminal/grammar.hpp deleted file mode 100644 index 81e3bb8d18..0000000000 --- a/boost/spirit/core/non_terminal/grammar.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_GRAMMAR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_GRAMMAR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_grammar.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_grammar.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_grammar.hpp> - -#endif diff --git a/boost/spirit/core/non_terminal/parser_context.hpp b/boost/spirit/core/non_terminal/parser_context.hpp deleted file mode 100644 index 5652a5fbf9..0000000000 --- a/boost/spirit/core/non_terminal/parser_context.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER_CONTEXT -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER_CONTEXT - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parser_context.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parser_context.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parser_context.hpp> - -#endif diff --git a/boost/spirit/core/non_terminal/parser_id.hpp b/boost/spirit/core/non_terminal/parser_id.hpp deleted file mode 100644 index 1f850339ee..0000000000 --- a/boost/spirit/core/non_terminal/parser_id.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER_ID -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER_ID - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parser_id.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parser_id.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parser_id.hpp> - -#endif diff --git a/boost/spirit/core/non_terminal/rule.hpp b/boost/spirit/core/non_terminal/rule.hpp deleted file mode 100644 index 47ae7c9302..0000000000 --- a/boost/spirit/core/non_terminal/rule.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_RULE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_RULE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_rule.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_rule.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_rule.hpp> - -#endif diff --git a/boost/spirit/core/non_terminal/subrule.hpp b/boost/spirit/core/non_terminal/subrule.hpp deleted file mode 100644 index 913b46211f..0000000000 --- a/boost/spirit/core/non_terminal/subrule.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SUBRULE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SUBRULE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_subrule.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_subrule.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_subrule.hpp> - -#endif diff --git a/boost/spirit/core/non_terminal/subrule_fwd.hpp b/boost/spirit/core/non_terminal/subrule_fwd.hpp deleted file mode 100644 index b6d1efaadc..0000000000 --- a/boost/spirit/core/non_terminal/subrule_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SUBRULE_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SUBRULE_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_subrule_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_subrule_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_subrule_fwd.hpp> - -#endif diff --git a/boost/spirit/core/parser.hpp b/boost/spirit/core/parser.hpp deleted file mode 100644 index aa051417f2..0000000000 --- a/boost/spirit/core/parser.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parser.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parser.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parser.hpp> - -#endif diff --git a/boost/spirit/core/primitives/numerics.hpp b/boost/spirit/core/primitives/numerics.hpp deleted file mode 100644 index e03218f67e..0000000000 --- a/boost/spirit/core/primitives/numerics.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_NUMERICS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_NUMERICS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_numerics.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_numerics.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_numerics.hpp> - -#endif diff --git a/boost/spirit/core/primitives/numerics_fwd.hpp b/boost/spirit/core/primitives/numerics_fwd.hpp deleted file mode 100644 index 18916968a4..0000000000 --- a/boost/spirit/core/primitives/numerics_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_NUMERICS_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_NUMERICS_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_numerics_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_numerics_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_numerics_fwd.hpp> - -#endif diff --git a/boost/spirit/core/primitives/primitives.hpp b/boost/spirit/core/primitives/primitives.hpp deleted file mode 100644 index 316b6ceca7..0000000000 --- a/boost/spirit/core/primitives/primitives.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PRIMITIVES -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PRIMITIVES - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_primitives.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_primitives.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_primitives.hpp> - -#endif diff --git a/boost/spirit/core/safe_bool.hpp b/boost/spirit/core/safe_bool.hpp deleted file mode 100644 index 5dd9decd81..0000000000 --- a/boost/spirit/core/safe_bool.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SAFE_BOOL -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SAFE_BOOL - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_safe_bool.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_safe_bool.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_safe_bool.hpp> - -#endif diff --git a/boost/spirit/core/scanner/scanner.hpp b/boost/spirit/core/scanner/scanner.hpp deleted file mode 100644 index a6aac3c46f..0000000000 --- a/boost/spirit/core/scanner/scanner.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SCANNER -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SCANNER - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_scanner.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_scanner.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_scanner.hpp> - -#endif diff --git a/boost/spirit/core/scanner/scanner_fwd.hpp b/boost/spirit/core/scanner/scanner_fwd.hpp deleted file mode 100644 index 96c597ffbf..0000000000 --- a/boost/spirit/core/scanner/scanner_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SCANNER_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SCANNER_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_scanner_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_scanner_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_scanner_fwd.hpp> - -#endif diff --git a/boost/spirit/core/scanner/skipper.hpp b/boost/spirit/core/scanner/skipper.hpp deleted file mode 100644 index 35fe3f1e65..0000000000 --- a/boost/spirit/core/scanner/skipper.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SKIPPER -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SKIPPER - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_skipper.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_skipper.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_skipper.hpp> - -#endif diff --git a/boost/spirit/core/scanner/skipper_fwd.hpp b/boost/spirit/core/scanner/skipper_fwd.hpp deleted file mode 100644 index aa09e9ddbc..0000000000 --- a/boost/spirit/core/scanner/skipper_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SKIPPER_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SKIPPER_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_skipper_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_skipper_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_skipper_fwd.hpp> - -#endif diff --git a/boost/spirit/core/typeof.hpp b/boost/spirit/core/typeof.hpp deleted file mode 100644 index b7d5199863..0000000000 --- a/boost/spirit/core/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_CORE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_CORE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/debug.hpp b/boost/spirit/debug.hpp deleted file mode 100644 index 5cec6e62e4..0000000000 --- a/boost/spirit/debug.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_DEBUG -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_DEBUG - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_debug.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_debug.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_debug.hpp> - -#endif diff --git a/boost/spirit/debug/debug_node.hpp b/boost/spirit/debug/debug_node.hpp deleted file mode 100644 index b4f94ee642..0000000000 --- a/boost/spirit/debug/debug_node.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_DEBUG_NODE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_DEBUG_NODE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_debug_node.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_debug_node.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_debug_node.hpp> - -#endif diff --git a/boost/spirit/debug/minimal.hpp b/boost/spirit/debug/minimal.hpp deleted file mode 100644 index f8a7262afb..0000000000 --- a/boost/spirit/debug/minimal.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_MINIMAL -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_MINIMAL - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_minimal.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_minimal.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_minimal.hpp> - -#endif diff --git a/boost/spirit/debug/parser_names.hpp b/boost/spirit/debug/parser_names.hpp deleted file mode 100644 index 3d280cabe2..0000000000 --- a/boost/spirit/debug/parser_names.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER_NAMES -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER_NAMES - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parser_names.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parser_names.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parser_names.hpp> - -#endif diff --git a/boost/spirit/debug/typeof.hpp b/boost/spirit/debug/typeof.hpp deleted file mode 100644 index 48c4edcbf7..0000000000 --- a/boost/spirit/debug/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_DEBUG -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_DEBUG - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/dynamic.hpp b/boost/spirit/dynamic.hpp deleted file mode 100644 index 313db18c12..0000000000 --- a/boost/spirit/dynamic.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_DYNAMIC -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_DYNAMIC - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_dynamic.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_dynamic.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_dynamic.hpp> - -#endif diff --git a/boost/spirit/dynamic/for.hpp b/boost/spirit/dynamic/for.hpp deleted file mode 100644 index 460d1588a2..0000000000 --- a/boost/spirit/dynamic/for.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_FOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_FOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_for.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_for.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_for.hpp> - -#endif diff --git a/boost/spirit/dynamic/if.hpp b/boost/spirit/dynamic/if.hpp deleted file mode 100644 index 45a571a25f..0000000000 --- a/boost/spirit/dynamic/if.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_IF -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_IF - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_if.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_if.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_if.hpp> - -#endif diff --git a/boost/spirit/dynamic/lazy.hpp b/boost/spirit/dynamic/lazy.hpp deleted file mode 100644 index 3ef13e0764..0000000000 --- a/boost/spirit/dynamic/lazy.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_LAZY -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_LAZY - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_lazy.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_lazy.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_lazy.hpp> - -#endif diff --git a/boost/spirit/dynamic/rule_alias.hpp b/boost/spirit/dynamic/rule_alias.hpp deleted file mode 100644 index 71881947c3..0000000000 --- a/boost/spirit/dynamic/rule_alias.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_RULE_ALIAS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_RULE_ALIAS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_rule_alias.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_rule_alias.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_rule_alias.hpp> - -#endif diff --git a/boost/spirit/dynamic/select.hpp b/boost/spirit/dynamic/select.hpp deleted file mode 100644 index b334b6fc1b..0000000000 --- a/boost/spirit/dynamic/select.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SELECT -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SELECT - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_select.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_select.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_select.hpp> - -#endif diff --git a/boost/spirit/dynamic/stored_rule.hpp b/boost/spirit/dynamic/stored_rule.hpp deleted file mode 100644 index e61c5c120e..0000000000 --- a/boost/spirit/dynamic/stored_rule.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_STORED_RULE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_STORED_RULE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_stored_rule.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_stored_rule.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_stored_rule.hpp> - -#endif diff --git a/boost/spirit/dynamic/stored_rule_fwd.hpp b/boost/spirit/dynamic/stored_rule_fwd.hpp deleted file mode 100644 index 9924af1417..0000000000 --- a/boost/spirit/dynamic/stored_rule_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_STORED_RULE_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_STORED_RULE_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_stored_rule_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_stored_rule_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_stored_rule_fwd.hpp> - -#endif diff --git a/boost/spirit/dynamic/switch.hpp b/boost/spirit/dynamic/switch.hpp deleted file mode 100644 index 78ee46b6b5..0000000000 --- a/boost/spirit/dynamic/switch.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SWITCH -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SWITCH - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_switch.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_switch.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_switch.hpp> - -#endif diff --git a/boost/spirit/dynamic/typeof.hpp b/boost/spirit/dynamic/typeof.hpp deleted file mode 100644 index 02374c2780..0000000000 --- a/boost/spirit/dynamic/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_DYNAMIC -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_DYNAMIC - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/dynamic/while.hpp b/boost/spirit/dynamic/while.hpp deleted file mode 100644 index f09971d809..0000000000 --- a/boost/spirit/dynamic/while.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_WHILE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_WHILE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_while.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_while.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_while.hpp> - -#endif diff --git a/boost/spirit/error_handling.hpp b/boost/spirit/error_handling.hpp deleted file mode 100644 index 5a434d712b..0000000000 --- a/boost/spirit/error_handling.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ERROR_HANDLING -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ERROR_HANDLING - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_error_handling.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_error_handling.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_error_handling.hpp> - -#endif diff --git a/boost/spirit/error_handling/exceptions.hpp b/boost/spirit/error_handling/exceptions.hpp deleted file mode 100644 index 80cd7bfcf2..0000000000 --- a/boost/spirit/error_handling/exceptions.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_EXCEPTIONS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_EXCEPTIONS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_exceptions.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_exceptions.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_exceptions.hpp> - -#endif diff --git a/boost/spirit/error_handling/exceptions_fwd.hpp b/boost/spirit/error_handling/exceptions_fwd.hpp deleted file mode 100644 index 27dd9ab437..0000000000 --- a/boost/spirit/error_handling/exceptions_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_EXCEPTIONS_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_EXCEPTIONS_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_exceptions_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_exceptions_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_exceptions_fwd.hpp> - -#endif diff --git a/boost/spirit/error_handling/typeof.hpp b/boost/spirit/error_handling/typeof.hpp deleted file mode 100644 index 6ce3318fc3..0000000000 --- a/boost/spirit/error_handling/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_ERROR_HANDLING -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_ERROR_HANDLING - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/home/qi/detail/assign_to.hpp b/boost/spirit/home/qi/detail/assign_to.hpp index a94010ca91..38142bf1b3 100644 --- a/boost/spirit/home/qi/detail/assign_to.hpp +++ b/boost/spirit/home/qi/detail/assign_to.hpp @@ -28,11 +28,25 @@ namespace boost { namespace spirit { namespace traits // accept spirit's unused_type; all no-ops. Compiler optimization will // easily strip these away. /////////////////////////////////////////////////////////////////////////// + namespace detail + { + template <typename T> + struct is_iter_range : mpl::false_ {}; + + template <typename I> + struct is_iter_range<boost::iterator_range<I> > : mpl::true_ {}; + + template <typename C> + struct is_container_of_ranges + : is_iter_range<typename C::value_type> {}; + } + template <typename Attribute, typename Iterator, typename Enable> struct assign_to_attribute_from_iterators { + // Common case static void - call(Iterator const& first, Iterator const& last, Attribute& attr) + call(Iterator const& first, Iterator const& last, Attribute& attr, mpl::false_) { if (traits::is_empty(attr)) attr = Attribute(first, last); @@ -41,6 +55,21 @@ namespace boost { namespace spirit { namespace traits push_back(attr, *i); } } + + // If Attribute is a container with value_type==iterator_range<T> just push the + // iterator_range into it + static void + call(Iterator const& first, Iterator const& last, Attribute& attr, mpl::true_) + { + typename Attribute::value_type rng(first, last); + push_back(attr, rng); + } + + static void + call(Iterator const& first, Iterator const& last, Attribute& attr) + { + call(first, last, attr, detail::is_container_of_ranges<Attribute>()); + } }; template <typename Attribute, typename Iterator> diff --git a/boost/spirit/home/support/detail/endian.hpp b/boost/spirit/home/support/detail/endian.hpp index 3507aaafd5..85f13dda55 100644 --- a/boost/spirit/home/support/detail/endian.hpp +++ b/boost/spirit/home/support/detail/endian.hpp @@ -1,6 +1,6 @@ // Copyright (c) 2001-2011 Hartmut Kaiser // http://spirit.sourceforge.net/ -// +// // 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) @@ -18,12 +18,6 @@ #define BOOST_ENDIAN_FORCE_PODNESS 1 #endif -// If Boost has the endian library, use it, otherwise use an adapted version -// included with Spirit -#if BOOST_VERSION >= 105000 -#include <boost/endian/integers.hpp> -#else #include <boost/spirit/home/support/detail/endian/endian.hpp> -#endif #endif diff --git a/boost/spirit/home/support/utree/detail/utree_detail2.hpp b/boost/spirit/home/support/utree/detail/utree_detail2.hpp index f08e199cfb..789d99d482 100644 --- a/boost/spirit/home/support/utree/detail/utree_detail2.hpp +++ b/boost/spirit/home/support/utree/detail/utree_detail2.hpp @@ -1043,7 +1043,7 @@ namespace boost { namespace spirit if (!pos.node) { l.push_back(val); - return utree::iterator(l.first, 0); // begin(); + return utree::iterator(l.last, l.last->prev); } l.insert(val, pos); return utree::iterator(pos.node->prev, pos.node->prev->prev); diff --git a/boost/spirit/include/version.hpp b/boost/spirit/include/version.hpp index 1e677a4853..90f8b53313 100644 --- a/boost/spirit/include/version.hpp +++ b/boost/spirit/include/version.hpp @@ -14,7 +14,7 @@ // This is the version of the current Spirit distribution // /////////////////////////////////////////////////////////////////////////////// -#define SPIRIT_VERSION 0x2050 -#define SPIRIT_PIZZA_VERSION DEEP_PAN_BBQ // :-O +#define SPIRIT_VERSION 0x2053 +#define SPIRIT_PIZZA_VERSION SUPER_HOT_SPANISH_SARDINES // :-O #endif diff --git a/boost/spirit/iterator.hpp b/boost/spirit/iterator.hpp deleted file mode 100644 index b79c348d04..0000000000 --- a/boost/spirit/iterator.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ITERATOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ITERATOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_iterator.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_iterator.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_iterator.hpp> - -#endif diff --git a/boost/spirit/iterator/file_iterator.hpp b/boost/spirit/iterator/file_iterator.hpp deleted file mode 100644 index da75045294..0000000000 --- a/boost/spirit/iterator/file_iterator.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_FILE_ITERATOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_FILE_ITERATOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_file_iterator.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_file_iterator.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_file_iterator.hpp> - -#endif diff --git a/boost/spirit/iterator/file_iterator_fwd.hpp b/boost/spirit/iterator/file_iterator_fwd.hpp deleted file mode 100644 index 7a51754e5b..0000000000 --- a/boost/spirit/iterator/file_iterator_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_FILE_ITERATOR_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_FILE_ITERATOR_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_file_iterator_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_file_iterator_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_file_iterator_fwd.hpp> - -#endif diff --git a/boost/spirit/iterator/fixed_size_queue.hpp b/boost/spirit/iterator/fixed_size_queue.hpp deleted file mode 100644 index 6e7cdbb5a0..0000000000 --- a/boost/spirit/iterator/fixed_size_queue.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_FIXED_SIZE_QUEUE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_FIXED_SIZE_QUEUE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_fixed_size_queue.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_fixed_size_queue.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_fixed_size_queue.hpp> - -#endif diff --git a/boost/spirit/iterator/multi_pass.hpp b/boost/spirit/iterator/multi_pass.hpp deleted file mode 100644 index 91bd91f3f9..0000000000 --- a/boost/spirit/iterator/multi_pass.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_MULTI_PASS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_MULTI_PASS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_multi_pass.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_multi_pass.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_multi_pass.hpp> - -#endif diff --git a/boost/spirit/iterator/multi_pass_fwd.hpp b/boost/spirit/iterator/multi_pass_fwd.hpp deleted file mode 100644 index 8a477d45de..0000000000 --- a/boost/spirit/iterator/multi_pass_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_MULTI_PASS_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_MULTI_PASS_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_multi_pass_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_multi_pass_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_multi_pass_fwd.hpp> - -#endif diff --git a/boost/spirit/iterator/position_iterator.hpp b/boost/spirit/iterator/position_iterator.hpp deleted file mode 100644 index 043ab0ff4b..0000000000 --- a/boost/spirit/iterator/position_iterator.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_POSITION_ITERATOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_POSITION_ITERATOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_position_iterator.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_position_iterator.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_position_iterator.hpp> - -#endif diff --git a/boost/spirit/iterator/position_iterator_fwd.hpp b/boost/spirit/iterator/position_iterator_fwd.hpp deleted file mode 100644 index 14d91114b0..0000000000 --- a/boost/spirit/iterator/position_iterator_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_POSITION_ITERATOR_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_POSITION_ITERATOR_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_position_iterator_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_position_iterator_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_position_iterator_fwd.hpp> - -#endif diff --git a/boost/spirit/iterator/typeof.hpp b/boost/spirit/iterator/typeof.hpp deleted file mode 100644 index 8da3962bed..0000000000 --- a/boost/spirit/iterator/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_ITERATOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_ITERATOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/meta.hpp b/boost/spirit/meta.hpp deleted file mode 100644 index 2bc004b5cb..0000000000 --- a/boost/spirit/meta.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_META -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_META - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_meta.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_meta.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_meta.hpp> - -#endif diff --git a/boost/spirit/meta/as_parser.hpp b/boost/spirit/meta/as_parser.hpp deleted file mode 100644 index 0326ef09a3..0000000000 --- a/boost/spirit/meta/as_parser.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_AS_PARSER -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_AS_PARSER - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_as_parser.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_as_parser.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_as_parser.hpp> - -#endif diff --git a/boost/spirit/meta/fundamental.hpp b/boost/spirit/meta/fundamental.hpp deleted file mode 100644 index 4753cc2d3d..0000000000 --- a/boost/spirit/meta/fundamental.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_FUNDAMENTAL -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_FUNDAMENTAL - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_fundamental.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_fundamental.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_fundamental.hpp> - -#endif diff --git a/boost/spirit/meta/parser_traits.hpp b/boost/spirit/meta/parser_traits.hpp deleted file mode 100644 index 4f0f68c82d..0000000000 --- a/boost/spirit/meta/parser_traits.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER_TRAITS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSER_TRAITS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parser_traits.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parser_traits.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parser_traits.hpp> - -#endif diff --git a/boost/spirit/meta/refactoring.hpp b/boost/spirit/meta/refactoring.hpp deleted file mode 100644 index 235d61abd3..0000000000 --- a/boost/spirit/meta/refactoring.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_REFACTORING -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_REFACTORING - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_refactoring.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_refactoring.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_refactoring.hpp> - -#endif diff --git a/boost/spirit/meta/traverse.hpp b/boost/spirit/meta/traverse.hpp deleted file mode 100644 index 594fa8360f..0000000000 --- a/boost/spirit/meta/traverse.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TRAVERSE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TRAVERSE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_traverse.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_traverse.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_traverse.hpp> - -#endif diff --git a/boost/spirit/phoenix.hpp b/boost/spirit/phoenix.hpp deleted file mode 100644 index 513b904b7f..0000000000 --- a/boost/spirit/phoenix.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/phoenix1.hpp> - -#endif diff --git a/boost/spirit/phoenix/actor.hpp b/boost/spirit/phoenix/actor.hpp deleted file mode 100644 index 665c4ade6c..0000000000 --- a/boost/spirit/phoenix/actor.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX_ACTOR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX_ACTOR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_actor.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_actor.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_actor.hpp> - -#endif diff --git a/boost/spirit/phoenix/binders.hpp b/boost/spirit/phoenix/binders.hpp deleted file mode 100644 index e5aab61004..0000000000 --- a/boost/spirit/phoenix/binders.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_BINDERS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_BINDERS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_binders.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_binders.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_binders.hpp> - -#endif diff --git a/boost/spirit/phoenix/casts.hpp b/boost/spirit/phoenix/casts.hpp deleted file mode 100644 index 1c583bcd51..0000000000 --- a/boost/spirit/phoenix/casts.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CASTS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CASTS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_casts.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_casts.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_casts.hpp> - -#endif diff --git a/boost/spirit/phoenix/closures.hpp b/boost/spirit/phoenix/closures.hpp deleted file mode 100644 index ecf7ea563a..0000000000 --- a/boost/spirit/phoenix/closures.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CLOSURES -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CLOSURES - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_closures.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_closures.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_closures.hpp> - -#endif diff --git a/boost/spirit/phoenix/composite.hpp b/boost/spirit/phoenix/composite.hpp deleted file mode 100644 index 51ebb89ae0..0000000000 --- a/boost/spirit/phoenix/composite.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX_COMPOSITE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX_COMPOSITE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_composite.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_composite.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_composite.hpp> - -#endif diff --git a/boost/spirit/phoenix/functions.hpp b/boost/spirit/phoenix/functions.hpp deleted file mode 100644 index 6fbf01ee25..0000000000 --- a/boost/spirit/phoenix/functions.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_FUNCTIONS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_FUNCTIONS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_functions.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_functions.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_functions.hpp> - -#endif diff --git a/boost/spirit/phoenix/new.hpp b/boost/spirit/phoenix/new.hpp deleted file mode 100644 index a348a31183..0000000000 --- a/boost/spirit/phoenix/new.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_NEW -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_NEW - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_new.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_new.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_new.hpp> - -#endif diff --git a/boost/spirit/phoenix/operators.hpp b/boost/spirit/phoenix/operators.hpp deleted file mode 100644 index 648874f28c..0000000000 --- a/boost/spirit/phoenix/operators.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX_OPERATORS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX_OPERATORS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_operators.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_operators.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_operators.hpp> - -#endif diff --git a/boost/spirit/phoenix/primitives.hpp b/boost/spirit/phoenix/primitives.hpp deleted file mode 100644 index 00a3ebfdc0..0000000000 --- a/boost/spirit/phoenix/primitives.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX_PRIMITIVES -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PHOENIX_PRIMITIVES - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_primitives.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_primitives.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_primitives.hpp> - -#endif diff --git a/boost/spirit/phoenix/special_ops.hpp b/boost/spirit/phoenix/special_ops.hpp deleted file mode 100644 index 59930f4b14..0000000000 --- a/boost/spirit/phoenix/special_ops.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SPECIAL_OPS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SPECIAL_OPS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_special_ops.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_special_ops.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_special_ops.hpp> - -#endif diff --git a/boost/spirit/phoenix/statements.hpp b/boost/spirit/phoenix/statements.hpp deleted file mode 100644 index a5ae9e0b4e..0000000000 --- a/boost/spirit/phoenix/statements.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_STATEMENTS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_STATEMENTS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_statements.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_statements.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_statements.hpp> - -#endif diff --git a/boost/spirit/phoenix/tuple_helpers.hpp b/boost/spirit/phoenix/tuple_helpers.hpp deleted file mode 100644 index 92a4ce9743..0000000000 --- a/boost/spirit/phoenix/tuple_helpers.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TUPLE_HELPERS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TUPLE_HELPERS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_tuple_helpers.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_tuple_helpers.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_tuple_helpers.hpp> - -#endif diff --git a/boost/spirit/phoenix/tuples.hpp b/boost/spirit/phoenix/tuples.hpp deleted file mode 100644 index 1460ac025d..0000000000 --- a/boost/spirit/phoenix/tuples.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TUPLES -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TUPLES - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/phoenix1_tuples.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_tuples.hpp" -#endif -#endif - -#include <boost/spirit/include/phoenix1_tuples.hpp> - -#endif diff --git a/boost/spirit/repository/home/qi/directive/kwd.hpp b/boost/spirit/repository/home/qi/directive/kwd.hpp index 79fdc2f6dc..bba1a78448 100644 --- a/boost/spirit/repository/home/qi/directive/kwd.hpp +++ b/boost/spirit/repository/home/qi/directive/kwd.hpp @@ -35,50 +35,98 @@ namespace boost { namespace spirit struct use_directive<qi::domain , terminal_ex<repository::tag::kwd // enables kwd(key)[p] , fusion::vector1<T > > - > : traits::is_string<T> {}; + > : mpl::true_ {}; template < typename T> struct use_directive<qi::domain , terminal_ex<repository::tag::ikwd // enables ikwd(key)[p] , fusion::vector1<T > > - > : traits::is_string<T> {}; + > : mpl::true_ {}; + template < typename T> + struct use_directive<qi::domain + , terminal_ex<repository::tag::dkwd // enables dkwd(key)[p] + , fusion::vector1<T > > + > : mpl::true_ {}; + template < typename T> + struct use_directive<qi::domain + , terminal_ex<repository::tag::idkwd // enables idkwd(key)[p] + , fusion::vector1<T > > + > : mpl::true_ {}; + + template < typename T1, typename T2> struct use_directive<qi::domain , terminal_ex<repository::tag::kwd // enables kwd(key,exact)[p] , fusion::vector2< T1, T2 > > - > : traits::is_string<T1> {}; + > : mpl::true_ {}; template < typename T1, typename T2> struct use_directive<qi::domain , terminal_ex<repository::tag::ikwd // enables ikwd(key,exact)[p] , fusion::vector2< T1, T2 > > - > : traits::is_string<T1> {}; + > : mpl::true_ {}; template < typename T1, typename T2> struct use_directive<qi::domain + , terminal_ex<repository::tag::dkwd // enables dkwd(key,exact)[p] + , fusion::vector2< T1, T2 > > + > : mpl::true_ {}; + + template < typename T1, typename T2> + struct use_directive<qi::domain + , terminal_ex<repository::tag::idkwd // enables idkwd(key,exact)[p] + , fusion::vector2< T1, T2 > > + > : mpl::true_ {}; + + template < typename T1, typename T2> + struct use_directive<qi::domain , terminal_ex<repository::tag::kwd // enables kwd(min, max)[p] , fusion::vector3< T1, T2, T2 > > - > : traits::is_string<T1> {}; + > : mpl::true_ {}; template < typename T1, typename T2> struct use_directive<qi::domain , terminal_ex<repository::tag::ikwd // enables ikwd(min, max)[p] , fusion::vector3< T1, T2, T2 > > - > : traits::is_string<T1> {}; + > : mpl::true_ {}; + + template < typename T1, typename T2> + struct use_directive<qi::domain + , terminal_ex<repository::tag::dkwd // enables dkwd(min, max)[p] + , fusion::vector3< T1, T2, T2 > > + > : mpl::true_ {}; template < typename T1, typename T2> struct use_directive<qi::domain + , terminal_ex<repository::tag::idkwd // enables idkwd(min, max)[p] + , fusion::vector3< T1, T2, T2 > > + > : mpl::true_ {}; + + template < typename T1, typename T2> + struct use_directive<qi::domain , terminal_ex<repository::tag::kwd // enables kwd(min, inf)[p] , fusion::vector3<T1, T2, inf_type > > - > : traits::is_string<T1> {}; + > : mpl::true_ {}; template < typename T1, typename T2> struct use_directive<qi::domain , terminal_ex<repository::tag::ikwd // enables ikwd(min, inf)[p] , fusion::vector3<T1, T2, inf_type > > - > : traits::is_string<T1> {}; + > : mpl::true_ {}; + + template < typename T1, typename T2> + struct use_directive<qi::domain + , terminal_ex<repository::tag::dkwd // enables dkwd(min, inf)[p] + , fusion::vector3<T1, T2, inf_type > > + > : mpl::true_ {}; + + template < typename T1, typename T2> + struct use_directive<qi::domain + , terminal_ex<repository::tag::idkwd // enables idkwd(min, inf)[p] + , fusion::vector3<T1, T2, inf_type > > + > : mpl::true_ {}; /* template <> // enables *lazy* kwd(exact)[p] @@ -102,6 +150,8 @@ namespace boost { namespace spirit { namespace repository { namespace qi { using repository::kwd; using repository::ikwd; + using repository::dkwd; + using repository::idkwd; using spirit::inf; using spirit::inf_type; @@ -225,13 +275,14 @@ template <typename T> int &counter; }; - template <typename Subject, typename KeywordType, typename LoopIter , typename NoCase > - struct kwd_parser : spirit::qi::unary_parser<kwd_parser<Subject, KeywordType, LoopIter , NoCase > > + template <typename Subject, typename KeywordType, typename LoopIter , typename NoCase, typename Distinct > + struct kwd_parser : spirit::qi::unary_parser<kwd_parser<Subject, KeywordType, LoopIter , NoCase, Distinct > > { struct kwd_parser_id; typedef Subject subject_type; typedef NoCase no_case_keyword; + typedef Distinct distinct; typedef typename remove_const<typename traits::char_type_of<KeywordType>::type>::type @@ -256,6 +307,13 @@ template <typename T> , LoopIter const& iter) : subject(subject), iter(iter), keyword(keyword) {} + template<typename CharEncoding> + kwd_parser(Subject const& subject + , typename add_reference<KeywordType>::type keyword + , LoopIter const& iter, CharEncoding encoding) + : subject(subject), iter(iter), keyword(keyword,encoding) {} + + // Call the subject parser on a non container attribute template <typename Iterator, typename Context , typename Skipper, typename Attribute> @@ -329,12 +387,14 @@ template <typename T> , mpl::not_< traits::is_weak_substitute< subject_attribute,Attribute > > >::type predicate; + // Parse the keyword bool flag = iter.flag_init(); int counter = 0; Iterator save = first; spirit::qi::skip_over(first, last, skipper); if(keyword.parse(first,last,context,skipper,unused)){ + if((!distinct::value) || skipper.parse(first,last,unused,unused,unused)){ // Followed by the subject parser spirit::qi::skip_over(first, last, skipper); if(parse_impl(first,last,context,skipper,attr, predicate())) @@ -342,6 +402,7 @@ template <typename T> return iter.register_successful_parse(flag,counter); } } + } first = save; return flag; } @@ -350,16 +411,29 @@ template <typename T> template <typename Context> info what(Context& context) const { + if(distinct::value){ if(no_case_keyword::value) + return info("idkwd", subject.what(context)); + else + return info("dkwd", subject.what(context)); + } + else + { + if(no_case_keyword::value) return info("ikwd", subject.what(context)); else return info("kwd", subject.what(context)); } + } Subject subject; LoopIter iter; - spirit::qi::literal_string<KeywordType, true> keyword; + typedef typename mpl::if_< + no_case_keyword, + spirit::qi::no_case_literal_string< KeywordType, true>, + spirit::qi::literal_string<KeywordType, true> >::type keyword_string_type; + keyword_string_type keyword; private: // silence MSVC warning C4512: assignment operator could not be generated kwd_parser& operator= (kwd_parser const&); @@ -376,6 +450,151 @@ template <typename T> }; + +template <typename Subject, typename KeywordType, typename LoopIter, typename Distinct> + struct complex_kwd_parser : spirit::qi::unary_parser<complex_kwd_parser<Subject, KeywordType, LoopIter, Distinct > > + { + struct complex_kwd_parser_id; + typedef Subject subject_type; + typedef Distinct distinct; + + template <typename Context, typename Iterator> + struct attribute + { + typedef typename + traits::build_std_vector< + typename traits::attribute_of< + Subject, Context, Iterator>::type + >::type + type; + }; + + + complex_kwd_parser(Subject const& subject + , typename add_reference<KeywordType>::type keyword + , LoopIter const& iter) + : subject(subject), iter(iter), keyword(keyword) {} + + // Call the subject parser on a non container attribute + template <typename Iterator, typename Context + , typename Skipper, typename Attribute> + bool parse_impl(Iterator& first, Iterator const& last + , Context& context, Skipper const& skipper + , Attribute& attr,mpl::false_) const + { + return subject.parse(first,last,context,skipper,attr); + } + + // Call the subject parser on a container attribute + template <typename Iterator, typename Context + , typename Skipper, typename Attribute> + bool parse_impl(Iterator& first, Iterator const& last + , Context& context, Skipper const& skipper + , Attribute& attr,mpl::true_) const + { + + // synthesized attribute needs to be default constructed + typename traits::container_value<Attribute>::type val = + typename traits::container_value<Attribute>::type(); + + Iterator save = first; + bool r = subject.parse(first,last,context,skipper, val); + if (r) + { + // push the parsed value into our attribute + r = traits::push_back(attr, val); + if (!r) + first = save; + } + return r; + } + + template <typename Iterator, typename Context + , typename Skipper, typename Attribute,typename NoCasePass> + bool parse(Iterator& first, Iterator const& last + , Context& context, skipper_keyword_marker<Skipper,NoCasePass> const& skipper + , Attribute &attr) const + { + + typedef typename traits::attribute_of< + Subject, Context, Iterator>::type + subject_attribute; + + typedef typename mpl::and_< + traits::is_container<Attribute> + , mpl::not_< traits::is_weak_substitute< subject_attribute,Attribute > > + >::type predicate; + + if(parse_impl(first,last,context,skipper.skipper,attr, predicate())) + return iter.register_successful_parse(skipper.flag,skipper.counter); + return false; + } + + template <typename Iterator, typename Context + , typename Skipper, typename Attribute> + bool parse(Iterator& first, Iterator const& last + , Context& context, Skipper const& skipper + , Attribute& attr) const + { + typedef typename traits::attribute_of< + Subject, Context, Iterator>::type + subject_attribute; + + typedef typename mpl::and_< + traits::is_container<Attribute> + , mpl::not_< traits::is_weak_substitute< subject_attribute,Attribute > > + >::type predicate; + + + // Parse the keyword + bool flag = iter.flag_init(); + int counter = 0; + Iterator save = first; + spirit::qi::skip_over(first, last, skipper); + if(keyword.parse(first,last,context,skipper,unused)){ + if( !distinct::value || skipper.parse(first,last,unused,unused,unused)){ + // Followed by the subject parser + spirit::qi::skip_over(first, last, skipper); + if(parse_impl(first,last,context,skipper,attr, predicate())) + { + return iter.register_successful_parse(flag,counter); + } + } + } + first = save; + return flag; + } + + + template <typename Context> + info what(Context& context) const + { + if(distinct::value) + return info("dkwd", subject.what(context)); + else + return info("kwd", subject.what(context)); + } + + Subject subject; + LoopIter iter; + + KeywordType keyword; + private: + // silence MSVC warning C4512: assignment operator could not be generated + complex_kwd_parser& operator= (complex_kwd_parser const&); + + template <typename Iterator, typename Context, typename Skipper> + static spirit::qi::detail::fail_function<Iterator, Context, Skipper> + fail_function( + Iterator& first, Iterator const& last + , Context& context, Skipper const& skipper) + { + return spirit::qi::detail::fail_function<Iterator, Context, Skipper> + (first, last, context, skipper); + } + + }; + }}}} /////////////////////////////////////////////////////////////////////////////// @@ -386,177 +605,546 @@ namespace boost { namespace spirit { namespace qi // Parser generators: make_xxx function (objects) /////////////////////////////////////////////////////////////////////////// + template <typename T1, typename T2, typename Subject, typename Modifiers, typename Distinct, typename MakeDirectiveHelper> + struct make_directive_internal_2_args + { + + // is the keyword a string keyword ? + typedef typename traits::is_string<T1> is_string_kwd_type; + // make the keyword type + typedef typename mpl::if_< is_string_kwd_type , + T1 , + typename result_of::compile<qi::domain, T1>::type + >::type keyword_type; + + typedef typename add_const<keyword_type>::type const_keyword; + // select the pass iterator type + typedef typename MakeDirectiveHelper::iterator_type iterator_type; + // determine if a no case modifier applies to the context + typedef has_modifier<Modifiers, tag::char_code_base<tag::no_case> > no_case; + // Determine the full type of the kwd / complex_kwd directive + typedef typename + mpl::if_< + is_string_kwd_type, + repository::qi::kwd_parser<Subject, const_keyword, iterator_type, no_case, Distinct >, + repository::qi::complex_kwd_parser<Subject, const_keyword, iterator_type, Distinct > + >::type result_type; + + // Return a kwd parser object + template <typename Terminal> + result_type create_kwd_string(Terminal const &term, Subject const & subject, boost::mpl::true_ ) const + { + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; + return result_type(subject + ,MakeDirectiveHelper::make_iterator(term.args) + ,encoding + ); + } + template <typename Terminal> + result_type create_kwd_string(Terminal const &term, Subject const & subject, boost::mpl::false_ ) const + { + return result_type(subject + ,fusion::at_c<0>(term.args) + ,MakeDirectiveHelper::make_iterator(term.args) + ); + } + template <typename Terminal> + result_type create_kwd(Terminal const &term, Subject const & subject, Modifiers const& modifiers, boost::mpl::true_ ) const + { + return create_kwd_string(term,subject,no_case()); + } + // Return a complex_kwd parser object + template <typename Terminal> + result_type create_kwd(Terminal const &term , Subject const & subject, Modifiers const& modifiers, boost::mpl::false_ ) const + { + return result_type(subject + ,compile<qi::domain>(fusion::at_c<0>(term.args),modifiers) + ,MakeDirectiveHelper::make_iterator(term.args) + ); + } + // Select which object type to return + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const + { + return create_kwd(term, subject, modifiers, is_string_kwd_type()); + } + + }; + // Directive kwd(key)[p] + template <typename T1, typename Subject, typename Modifiers, typename Distinct> + struct make_directive_internal + { + // is the keyword a string keyword ? + typedef typename traits::is_string<T1> is_string_kwd_type; + // make the keyword type + typedef typename mpl::if_< is_string_kwd_type , + T1 , + typename result_of::compile<qi::domain, T1, Modifiers>::type + >::type keyword_type; + + typedef typename add_const<keyword_type>::type const_keyword; + // select the pass iterator type + typedef repository::qi::kwd_pass_iterator<int> iterator_type; + // determine if a no case modifier applies to the context + typedef has_modifier<Modifiers, tag::char_code_base<tag::no_case> > no_case; + // Determine the full type of the kwd / complex_kwd directive + typedef typename + mpl::if_< + is_string_kwd_type, + repository::qi::kwd_parser<Subject, const_keyword, iterator_type, no_case, Distinct >, + repository::qi::complex_kwd_parser<Subject, const_keyword, iterator_type, Distinct> + >::type result_type; + + // Return a kwd parser object + template <typename Terminal> + result_type create_kwd_string(Terminal const &term, Subject const & subject, boost::mpl::true_) const + { + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; + + return result_type(subject + ,fusion::at_c<0>(term.args) + ,iterator_type() + ,encoding + ); + + } + template <typename Terminal> + result_type create_kwd_string(Terminal const &term, Subject const & subject, boost::mpl::false_) const + { + return result_type(subject + ,fusion::at_c<0>(term.args) + ,iterator_type() + ); + } + template <typename Terminal> + result_type create_kwd(Terminal const &term, Subject const & subject, Modifiers const& modifiers, boost::mpl::true_ ) const + { + return create_kwd_string(term,subject,no_case()); + } + // Return a complex_kwd parser object + template <typename Terminal> + result_type create_kwd(Terminal const &term , Subject const & subject, Modifiers const& modifiers, boost::mpl::false_ ) const + { + return result_type(subject + ,compile<qi::domain>(fusion::at_c<0>(term.args),modifiers) + ,iterator_type() + ); + } + // Select which object type to return + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, Modifiers const& modifiers ) const + { + return create_kwd(term, subject, modifiers, is_string_kwd_type()); + } + }; + template <typename T1, typename Subject, typename Modifiers> struct make_directive< terminal_ex<repository::tag::kwd, fusion::vector1<T1> >, Subject, Modifiers> { + typedef make_directive_internal<T1, Subject, Modifiers, mpl::false_> make_directive_type; + typedef typename make_directive_type::result_type result_type; + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const + { + + return make_directive_type()(term, subject, modifiers); + } + + }; + + template <typename T1, typename Subject, typename Modifiers> + struct make_directive< + terminal_ex<repository::tag::dkwd, fusion::vector1<T1> >, Subject, Modifiers> + { + typedef make_directive_internal<T1, Subject, Modifiers, mpl::true_> make_directive_type; + typedef typename make_directive_type::result_type result_type; + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const + { + + return make_directive_type()(term, subject, modifiers); + } + + }; + + + + // Directive ikwd(key)[p] + template <typename T1, typename Subject, typename Modifiers> + struct make_directive< + terminal_ex<repository::tag::ikwd, fusion::vector1<T1> >, Subject, Modifiers> + { typedef typename add_const<T1>::type const_keyword; typedef repository::qi::kwd_pass_iterator<int> iterator_type; - typedef has_modifier<Modifiers, tag::char_code_base<tag::no_case> > no_case; + typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_, mpl::false_ > result_type; - typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, no_case > result_type; - template <typename Terminal> result_type operator()( Terminal const& term, Subject const& subject, unused_type) const { + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; + return result_type(subject ,fusion::at_c<0>(term.args) ,iterator_type() + ,encoding ); } }; - // Directive ikwd(key)[p] template <typename T1, typename Subject, typename Modifiers> struct make_directive< - terminal_ex<repository::tag::ikwd, fusion::vector1<T1> >, Subject, Modifiers> + terminal_ex<repository::tag::idkwd, fusion::vector1<T1> >, Subject, Modifiers> { typedef typename add_const<T1>::type const_keyword; typedef repository::qi::kwd_pass_iterator<int> iterator_type; - typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_ > result_type; + typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_, mpl::true_ > result_type; template <typename Terminal> result_type operator()( Terminal const& term, Subject const& subject, unused_type) const { - /* typename spirit::detail::get_encoding<Modifiers, - spirit::char_encoding::standard>::type encoding;*/ + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; return result_type(subject ,fusion::at_c<0>(term.args) ,iterator_type() + ,encoding ); } }; // Directive kwd(key,exact)[p] + template <typename T> + struct make_exact_helper + { + typedef repository::qi::kwd_exact_iterator<T> iterator_type; + template<typename Args> + static iterator_type make_iterator(Args const& args) + { + return iterator_type(fusion::at_c<1>(args)); + } + }; + template <typename T1, typename T2, typename Subject, typename Modifiers> struct make_directive< terminal_ex<repository::tag::kwd, fusion::vector2<T1,T2> >, Subject, Modifiers> { + typedef make_directive_internal_2_args< T1 + , T2 + , Subject + , Modifiers + , mpl::false_ + , make_exact_helper<T2> + > make_directive_type; + typedef typename make_directive_type::result_type result_type; + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const + { + + return make_directive_type()(term,subject, modifiers); + } + + }; + + template <typename T1, typename T2, typename Subject, typename Modifiers> + struct make_directive< + terminal_ex<repository::tag::dkwd, fusion::vector2<T1,T2> >, Subject, Modifiers> + { + typedef make_directive_internal_2_args< T1 + , T2 + , Subject + , Modifiers + , mpl::true_ + , make_exact_helper<T2> + > make_directive_type; + + typedef typename make_directive_type::result_type result_type; + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const + { + + return make_directive_type()(term, subject, modifiers); + } + + }; + + + // Directive ikwd(key,exact)[p] + template <typename T1, typename T2, typename Subject, typename Modifiers> + struct make_directive< + terminal_ex<repository::tag::ikwd, fusion::vector2<T1,T2> >, Subject, Modifiers> + { typedef typename add_const<T1>::type const_keyword; typedef repository::qi::kwd_exact_iterator<T2> iterator_type; - typedef has_modifier<Modifiers, tag::char_code_base<tag::no_case> > no_case; - typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, no_case > result_type; + typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_, mpl::false_ > result_type; template <typename Terminal> result_type operator()( - Terminal const& term, Subject const& subject, unused_type) const + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const { + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; return result_type(subject ,fusion::at_c<0>(term.args) ,fusion::at_c<1>(term.args) + , encoding ); } }; - // Directive ikwd(key,exact)[p] template <typename T1, typename T2, typename Subject, typename Modifiers> struct make_directive< - terminal_ex<repository::tag::ikwd, fusion::vector2<T1,T2> >, Subject, Modifiers> + terminal_ex<repository::tag::idkwd, fusion::vector2<T1,T2> >, Subject, Modifiers> { typedef typename add_const<T1>::type const_keyword; typedef repository::qi::kwd_exact_iterator<T2> iterator_type; - typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_ > result_type; + typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_, mpl::true_ > result_type; template <typename Terminal> result_type operator()( - Terminal const& term, Subject const& subject, unused_type) const + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const { + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; return result_type(subject , fusion::at_c<0>(term.args) , fusion::at_c<1>(term.args) + , encoding ); } }; + // Directive kwd(min, max)[p] + + template <typename T> + struct make_finite_helper + { + typedef repository::qi::kwd_finite_iterator<T> iterator_type; + template<typename Args> + static iterator_type make_iterator(Args const& args) + { + return iterator_type(fusion::at_c<1>(args),fusion::at_c<2>(args)); + } + + }; + template <typename T1, typename T2, typename Subject, typename Modifiers> struct make_directive< terminal_ex<repository::tag::kwd, fusion::vector3< T1, T2, T2> >, Subject, Modifiers> { + typedef make_directive_internal_2_args< T1 + , T2 + , Subject + , Modifiers + , mpl::false_ + , make_finite_helper<T2> + > make_directive_type; + + + typedef typename make_directive_type::result_type result_type; + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const + { + + return make_directive_type()(term,subject, modifiers); + } + + }; + + template <typename T1, typename T2, typename Subject, typename Modifiers> + struct make_directive< + terminal_ex<repository::tag::dkwd, fusion::vector3<T1,T2,T2> >, Subject, Modifiers> + { + + typedef make_directive_internal_2_args< T1 + , T2 + , Subject + , Modifiers + , mpl::true_ + , make_finite_helper<T2> + > make_directive_type; + + typedef typename make_directive_type::result_type result_type; + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, Modifiers const& modifiers) const + { + + return make_directive_type()(term,subject, modifiers); + } + + }; + + // Directive ikwd(min, max)[p] + template <typename T1, typename T2, typename Subject, typename Modifiers> + struct make_directive< + terminal_ex<repository::tag::ikwd, fusion::vector3< T1, T2, T2> >, Subject, Modifiers> + { typedef typename add_const<T1>::type const_keyword; typedef repository::qi::kwd_finite_iterator<T2> iterator_type; - typedef has_modifier<Modifiers, tag::char_code_base<tag::no_case> > no_case; - typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, no_case > result_type; + typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_, mpl::false_ > result_type; template <typename Terminal> result_type operator()( Terminal const& term, Subject const& subject, unused_type) const { + + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; return result_type(subject, fusion::at_c<0>(term.args), iterator_type( fusion::at_c<1>(term.args) , fusion::at_c<2>(term.args) + , encoding ) ); } }; - // Directive ikwd(min, max)[p] template <typename T1, typename T2, typename Subject, typename Modifiers> struct make_directive< - terminal_ex<repository::tag::ikwd, fusion::vector3< T1, T2, T2> >, Subject, Modifiers> + terminal_ex<repository::tag::idkwd, fusion::vector3< T1, T2, T2> >, Subject, Modifiers> { typedef typename add_const<T1>::type const_keyword; typedef repository::qi::kwd_finite_iterator<T2> iterator_type; - typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_ > result_type; + typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_, mpl::true_ > result_type; template <typename Terminal> result_type operator()( Terminal const& term, Subject const& subject, unused_type) const { + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; return result_type(subject, fusion::at_c<0>(term.args), iterator_type( fusion::at_c<1>(term.args) , fusion::at_c<2>(term.args) + , encoding ) ); } }; + // Directive kwd(min, inf)[p] + + template <typename T> + struct make_infinite_helper + { + typedef repository::qi::kwd_infinite_iterator<T> iterator_type; + template<typename Args> + static iterator_type make_iterator(Args const& args) + { + return iterator_type(fusion::at_c<1>(args)); + } + + }; + + template <typename T1, typename T2, typename Subject, typename Modifiers> struct make_directive< - terminal_ex<repository::tag::kwd + terminal_ex<repository::tag::kwd, fusion::vector3<T1,T2,inf_type> >, Subject, Modifiers> + { + typedef make_directive_internal_2_args< T1 + , T2 + , Subject + , Modifiers + , mpl::false_ + , make_infinite_helper<T2> + > make_directive_type; + + typedef typename make_directive_type::result_type result_type; + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, unused_type) const + { + + return make_directive_type()(term,subject, unused_type()); + } + + }; + + template <typename T1, typename T2, typename Subject, typename Modifiers> + struct make_directive< + terminal_ex<repository::tag::dkwd, fusion::vector3<T1,T2,inf_type> >, Subject, Modifiers> + { + typedef make_directive_internal_2_args< T1 + , T2 + , Subject + , Modifiers + , mpl::false_ + , make_infinite_helper<T2> + > make_directive_type; + + typedef typename make_directive_type::result_type result_type; + template <typename Terminal> + result_type operator()( + Terminal const& term, Subject const& subject, unused_type) const + { + + return make_directive_type()(term,subject, unused_type()); + } + + }; + + + // Directive ikwd(min, inf)[p] + template <typename T1, typename T2, typename Subject, typename Modifiers> + struct make_directive< + terminal_ex<repository::tag::ikwd , fusion::vector3<T1, T2, inf_type> >, Subject, Modifiers> { typedef typename add_const<T1>::type const_keyword; typedef repository::qi::kwd_infinite_iterator<T2> iterator_type; - typedef has_modifier<Modifiers, tag::char_code_base<tag::no_case> > no_case; - typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, no_case > result_type; + typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_, mpl::false_ > result_type; template <typename Terminal> result_type operator()( Terminal const& term, Subject const& subject, unused_type) const { + typename spirit::detail::get_encoding<Modifiers, + spirit::char_encoding::standard>::type encoding; + return result_type(subject , fusion::at_c<0>(term.args) , fusion::at_c<1>(term.args) + , encoding ); } }; - // Directive ikwd(min, inf)[p] template <typename T1, typename T2, typename Subject, typename Modifiers> struct make_directive< - terminal_ex<repository::tag::ikwd + terminal_ex<repository::tag::idkwd , fusion::vector3<T1, T2, inf_type> >, Subject, Modifiers> { typedef typename add_const<T1>::type const_keyword; typedef repository::qi::kwd_infinite_iterator<T2> iterator_type; - typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_ > result_type; + typedef repository::qi::kwd_parser<Subject, const_keyword, iterator_type, mpl::true_, mpl::true_ > result_type; template <typename Terminal> result_type operator()( @@ -568,6 +1156,7 @@ namespace boost { namespace spirit { namespace qi return result_type(subject , fusion::at_c<0>(term.args) , fusion::at_c<1>(term.args) + , encoding ); } }; @@ -578,10 +1167,32 @@ namespace boost { namespace spirit { namespace qi namespace boost { namespace spirit { namespace traits { template <typename Subject, typename KeywordType - , typename LoopIter, typename NoCase > + , typename LoopIter, typename NoCase , typename Distinct> struct has_semantic_action< - repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase > > + repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct > > + : unary_has_semantic_action<Subject> {}; + + template <typename Subject, typename KeywordType + , typename LoopIter, typename Distinct > + struct has_semantic_action< + repository::qi::complex_kwd_parser< Subject, KeywordType, LoopIter, Distinct > > : unary_has_semantic_action<Subject> {}; + + template <typename Subject, typename KeywordType + , typename LoopIter, typename NoCase, typename Attribute, typename Context + , typename Iterator, typename Distinct> + struct handles_container<repository::qi::kwd_parser<Subject, KeywordType, LoopIter, NoCase, Distinct>, Attribute + , Context, Iterator> + : unary_handles_container<Subject, Attribute, Context, Iterator> {}; + + template <typename Subject, typename KeywordType + , typename LoopIter + , typename Attribute, typename Context + , typename Iterator, typename Distinct> + struct handles_container<repository::qi::complex_kwd_parser<Subject, KeywordType, LoopIter, Distinct>, Attribute + , Context, Iterator> + : unary_handles_container<Subject, Attribute, Context, Iterator> {}; + }}} #endif diff --git a/boost/spirit/repository/home/qi/operator/detail/keywords.hpp b/boost/spirit/repository/home/qi/operator/detail/keywords.hpp index 81e17715df..06836f7746 100644 --- a/boost/spirit/repository/home/qi/operator/detail/keywords.hpp +++ b/boost/spirit/repository/home/qi/operator/detail/keywords.hpp @@ -1,6 +1,5 @@ /*============================================================================= - Copyright (c) 2001-2011 Joel de Guzman - Copyright (c) 2011 Thomas Bernard + Copyright (c) 2011-2012 Thomas Bernard 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) @@ -11,39 +10,35 @@ #if defined(_MSC_VER) #pragma once #endif - +#include <boost/fusion/include/nview.hpp> +#include <boost/spirit/home/qi/string/lit.hpp> +#include <boost/fusion/include/at.hpp> namespace boost { namespace spirit { namespace repository { namespace qi { namespace detail { - - // This helper class enables jumping over intermediate directives - // down the kwd parser iteration count checking policy - struct register_successful_parse - { - template <typename Subject> - static bool call(Subject const &subject,bool &flag, int &counter) - { - return subject.iter.register_successful_parse(flag,counter); - } - template <typename Subject, typename Action> - static bool call(spirit::qi::action<Subject, Action> const &subject,bool &flag, int &counter) - { - return subject.subject.iter.register_successful_parse(flag,counter); - } - template <typename Subject> - static bool call(spirit::qi::hold_directive<Subject> const &subject,bool &flag, int &counter) - { - return subject.subject.iter.register_successful_parse(flag,counter); - } - }; // Variant visitor class which handles dispatching the parsing to the selected parser // This also handles passing the correct attributes and flags/counters to the subject parsers + template<typename T> + struct is_distinct : T::distinct { }; + template<typename T, typename Action> + struct is_distinct< spirit::qi::action<T,Action> > : T::distinct { }; + + template<typename T> + struct is_distinct< spirit::qi::hold_directive<T> > : T::distinct { }; + + + template < typename Elements, typename Iterator ,typename Context ,typename Skipper ,typename Flags ,typename Counters ,typename Attribute, typename NoCasePass> - class parse_dispatcher + struct parse_dispatcher : public boost::static_visitor<bool> { + + typedef Iterator iterator_type; + typedef Context context_type; + typedef Skipper skipper_type; + typedef Elements elements_type; + typedef typename add_reference<Attribute>::type attr_reference; - public: parse_dispatcher(const Elements &elements,Iterator& first, Iterator const& last , Context& context, Skipper const& skipper @@ -65,7 +60,8 @@ namespace boost { namespace spirit { namespace repository { namespace qi { names , Index& idx ) const { Iterator save = first; - skipper_keyword_marker<Skipper,NoCasePass> marked_skipper(skipper,flags[Index::value],counters[Index::value]); + skipper_keyword_marker<Skipper,NoCasePass> + marked_skipper(skipper,flags[Index::value],counters[Index::value]); if(subject.parse(first,last,context,marked_skipper,unused)) { @@ -84,7 +80,8 @@ namespace boost { namespace spirit { namespace repository { namespace qi { names { Iterator save = first; - skipper_keyword_marker<Skipper,NoCasePass> marked_skipper(skipper,flags[Index::value],counters[Index::value]); + skipper_keyword_marker<Skipper,NoCasePass> + marked_skipper(skipper,flags[Index::value],counters[Index::value]); if(subject.parse(first,last,context,marked_skipper,fusion::at_c<Index::value>(attr))) { return true; @@ -95,12 +92,28 @@ namespace boost { namespace spirit { namespace repository { namespace qi { names // Handle unused attributes template <typename T> bool call(T &idx, mpl::false_) const{ + + typedef typename mpl::at<Elements,T>::type ElementType; + if( + (!is_distinct<ElementType>::value) + || skipper.parse(first,last,unused,unused,unused) + ){ + spirit::qi::skip_over(first, last, skipper); return call_subject_unused(fusion::at_c<T::value>(elements), first, last, context, skipper, idx ); } + return false; + } // Handle normal attributes template <typename T> bool call(T &idx, mpl::true_) const{ + typedef typename mpl::at<Elements,T>::type ElementType; + if( + (!is_distinct<ElementType>::value) + || skipper.parse(first,last,unused,unused,unused) + ){ return call_subject(fusion::at_c<T::value>(elements), first, last, context, skipper, idx); } + return false; + } const Elements &elements; Iterator &first; @@ -111,7 +124,572 @@ namespace boost { namespace spirit { namespace repository { namespace qi { names Counters &counters; attr_reference attr; }; + // string keyword loop handler + template <typename Elements, typename StringKeywords, typename IndexList, typename FlagsType, typename Modifiers> + struct string_keywords + { + // Create a variant type to be able to store parser indexes in the embedded symbols parser + typedef typename + spirit::detail::as_variant< + IndexList >::type parser_index_type; + /////////////////////////////////////////////////////////////////////////// + // build_char_type_sequence + // + // Build a fusion sequence from the kwd directive specified character type. + /////////////////////////////////////////////////////////////////////////// + template <typename Sequence > + struct build_char_type_sequence + { + struct element_char_type + { + template <typename T> + struct result; + + template <typename F, typename Element> + struct result<F(Element)> + { + typedef typename Element::char_type type; + + }; + template <typename F, typename Element,typename Action> + struct result<F(spirit::qi::action<Element,Action>) > + { + typedef typename Element::char_type type; + }; + template <typename F, typename Element> + struct result<F(spirit::qi::hold_directive<Element>)> + { + typedef typename Element::char_type type; + }; + + // never called, but needed for decltype-based result_of (C++0x) + template <typename Element> + typename result<element_char_type(Element)>::type + operator()(Element&) const; + }; + + // Compute the list of character types of the child kwd directives + typedef typename + fusion::result_of::transform<Sequence, element_char_type>::type + type; + }; + + + /////////////////////////////////////////////////////////////////////////// + // get_keyword_char_type + // + // Collapses the character type comming from the subject kwd parsers and + // and checks that they are all identical (necessary in order to be able + // to build a tst parser to parse the keywords. + /////////////////////////////////////////////////////////////////////////// + template <typename Sequence> + struct get_keyword_char_type + { + // Make sure each of the types occur only once in the type list + typedef typename + mpl::fold< + Sequence, mpl::vector<>, + mpl::if_< + mpl::contains<mpl::_1, mpl::_2>, + mpl::_1, mpl::push_back<mpl::_1, mpl::_2> + > + >::type + no_duplicate_char_types; + + // If the compiler traps here this means you mixed + // character type for the keywords specified in the + // kwd directive sequence. + BOOST_MPL_ASSERT_RELATION( mpl::size<no_duplicate_char_types>::value, ==, 1 ); + + typedef typename mpl::front<no_duplicate_char_types>::type type; + + }; + + // Get the character type for the tst parser + typedef typename build_char_type_sequence< StringKeywords >::type char_types; + typedef typename get_keyword_char_type< + typename mpl::if_< + mpl::equal_to< + typename mpl::size < char_types >::type + , mpl::int_<0> + > + , mpl::vector< boost::spirit::standard::char_type > + , char_types >::type + >::type char_type; + + // Our symbols container + typedef spirit::qi::tst< char_type, parser_index_type> keywords_type; + + // Filter functor used for case insensitive parsing + template <typename CharEncoding> + struct no_case_filter + { + char_type operator()(char_type ch) const + { + return static_cast<char_type>(CharEncoding::tolower(ch)); + } + }; + + /////////////////////////////////////////////////////////////////////////// + // build_case_type_sequence + // + // Build a fusion sequence from the kwd/ikwd directives + // in order to determine if case sensitive and case insensitive + // keywords have been mixed. + /////////////////////////////////////////////////////////////////////////// + template <typename Sequence > + struct build_case_type_sequence + { + struct element_case_type + { + template <typename T> + struct result; + + template <typename F, typename Element> + struct result<F(Element)> + { + typedef typename Element::no_case_keyword type; + + }; + template <typename F, typename Element,typename Action> + struct result<F(spirit::qi::action<Element,Action>) > + { + typedef typename Element::no_case_keyword type; + }; + template <typename F, typename Element> + struct result<F(spirit::qi::hold_directive<Element>)> + { + typedef typename Element::no_case_keyword type; + }; + + // never called, but needed for decltype-based result_of (C++0x) + template <typename Element> + typename result<element_case_type(Element)>::type + operator()(Element&) const; + }; + + // Compute the list of character types of the child kwd directives + typedef typename + fusion::result_of::transform<Sequence, element_case_type>::type + type; + }; + + /////////////////////////////////////////////////////////////////////////// + // get_nb_case_types + // + // Counts the number of entries in the case type sequence matching the + // CaseType parameter (mpl::true_ -> case insensitve + // , mpl::false_ -> case sensitive + /////////////////////////////////////////////////////////////////////////// + template <typename Sequence,typename CaseType> + struct get_nb_case_types + { + // Make sure each of the types occur only once in the type list + typedef typename + mpl::count_if< + Sequence, mpl::equal_to<mpl::_,CaseType> + >::type type; + + + }; + // Build the case type sequence + typedef typename build_case_type_sequence< StringKeywords >::type case_type_sequence; + // Count the number of case sensitive entries and case insensitve entries + typedef typename get_nb_case_types<case_type_sequence,mpl::true_>::type ikwd_count; + typedef typename get_nb_case_types<case_type_sequence,mpl::false_>::type kwd_count; + // Get the size of the original sequence + typedef typename mpl::size<IndexList>::type nb_elements; + // Determine if all the kwd directive are case sensitive/insensitive + typedef typename mpl::and_< + typename mpl::greater< nb_elements, mpl::int_<0> >::type + , typename mpl::equal_to< ikwd_count, nb_elements>::type + >::type all_ikwd; + + typedef typename mpl::and_< + typename mpl::greater< nb_elements, mpl::int_<0> >::type + , typename mpl::equal_to< kwd_count, nb_elements>::type + >::type all_kwd; + + typedef typename mpl::or_< all_kwd, all_ikwd >::type all_directives_of_same_type; + + // Do we have a no case modifier + typedef has_modifier<Modifiers, spirit::tag::char_code_base<spirit::tag::no_case> > no_case_modifier; + + // Should the no_case filter always be used ? + typedef typename mpl::or_< + no_case_modifier, + mpl::and_< + all_directives_of_same_type + ,all_ikwd + > + >::type + no_case; + + typedef no_case_filter< + typename spirit::detail::get_encoding_with_case< + Modifiers + , char_encoding::standard + , no_case::value>::type> + nc_filter; + // Determine the standard case filter type + typedef typename mpl::if_< + no_case + , nc_filter + , spirit::qi::tst_pass_through >::type + first_pass_filter_type; + + typedef typename mpl::or_< + all_directives_of_same_type + , no_case_modifier + >::type requires_one_pass; + + + // Functor which adds all the keywords/subject parser indexes + // collected from the subject kwd directives to the keyword tst parser + struct keyword_entry_adder + { + typedef int result_type; + + keyword_entry_adder(shared_ptr<keywords_type> lookup,FlagsType &flags, Elements &elements) : + lookup(lookup) + ,flags(flags) + ,elements(elements) + {} + + template <typename T> + int operator()(const T &index) const + { + return call(fusion::at_c<T::value>(elements),index); + } + + template <typename T, typename Position, typename Action> + int call(const spirit::qi::action<T,Action> &parser, const Position position ) const + { + + // Make the keyword/parse index entry in the tst parser + lookup->add( + traits::get_begin<char_type>(parser.subject.keyword.str), + traits::get_end<char_type>(parser.subject.keyword.str), + position + ); + // Get the initial state of the flags array and store it in the flags initializer + flags[Position::value]=parser.subject.iter.flag_init(); + return 0; + } + + template <typename T, typename Position> + int call( const T & parser, const Position position) const + { + // Make the keyword/parse index entry in the tst parser + lookup->add( + traits::get_begin<char_type>(get_string(parser.keyword)), + traits::get_end<char_type>(get_string(parser.keyword)), + position + ); + // Get the initial state of the flags array and store it in the flags initializer + flags[Position::value]=parser.iter.flag_init(); + return 0; + } + + template <typename T, typename Position> + int call( const spirit::qi::hold_directive<T> & parser, const Position position) const + { + // Make the keyword/parse index entry in the tst parser + lookup->add( + traits::get_begin<char_type>(parser.subject.keyword.str), + traits::get_end<char_type>(parser.subject.keyword.str), + position + ); + // Get the initial state of the flags array and store it in the flags initializer + flags[Position::value]=parser.subject.iter.flag_init(); + return 0; + } + + template <typename String, bool no_attribute> + const String & get_string(const boost::spirit::qi::literal_string<String,no_attribute> &parser) const + { + return parser.str; + } + + template <typename String, bool no_attribute> + const typename boost::spirit::qi::no_case_literal_string<String,no_attribute>::string_type & + get_string(const boost::spirit::qi::no_case_literal_string<String,no_attribute> &parser) const + { + return parser.str_lo; + } + + + + shared_ptr<keywords_type> lookup; + FlagsType & flags; + Elements &elements; + }; + + string_keywords(Elements &elements,FlagsType &flags_init) : lookup(new keywords_type()) + { + // Loop through all the subject parsers to build the keyword parser symbol parser + IndexList indexes; + keyword_entry_adder f1(lookup,flags_init,elements); + fusion::for_each(indexes,f1); + + } + template <typename Iterator,typename ParseVisitor, typename Skipper> + bool parse( + Iterator &first, + const Iterator &last, + const ParseVisitor &parse_visitor, + const Skipper &skipper) const + { + if(parser_index_type* val_ptr = + lookup->find(first,last,first_pass_filter_type())) + { + if(!apply_visitor(parse_visitor,*val_ptr)){ + return false; + } + return true; + } + return false; + } + + template <typename Iterator,typename ParseVisitor, typename NoCaseParseVisitor,typename Skipper> + bool parse( + Iterator &first, + const Iterator &last, + const ParseVisitor &parse_visitor, + const NoCaseParseVisitor &no_case_parse_visitor, + const Skipper &skipper) const + { + Iterator saved_first = first; + if(parser_index_type* val_ptr = + lookup->find(first,last,first_pass_filter_type())) + { + if(!apply_visitor(parse_visitor,*val_ptr)){ + return false; + } + return true; + } + // Second pass case insensitive + else if(parser_index_type* val_ptr + = lookup->find(saved_first,last,nc_filter())) + { + first = saved_first; + if(!apply_visitor(no_case_parse_visitor,*val_ptr)){ + return false; + } + return true; + } + return false; + } + shared_ptr<keywords_type> lookup; + + + }; + + struct empty_keywords_list + { + typedef mpl::true_ requires_one_pass; + + empty_keywords_list() + {} + template<typename Elements> + empty_keywords_list(const Elements &) + {} + + template<typename Elements, typename FlagsInit> + empty_keywords_list(const Elements &, const FlagsInit &) + {} + + template <typename Iterator,typename ParseVisitor, typename NoCaseParseVisitor,typename Skipper> + bool parse( + Iterator &first, + const Iterator &last, + const ParseVisitor &parse_visitor, + const NoCaseParseVisitor &no_case_parse_visitor, + const Skipper &skipper) const + { + return false; + } + + template <typename Iterator,typename ParseVisitor, typename Skipper> + bool parse( + Iterator &first, + const Iterator &last, + const ParseVisitor &parse_visitor, + const Skipper &skipper) const + { + return false; + } + + template <typename ParseFunction> + bool parse( ParseFunction &function ) const + { + return false; + } + }; + + template<typename ComplexKeywords> + struct complex_keywords + { + // Functor which performs the flag initialization for the complex keyword parsers + template <typename FlagsType, typename Elements> + struct flag_init_value_setter + { + typedef int result_type; + + flag_init_value_setter(Elements &elements,FlagsType &flags) + :flags(flags) + ,elements(elements) + {} + + template <typename T> + int operator()(const T &index) const + { + return call(fusion::at_c<T::value>(elements),index); + } + + template <typename T, typename Position, typename Action> + int call(const spirit::qi::action<T,Action> &parser, const Position position ) const + { + // Get the initial state of the flags array and store it in the flags initializer + flags[Position::value]=parser.subject.iter.flag_init(); + return 0; + } + + template <typename T, typename Position> + int call( const T & parser, const Position position) const + { + // Get the initial state of the flags array and store it in the flags initializer + flags[Position::value]=parser.iter.flag_init(); + return 0; + } + + template <typename T, typename Position> + int call( const spirit::qi::hold_directive<T> & parser, const Position position) const + { + // Get the initial state of the flags array and store it in the flags initializer + flags[Position::value]=parser.subject.iter.flag_init(); + return 0; + } + + FlagsType & flags; + Elements &elements; + }; + + template <typename Elements, typename Flags> + complex_keywords(Elements &elements, Flags &flags) + { + flag_init_value_setter<Flags,Elements> flag_initializer(elements,flags); + fusion::for_each(complex_keywords_inst,flag_initializer); + } + + template <typename ParseFunction> + bool parse( ParseFunction &function ) const + { + return fusion::any(complex_keywords_inst,function); + } + + ComplexKeywords complex_keywords_inst; + }; + // This helper class enables jumping over intermediate directives + // down the kwd parser iteration count checking policy + struct register_successful_parse + { + template <typename Subject> + static bool call(Subject const &subject,bool &flag, int &counter) + { + return subject.iter.register_successful_parse(flag,counter); + } + template <typename Subject, typename Action> + static bool call(spirit::qi::action<Subject, Action> const &subject,bool &flag, int &counter) + { + return subject.subject.iter.register_successful_parse(flag,counter); + } + template <typename Subject> + static bool call(spirit::qi::hold_directive<Subject> const &subject,bool &flag, int &counter) + { + return subject.subject.iter.register_successful_parse(flag,counter); + } + }; + + // This helper class enables jumping over intermediate directives + // down the kwd parser + struct extract_keyword + { + template <typename Subject> + static Subject const& call(Subject const &subject) + { + return subject; + } + template <typename Subject, typename Action> + static Subject const& call(spirit::qi::action<Subject, Action> const &subject) + { + return subject.subject; + } + template <typename Subject> + static Subject const& call(spirit::qi::hold_directive<Subject> const &subject) + { + return subject.subject; + } + }; + + template <typename ParseDispatcher> + struct complex_kwd_function + { + typedef typename ParseDispatcher::iterator_type Iterator; + typedef typename ParseDispatcher::context_type Context; + typedef typename ParseDispatcher::skipper_type Skipper; + complex_kwd_function( + Iterator& first, Iterator const& last + , Context& context, Skipper const& skipper, ParseDispatcher &dispatcher) + : first(first) + , last(last) + , context(context) + , skipper(skipper) + , dispatcher(dispatcher) + { + } + + template <typename Component> + bool operator()(Component const& component) + { + Iterator save = first; + if( + extract_keyword::call( + fusion::at_c< + Component::value + ,typename ParseDispatcher::elements_type + >(dispatcher.elements) + ) + .keyword.parse( + first + ,last + ,context + ,skipper + ,unused) + ) + { + if(!dispatcher(component)){ + first = save; + return false; + } + return true; + } + return false; + } + + Iterator& first; + Iterator const& last; + Context& context; + Skipper const& skipper; + ParseDispatcher const& dispatcher; + + private: + // silence MSVC warning C4512: assignment operator could not be generated + complex_kwd_function& operator= (complex_kwd_function const&); + }; + + }}}}} #endif diff --git a/boost/spirit/repository/home/qi/operator/keywords.hpp b/boost/spirit/repository/home/qi/operator/keywords.hpp index c32c55c7af..f0382371fa 100644 --- a/boost/spirit/repository/home/qi/operator/keywords.hpp +++ b/boost/spirit/repository/home/qi/operator/keywords.hpp @@ -1,6 +1,6 @@ /*============================================================================= Copyright (c) 2001-2011 Joel de Guzman - Copyright (c) 2011 Thomas Bernard + Copyright (c) 2011-2012 Thomas Bernard 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) @@ -22,6 +22,7 @@ #include <boost/fusion/include/iter_fold.hpp> #include <boost/fusion/include/at.hpp> #include <boost/fusion/include/value_at.hpp> +#include <boost/fusion/include/mpl.hpp> #include <boost/optional.hpp> #include <boost/foreach.hpp> #include <boost/array.hpp> @@ -35,10 +36,14 @@ #include <boost/mpl/size.hpp> #include <boost/mpl/equal_to.hpp> #include <boost/mpl/back_inserter.hpp> +#include <boost/mpl/filter_view.hpp> +#include <boost/fusion/include/zip_view.hpp> +#include <boost/fusion/include/as_vector.hpp> #include <boost/variant/static_visitor.hpp> #include <boost/type_traits/remove_const.hpp> #include <boost/type_traits/is_same.hpp> #include <boost/spirit/repository/home/qi/operator/detail/keywords.hpp> +#include <boost/fusion/include/any.hpp> namespace boost { namespace spirit @@ -62,6 +67,7 @@ namespace boost { namespace spirit { namespace repository { namespace qi namespace detail { BOOST_MPL_HAS_XXX_TRAIT_DEF(kwd_parser_id) + BOOST_MPL_HAS_XXX_TRAIT_DEF(complex_kwd_parser_id) } @@ -76,6 +82,16 @@ namespace boost { namespace spirit { namespace repository { namespace qi template <typename Subject> struct is_kwd_parser<spirit::qi::hold_directive<Subject> > : detail::has_kwd_parser_id<Subject> {}; + template <typename T> + struct is_complex_kwd_parser : detail::has_complex_kwd_parser_id<T> {}; + + template <typename Subject, typename Action> + struct is_complex_kwd_parser<spirit::qi::action<Subject,Action> > : detail::has_complex_kwd_parser_id<Subject> {}; + + template <typename Subject> + struct is_complex_kwd_parser<spirit::qi::hold_directive<Subject> > : detail::has_complex_kwd_parser_id<Subject> {}; + + // Keywords operator template <typename Elements, typename Modifiers> struct keywords : spirit::qi::nary_parser<keywords<Elements,Modifiers> > @@ -101,10 +117,15 @@ namespace boost { namespace spirit { namespace repository { namespace qi typedef typename mpl::count_if< Elements, mpl::not_< + mpl::or_< is_kwd_parser< mpl::_1 + > , + is_complex_kwd_parser< + mpl::_1 > > + > > non_kwd_subject_count; /// If the assertion fails here then you probably forgot to wrap a @@ -130,208 +151,38 @@ namespace boost { namespace spirit { namespace repository { namespace qi typedef typename mpl::range_c<int, 0, sequence_size::value>::type int_range; // Transform the range_c to an mpl vector in order to be able to transform it into a variant - typedef typename mpl::copy<int_range, mpl::back_inserter<mpl::vector<> > >::type int_vector; - - // Build the variant type containing the indexes of the parsers - typedef typename - spirit::detail::as_variant< - int_vector >::type type; - }; - - // Create a variant type to be able to store parser indexes in the embedded symbols parser - typedef typename build_parser_tags< Elements >::type parser_index_type; - - /////////////////////////////////////////////////////////////////////////// - // build_char_type_sequence - // - // Build a fusion sequence from the kwd directive specified character type. - /////////////////////////////////////////////////////////////////////////// - template <typename Sequence > - struct build_char_type_sequence - { - struct element_char_type - { - template <typename T> - struct result; - - template <typename F, typename Element> - struct result<F(Element)> - { - typedef typename Element::char_type type; - - }; - template <typename F, typename Element,typename Action> - struct result<F(spirit::qi::action<Element,Action>) > - { - typedef typename Element::char_type type; - }; - template <typename F, typename Element> - struct result<F(spirit::qi::hold_directive<Element>)> - { - typedef typename Element::char_type type; - }; - - // never called, but needed for decltype-based result_of (C++0x) - template <typename Element> - typename result<element_char_type(Element)>::type - operator()(Element&) const; - }; - - // Compute the list of character types of the child kwd directives - typedef typename - fusion::result_of::transform<Sequence, element_char_type>::type - type; - }; - - - /////////////////////////////////////////////////////////////////////////// - // get_keyword_char_type - // - // Collapses the character type comming from the subject kwd parsers and - // and checks that they are all identical (necessary in order to be able - // to build a tst parser to parse the keywords. - /////////////////////////////////////////////////////////////////////////// - template <typename Sequence> - struct get_keyword_char_type - { - // Make sure each of the types occur only once in the type list - typedef typename - mpl::fold< - Sequence, mpl::vector<>, - mpl::if_< - mpl::contains<mpl::_1, mpl::_2>, - mpl::_1, mpl::push_back<mpl::_1, mpl::_2> - > - >::type - no_duplicate_char_types; + typedef typename mpl::copy<int_range, mpl::back_inserter<mpl::vector<> > >::type type; - // If the compiler traps here this means you mixed - // character type for the keywords specified in the - // kwd directive sequence. - BOOST_MPL_ASSERT_RELATION( mpl::size<no_duplicate_char_types>::value, ==, 1 ); - - typedef typename mpl::front<no_duplicate_char_types>::type type; - }; - - /// Get the character type for the tst parser - typedef typename build_char_type_sequence< Elements >::type char_types; - typedef typename get_keyword_char_type< char_types >::type char_type; + // Build an index mpl vector + typedef typename build_parser_tags< Elements >::type parser_index_vector; - /// Our symbols container - typedef spirit::qi::tst< char_type, parser_index_type> keywords_type; + template <typename idx> + struct is_complex_kwd_parser_filter : is_complex_kwd_parser< typename mpl::at<Elements, idx>::type > + {}; - // Filter functor used for case insensitive parsing - template <typename CharEncoding> - struct no_case_filter - { - char_type operator()(char_type ch) const - { - return static_cast<char_type>(CharEncoding::tolower(ch)); - } - }; - - /////////////////////////////////////////////////////////////////////////// - // build_case_type_sequence - // - // Build a fusion sequence from the kwd/ikwd directives - // in order to determine if case sensitive and case insensitive - // keywords have been mixed. - /////////////////////////////////////////////////////////////////////////// - template <typename Sequence > - struct build_case_type_sequence - { - struct element_case_type - { - template <typename T> - struct result; + template <typename idx> + struct is_kwd_parser_filter : is_kwd_parser< typename mpl::at<Elements, idx>::type > + {}; - template <typename F, typename Element> - struct result<F(Element)> - { - typedef typename Element::no_case_keyword type; + // filter out the string kwd directives + typedef typename mpl::filter_view< Elements, is_kwd_parser<mpl_::_> >::type string_keywords; - }; - template <typename F, typename Element,typename Action> - struct result<F(spirit::qi::action<Element,Action>) > - { - typedef typename Element::no_case_keyword type; - }; - template <typename F, typename Element> - struct result<F(spirit::qi::hold_directive<Element>)> - { - typedef typename Element::no_case_keyword type; - }; + typedef typename mpl::filter_view< parser_index_vector , + is_kwd_parser_filter< mpl::_ > + >::type string_keyword_indexes; + // filter out the complex keywords + typedef typename mpl::filter_view< parser_index_vector , + is_complex_kwd_parser_filter< mpl::_ > + >::type complex_keywords_indexes; - // never called, but needed for decltype-based result_of (C++0x) - template <typename Element> - typename result<element_case_type(Element)>::type - operator()(Element&) const; - }; + //typedef typename fusion::filter_view< Elements, is_complex_kwd_parser< mpl::_ > > complex_keywords_view; - // Compute the list of character types of the child kwd directives - typedef typename - fusion::result_of::transform<Sequence, element_case_type>::type - type; - }; - - /////////////////////////////////////////////////////////////////////////// - // get_nb_case_types - // - // Counts the number of entries in the case type sequence matching the - // CaseType parameter (mpl::true_ -> case insensitve - // , mpl::false_ -> case sensitive - /////////////////////////////////////////////////////////////////////////// - template <typename Sequence,typename CaseType> - struct get_nb_case_types - { - // Make sure each of the types occur only once in the type list - typedef typename - mpl::count_if< - Sequence, mpl::equal_to<mpl::_,CaseType> - >::type type; - - - }; - // Build the case type sequence - typedef typename build_case_type_sequence<Elements>::type case_type_sequence; - // Count the number of case sensitive entries and case insensitve entries - typedef typename get_nb_case_types<case_type_sequence,mpl::true_>::type ikwd_count; - typedef typename get_nb_case_types<case_type_sequence,mpl::false_>::type kwd_count; - // Get the size of the original sequence - typedef typename mpl::size<Elements>::type nb_elements; - // Determine if all the kwd directive are case sensitive/insensitive - typedef typename mpl::equal_to< ikwd_count, nb_elements>::type all_ikwd; - typedef typename mpl::equal_to< kwd_count, nb_elements>::type all_kwd; - - typedef typename mpl::or_< all_kwd, all_ikwd >::type all_directives_of_same_type; - - // Do we have a no case modifier - typedef has_modifier<Modifiers, spirit::tag::char_code_base<spirit::tag::no_case> > no_case_modifier; - - // Should the no_case filter always be used ? - typedef typename mpl::or_< - no_case_modifier, - mpl::and_< - all_directives_of_same_type - ,all_ikwd - > - >::type - no_case; - - typedef no_case_filter< - typename spirit::detail::get_encoding_with_case< - Modifiers - , char_encoding::standard - , no_case::value>::type> - nc_filter; - // Determine the standard case filter type typedef typename mpl::if_< - no_case - , nc_filter - , spirit::qi::tst_pass_through >::type - filter_type; - + typename mpl::empty<complex_keywords_indexes>::type, + detail::empty_keywords_list, + detail::complex_keywords< complex_keywords_indexes > + >::type complex_keywords_type; // build a bool array and an integer array which will be used to // check that the repetition constraints of the kwd parsers are @@ -339,91 +190,24 @@ namespace boost { namespace spirit { namespace repository { namespace qi typedef boost::array<bool, fusion::result_of::size<Elements>::value> flags_type; typedef boost::array<int, fusion::result_of::size<Elements>::value> counters_type; + typedef typename mpl::if_< + typename mpl::empty<string_keyword_indexes>::type, + detail::empty_keywords_list, + detail::string_keywords< + Elements, + string_keywords, + string_keyword_indexes, + flags_type, + Modifiers> + >::type string_keywords_type; - - // Functor which adds all the keywords/subject parser indexes - // collected from the subject kwd directives to the keyword tst parser - template< typename Sequence > - struct keyword_entry_adder + keywords(Elements const& elements_) : + elements(elements_) + , string_keywords_inst(elements,flags_init) + , complex_keywords_inst(elements,flags_init) { - typedef int result_type; - - keyword_entry_adder(shared_ptr<keywords_type> lookup,flags_type &flags) : - lookup(lookup) - ,flags(flags) - {} - - typedef typename fusion::result_of::begin< Sequence >::type sequence_begin; - - template <typename T> - int operator()(const int i, const T &parser) const - { - // Determine the current position being handled - typedef typename fusion::result_of::distance< sequence_begin, T >::type position_raw; - // Transform the position to a parser index tag - typedef typename mpl::integral_c<int,position_raw::value> position; - - return call(i,fusion::deref(parser),position()); } - template <typename T, typename Position, typename Action> - int call( const int i, const spirit::qi::action<T,Action> &parser, const Position position ) const - { - - // Make the keyword/parse index entry in the tst parser - lookup->add( - traits::get_begin<char_type>(parser.subject.keyword.str), - traits::get_end<char_type>(parser.subject.keyword.str), - position - ); - // Get the initial state of the flags array and store it in the flags initializer - flags[Position::value]=parser.subject.iter.flag_init(); - return 0; - } - - template <typename T, typename Position> - int call( const int i, const T & parser, const Position position) const - { - // Make the keyword/parse index entry in the tst parser - lookup->add( - traits::get_begin<char_type>(parser.keyword.str), - traits::get_end<char_type>(parser.keyword.str), - position - ); - // Get the initial state of the flags array and store it in the flags initializer - flags[Position::value]=parser.iter.flag_init(); - return 0; - } - - template <typename T, typename Position> - int call( const int i, const spirit::qi::hold_directive<T> & parser, const Position position) const - { - // Make the keyword/parse index entry in the tst parser - lookup->add( - traits::get_begin<char_type>(parser.subject.keyword.str), - traits::get_end<char_type>(parser.subject.keyword.str), - position - ); - // Get the initial state of the flags array and store it in the flags initializer - flags[Position::value]=parser.subject.iter.flag_init(); - return 0; - } - - - shared_ptr<keywords_type> lookup; - flags_type & flags; - }; - - - keywords(Elements const& elements) : - elements(elements) - , lookup(new keywords_type()) - { - // Loop through all the subject parsers to build the keyword parser symbol parser - keyword_entry_adder<Elements> f1(lookup,flags_init); - fusion::iter_fold(this->elements,0,f1); - } - template <typename Iterator, typename Context , typename Skipper, typename Attribute> bool parse(Iterator& first, Iterator const& last @@ -434,7 +218,7 @@ namespace boost { namespace spirit { namespace repository { namespace qi // We need to handle the case where kwd / ikwd directives have been mixed // This is where we decide which function should be called. return parse_impl(first, last, context, skipper, attr_, - typename mpl::or_<all_directives_of_same_type, no_case>::type() + typename string_keywords_type::requires_one_pass() ); } @@ -442,7 +226,7 @@ namespace boost { namespace spirit { namespace repository { namespace qi , typename Skipper, typename Attribute> bool parse_impl(Iterator& first, Iterator const& last , Context& context, Skipper const& skipper - , Attribute& attr_,mpl::true_ /* no ikwd */) const + , Attribute& attr_,mpl::true_ /* one pass */) const { // wrap the attribute in a tuple if it is not a tuple @@ -458,10 +242,16 @@ namespace boost { namespace spirit { namespace repository { namespace qi , flags_type, counters_type , typename traits::wrap_if_not_tuple<Attribute>::type , mpl::false_ > parser_visitor_type; + parser_visitor_type parse_visitor(elements, first, last , context, skipper, flags , counters, attr); + typedef repository::qi::detail::complex_kwd_function< parser_visitor_type > complex_kwd_function_type; + + complex_kwd_function_type + complex_function(first,last,context,skipper,parse_visitor); + // We have a bool array 'flags' with one flag for each parser as well as a 'counter' // array. // The kwd directive sets and increments the counter when a successeful parse occured @@ -471,35 +261,36 @@ namespace boost { namespace spirit { namespace repository { namespace qi // The parsing takes place here in two steps: // 1) parse a keyword and fetch the parser index associated with that keyword // 2) call the associated parser and store the parsed value in the matching attribute. - Iterator save = first; + while(true) { spirit::qi::skip_over(first, last, skipper); - if (parser_index_type* val_ptr - = lookup->find(first, last, filter_type())) + Iterator save = first; + if (string_keywords_inst.parse(first, last,parse_visitor,skipper)) { - spirit::qi::skip_over(first, last, skipper); - if(!apply_visitor(parse_visitor,*val_ptr)){ - first = save; - return false; - } save = first; } - else + else { + // restore the position to the last successful keyword parse + first = save; + if(!complex_keywords_inst.parse(complex_function)) { + first = save; // Check that we are leaving the keywords parser in a successfull state BOOST_FOREACH(bool &valid,flags) { if(!valid) { - first = save; return false; } } return true; } + else + save = first; } + } return false; } @@ -508,7 +299,7 @@ namespace boost { namespace spirit { namespace repository { namespace qi , typename Skipper, typename Attribute> bool parse_impl(Iterator& first, Iterator const& last , Context& context, Skipper const& skipper - , Attribute& attr_,mpl::false_) const + , Attribute& attr_,mpl::false_ /* two passes */) const { // wrap the attribute in a tuple if it is not a tuple @@ -536,6 +327,12 @@ namespace boost { namespace spirit { namespace repository { namespace qi no_case_parser_visitor_type no_case_parse_visitor(elements,first,last ,context,skipper,flags,counters,attr); + typedef repository::qi::detail::complex_kwd_function< parser_visitor_type > complex_kwd_function_type; + + complex_kwd_function_type + complex_function(first,last,context,skipper,parse_visitor); + + // We have a bool array 'flags' with one flag for each parser as well as a 'counter' // array. // The kwd directive sets and increments the counter when a successeful parse occured @@ -545,47 +342,37 @@ namespace boost { namespace spirit { namespace repository { namespace qi // The parsing takes place here in two steps: // 1) parse a keyword and fetch the parser index associated with that keyword // 2) call the associated parser and store the parsed value in the matching attribute. - Iterator save = first; + while(true) { spirit::qi::skip_over(first, last, skipper); - // First pass case sensitive - Iterator saved_first = first; - if (parser_index_type* val_ptr - = lookup->find(first, last, spirit::qi::tst_pass_through())) + Iterator save = first; + // String keywords pass + if (string_keywords_inst.parse(first,last,parse_visitor,no_case_parse_visitor,skipper)) { - spirit::qi::skip_over(first, last, skipper); - if(!apply_visitor(parse_visitor,*val_ptr)){ - first = save; - return false; - } save = first; } - // Second pass case insensitive - else if(parser_index_type* val_ptr - = lookup->find(saved_first,last,nc_filter())) + else { + first = save; + + if(!complex_keywords_inst.parse(complex_function)) { - first = saved_first; - spirit::qi::skip_over(first, last, skipper); - if(!apply_visitor(no_case_parse_visitor,*val_ptr)){ first = save; - return false; - } - save = first; - } - else - { // Check that we are leaving the keywords parser in a successfull state BOOST_FOREACH(bool &valid,flags) { if(!valid) { - first = save; return false; } } return true; } + else + { + save = first; + } + } } return false; } @@ -600,7 +387,8 @@ namespace boost { namespace spirit { namespace repository { namespace qi } flags_type flags_init; Elements elements; - shared_ptr<keywords_type> lookup; + string_keywords_type string_keywords_inst; + complex_keywords_type complex_keywords_inst; }; }}}} @@ -634,6 +422,14 @@ namespace boost { namespace spirit { namespace traits template <typename Elements, typename Modifiers> struct has_semantic_action<repository::qi::keywords<Elements, Modifiers> > : nary_has_semantic_action<Elements> {}; + + template <typename Elements, typename Attribute, typename Context + , typename Iterator, typename Modifiers> + struct handles_container<repository::qi::keywords<Elements,Modifiers>, Attribute + , Context, Iterator> + : nary_handles_container<Elements, Attribute, Context, Iterator> {}; + + }}} #endif diff --git a/boost/spirit/repository/home/support/kwd.hpp b/boost/spirit/repository/home/support/kwd.hpp index efe756d3e0..e723cec8c6 100644 --- a/boost/spirit/repository/home/support/kwd.hpp +++ b/boost/spirit/repository/home/support/kwd.hpp @@ -15,7 +15,7 @@ namespace boost { namespace spirit { namespace repository { // The distinct extended terminal - BOOST_SPIRIT_DEFINE_TERMINALS_NAME_EX(( kwd, kwd_type )( ikwd, ikwd_type ) ) + BOOST_SPIRIT_DEFINE_TERMINALS_NAME_EX(( kwd, kwd_type )( ikwd, ikwd_type )(dkwd, dkwd_type)(idkwd, idkwd_type) ) }}} diff --git a/boost/spirit/symbols.hpp b/boost/spirit/symbols.hpp deleted file mode 100644 index df56a65d57..0000000000 --- a/boost/spirit/symbols.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SYMBOLS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SYMBOLS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_symbols.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_symbols.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_symbols.hpp> - -#endif diff --git a/boost/spirit/symbols/symbols.hpp b/boost/spirit/symbols/symbols.hpp deleted file mode 100644 index df56a65d57..0000000000 --- a/boost/spirit/symbols/symbols.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SYMBOLS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SYMBOLS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_symbols.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_symbols.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_symbols.hpp> - -#endif diff --git a/boost/spirit/symbols/symbols_fwd.hpp b/boost/spirit/symbols/symbols_fwd.hpp deleted file mode 100644 index 930f86b44e..0000000000 --- a/boost/spirit/symbols/symbols_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SYMBOLS_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SYMBOLS_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_symbols_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_symbols_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_symbols_fwd.hpp> - -#endif diff --git a/boost/spirit/symbols/typeof.hpp b/boost/spirit/symbols/typeof.hpp deleted file mode 100644 index 07c6b33239..0000000000 --- a/boost/spirit/symbols/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_SYMBOLS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_SYMBOLS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/tree/ast.hpp b/boost/spirit/tree/ast.hpp deleted file mode 100644 index 416b10f6ef..0000000000 --- a/boost/spirit/tree/ast.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_AST -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_AST - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_ast.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_ast.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_ast.hpp> - -#endif diff --git a/boost/spirit/tree/ast_fwd.hpp b/boost/spirit/tree/ast_fwd.hpp deleted file mode 100644 index 7b978d1278..0000000000 --- a/boost/spirit/tree/ast_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_AST_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_AST_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_ast_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_ast_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_ast_fwd.hpp> - -#endif diff --git a/boost/spirit/tree/common.hpp b/boost/spirit/tree/common.hpp deleted file mode 100644 index 7555b4dbfd..0000000000 --- a/boost/spirit/tree/common.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_COMMON -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_COMMON - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_common.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_common.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_common.hpp> - -#endif diff --git a/boost/spirit/tree/common_fwd.hpp b/boost/spirit/tree/common_fwd.hpp deleted file mode 100644 index 039b3b0d8d..0000000000 --- a/boost/spirit/tree/common_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_COMMON_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_COMMON_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_common_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_common_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_common_fwd.hpp> - -#endif diff --git a/boost/spirit/tree/parse_tree.hpp b/boost/spirit/tree/parse_tree.hpp deleted file mode 100644 index ef8c5d4734..0000000000 --- a/boost/spirit/tree/parse_tree.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSE_TREE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSE_TREE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parse_tree.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parse_tree.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parse_tree.hpp> - -#endif diff --git a/boost/spirit/tree/parse_tree_fwd.hpp b/boost/spirit/tree/parse_tree_fwd.hpp deleted file mode 100644 index 8330731711..0000000000 --- a/boost/spirit/tree/parse_tree_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSE_TREE_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSE_TREE_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parse_tree_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parse_tree_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parse_tree_fwd.hpp> - -#endif diff --git a/boost/spirit/tree/parse_tree_utils.hpp b/boost/spirit/tree/parse_tree_utils.hpp deleted file mode 100644 index 6df07fd96e..0000000000 --- a/boost/spirit/tree/parse_tree_utils.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSE_TREE_UTILS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_PARSE_TREE_UTILS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_parse_tree_utils.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_parse_tree_utils.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_parse_tree_utils.hpp> - -#endif diff --git a/boost/spirit/tree/parsetree.dtd b/boost/spirit/tree/parsetree.dtd deleted file mode 100644 index 9d847c746c..0000000000 --- a/boost/spirit/tree/parsetree.dtd +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- This DTD is used for the output of Spirit parse tree's through --> -<!-- the boost::spirit::tree_to_xml functions. --> -<!-- Copyright (c) 2001-2007 Hartmut Kaiser --> -<!-- Distribution 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) --> -<!ELEMENT parsetree (parsenode)> -<!ATTLIST parsetree - version CDATA "1.0" -> -<!ELEMENT parsenode ((value | token)?, parsenode*)> -<!ATTLIST parsenode - rule CDATA #IMPLIED -> -<!ELEMENT value (#PCDATA | token)*> -<!ELEMENT token (#PCDATA)> -<!ATTLIST token - id CDATA #REQUIRED - is_root CDATA "0" -> diff --git a/boost/spirit/tree/tree_to_xml.hpp b/boost/spirit/tree/tree_to_xml.hpp deleted file mode 100644 index c4dece8ce2..0000000000 --- a/boost/spirit/tree/tree_to_xml.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TREE_TO_XML -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TREE_TO_XML - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_tree_to_xml.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_tree_to_xml.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_tree_to_xml.hpp> - -#endif diff --git a/boost/spirit/tree/typeof.hpp b/boost/spirit/tree/typeof.hpp deleted file mode 100644 index fd46ee3dc4..0000000000 --- a/boost/spirit/tree/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_TREE -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_TREE - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif diff --git a/boost/spirit/utility.hpp b/boost/spirit/utility.hpp deleted file mode 100644 index 1aa7fbc58f..0000000000 --- a/boost/spirit/utility.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_UTILITY -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_UTILITY - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_utility.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_utility.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_utility.hpp> - -#endif diff --git a/boost/spirit/utility/chset.hpp b/boost/spirit/utility/chset.hpp deleted file mode 100644 index 8c8c188316..0000000000 --- a/boost/spirit/utility/chset.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CHSET -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CHSET - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_chset.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_chset.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_chset.hpp> - -#endif diff --git a/boost/spirit/utility/chset_operators.hpp b/boost/spirit/utility/chset_operators.hpp deleted file mode 100644 index a4e2dd0a70..0000000000 --- a/boost/spirit/utility/chset_operators.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CHSET_OPERATORS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CHSET_OPERATORS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_chset_operators.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_chset_operators.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_chset_operators.hpp> - -#endif diff --git a/boost/spirit/utility/confix.hpp b/boost/spirit/utility/confix.hpp deleted file mode 100644 index c7f9f76e34..0000000000 --- a/boost/spirit/utility/confix.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CONFIX -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CONFIX - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_confix.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_confix.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_confix.hpp> - -#endif diff --git a/boost/spirit/utility/confix_fwd.hpp b/boost/spirit/utility/confix_fwd.hpp deleted file mode 100644 index 5ae89079e2..0000000000 --- a/boost/spirit/utility/confix_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_CONFIX_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_CONFIX_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_confix_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_confix_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_confix_fwd.hpp> - -#endif diff --git a/boost/spirit/utility/distinct.hpp b/boost/spirit/utility/distinct.hpp deleted file mode 100644 index 201034ea0b..0000000000 --- a/boost/spirit/utility/distinct.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_DISTINCT -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_DISTINCT - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_distinct.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_distinct.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_distinct.hpp> - -#endif diff --git a/boost/spirit/utility/distinct_fwd.hpp b/boost/spirit/utility/distinct_fwd.hpp deleted file mode 100644 index b3a68859a1..0000000000 --- a/boost/spirit/utility/distinct_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_DISTINCT_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_DISTINCT_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_distinct_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_distinct_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_distinct_fwd.hpp> - -#endif diff --git a/boost/spirit/utility/escape_char.hpp b/boost/spirit/utility/escape_char.hpp deleted file mode 100644 index 8b7374da58..0000000000 --- a/boost/spirit/utility/escape_char.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ESCAPE_CHAR -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ESCAPE_CHAR - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_escape_char.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_escape_char.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_escape_char.hpp> - -#endif diff --git a/boost/spirit/utility/escape_char_fwd.hpp b/boost/spirit/utility/escape_char_fwd.hpp deleted file mode 100644 index 0db9cb9287..0000000000 --- a/boost/spirit/utility/escape_char_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_ESCAPE_CHAR_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_ESCAPE_CHAR_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_escape_char_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_escape_char_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_escape_char_fwd.hpp> - -#endif diff --git a/boost/spirit/utility/flush_multi_pass.hpp b/boost/spirit/utility/flush_multi_pass.hpp deleted file mode 100644 index 4d61fe0806..0000000000 --- a/boost/spirit/utility/flush_multi_pass.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_FLUSH_MULTI_PASS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_FLUSH_MULTI_PASS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_flush_multi_pass.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_flush_multi_pass.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_flush_multi_pass.hpp> - -#endif diff --git a/boost/spirit/utility/functor_parser.hpp b/boost/spirit/utility/functor_parser.hpp deleted file mode 100644 index 3112ea2f62..0000000000 --- a/boost/spirit/utility/functor_parser.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_FUNCTOR_PARSER -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_FUNCTOR_PARSER - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_functor_parser.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_functor_parser.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_functor_parser.hpp> - -#endif diff --git a/boost/spirit/utility/grammar_def.hpp b/boost/spirit/utility/grammar_def.hpp deleted file mode 100644 index fbb7c55299..0000000000 --- a/boost/spirit/utility/grammar_def.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_GRAMMAR_DEF -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_GRAMMAR_DEF - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_grammar_def.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_grammar_def.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_grammar_def.hpp> - -#endif diff --git a/boost/spirit/utility/grammar_def_fwd.hpp b/boost/spirit/utility/grammar_def_fwd.hpp deleted file mode 100644 index 54f64d2d17..0000000000 --- a/boost/spirit/utility/grammar_def_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_GRAMMAR_DEF_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_GRAMMAR_DEF_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_grammar_def_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_grammar_def_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_grammar_def_fwd.hpp> - -#endif diff --git a/boost/spirit/utility/lists.hpp b/boost/spirit/utility/lists.hpp deleted file mode 100644 index 9234263c10..0000000000 --- a/boost/spirit/utility/lists.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_LISTS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_LISTS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_lists.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_lists.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_lists.hpp> - -#endif diff --git a/boost/spirit/utility/lists_fwd.hpp b/boost/spirit/utility/lists_fwd.hpp deleted file mode 100644 index d256e5e200..0000000000 --- a/boost/spirit/utility/lists_fwd.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_LISTS_FWD -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_LISTS_FWD - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_lists_fwd.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_lists_fwd.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_lists_fwd.hpp> - -#endif diff --git a/boost/spirit/utility/loops.hpp b/boost/spirit/utility/loops.hpp deleted file mode 100644 index 562e71b602..0000000000 --- a/boost/spirit/utility/loops.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_LOOPS -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_LOOPS - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_loops.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_loops.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_loops.hpp> - -#endif diff --git a/boost/spirit/utility/regex.hpp b/boost/spirit/utility/regex.hpp deleted file mode 100644 index c612c13a26..0000000000 --- a/boost/spirit/utility/regex.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_REGEX -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_REGEX - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_regex.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_regex.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_regex.hpp> - -#endif diff --git a/boost/spirit/utility/rule_parser.hpp b/boost/spirit/utility/rule_parser.hpp deleted file mode 100644 index 77bdeb1841..0000000000 --- a/boost/spirit/utility/rule_parser.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_RULE_PARSER -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_RULE_PARSER - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_rule_parser.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_rule_parser.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_rule_parser.hpp> - -#endif diff --git a/boost/spirit/utility/scoped_lock.hpp b/boost/spirit/utility/scoped_lock.hpp deleted file mode 100644 index 6327f68f8f..0000000000 --- a/boost/spirit/utility/scoped_lock.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SCOPED_LOCK -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_SCOPED_LOCK - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_scoped_lock.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_scoped_lock.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_scoped_lock.hpp> - -#endif diff --git a/boost/spirit/utility/typeof.hpp b/boost/spirit/utility/typeof.hpp deleted file mode 100644 index f2044bfc21..0000000000 --- a/boost/spirit/utility/typeof.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2008 Joel de Guzman - Copyright (c) 2001-2008 Hartmut Kaiser - http://spirit.sourceforge.net/ - - 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) -=============================================================================*/ -#ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_UTILITY -#define BOOST_SPIRIT_DEPRECATED_INCLUDE_TYPEOF_UTILITY - -#include <boost/version.hpp> - -#if BOOST_VERSION >= 103800 -#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) -# pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp") -#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) -# warning "This header is deprecated. Please use: boost/spirit/include/classic_typeof.hpp" -#endif -#endif - -#if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) -#define BOOST_SPIRIT_USE_OLD_NAMESPACE -#endif -#include <boost/spirit/include/classic_typeof.hpp> - -#endif |