mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-15 21:42:08 +02:00
bug fixes, and filename support
[SVN r14207]
This commit is contained in:
@ -8,16 +8,21 @@
|
|||||||
# * *
|
# * *
|
||||||
# ************************************************************************** */
|
# ************************************************************************** */
|
||||||
#
|
#
|
||||||
# ifndef BOOST_PP_FILENAME_1
|
|
||||||
# error BOOST_PP: depth #1 filename is not defined
|
|
||||||
# endif
|
|
||||||
#
|
|
||||||
# ifdef BOOST_PP_ITERATION_LIMITS
|
# ifdef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# ifndef BOOST_PP_FILENAME_1
|
||||||
|
# error BOOST_PP: depth #1 filename is not defined
|
||||||
|
# endif
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_START()
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_FINISH()
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
# undef BOOST_PP_ITERATION_LIMITS
|
# undef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# elif defined(BOOST_PP_ITERATION_PARAMS_1)
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 0, BOOST_PP_ITERATION_PARAMS_1)
|
||||||
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 1, BOOST_PP_ITERATION_PARAMS_1)
|
||||||
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
|
# define BOOST_PP_FILENAME_1 BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_ITERATION_PARAMS_1)
|
||||||
# else
|
# else
|
||||||
# error BOOST_PP: depth #1 iterations boundaries not defined
|
# error BOOST_PP: depth #1 iterations boundaries not defined
|
||||||
# endif
|
# endif
|
||||||
@ -1326,4 +1331,8 @@
|
|||||||
# undef BOOST_PP_ITERATION_DEPTH
|
# undef BOOST_PP_ITERATION_DEPTH
|
||||||
# define BOOST_PP_ITERATION_DEPTH() 0
|
# define BOOST_PP_ITERATION_DEPTH() 0
|
||||||
#
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_START_1
|
||||||
|
# undef BOOST_PP_ITERATION_FINISH_1
|
||||||
# undef BOOST_PP_FILENAME_1
|
# undef BOOST_PP_FILENAME_1
|
||||||
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_PARAMS_1
|
||||||
|
@ -8,16 +8,21 @@
|
|||||||
# * *
|
# * *
|
||||||
# ************************************************************************** */
|
# ************************************************************************** */
|
||||||
#
|
#
|
||||||
# ifndef BOOST_PP_FILENAME_2
|
|
||||||
# error BOOST_PP: depth #2 filename is not defined
|
|
||||||
# endif
|
|
||||||
#
|
|
||||||
# ifdef BOOST_PP_ITERATION_LIMITS
|
# ifdef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# ifndef BOOST_PP_FILENAME_2
|
||||||
|
# error BOOST_PP: depth #2 filename is not defined
|
||||||
|
# endif
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_START()
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_FINISH()
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
# undef BOOST_PP_ITERATION_LIMITS
|
# undef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# elif defined(BOOST_PP_ITERATION_PARAMS_2)
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 0, BOOST_PP_ITERATION_PARAMS_2)
|
||||||
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 1, BOOST_PP_ITERATION_PARAMS_2)
|
||||||
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
|
# define BOOST_PP_FILENAME_2 BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_ITERATION_PARAMS_2)
|
||||||
# else
|
# else
|
||||||
# error BOOST_PP: depth #2 iterations boundaries not defined
|
# error BOOST_PP: depth #2 iterations boundaries not defined
|
||||||
# endif
|
# endif
|
||||||
@ -1322,4 +1327,8 @@
|
|||||||
# undef BOOST_PP_ITERATION_DEPTH
|
# undef BOOST_PP_ITERATION_DEPTH
|
||||||
# define BOOST_PP_ITERATION_DEPTH() 1
|
# define BOOST_PP_ITERATION_DEPTH() 1
|
||||||
#
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_START_2
|
||||||
|
# undef BOOST_PP_ITERATION_FINISH_2
|
||||||
# undef BOOST_PP_FILENAME_2
|
# undef BOOST_PP_FILENAME_2
|
||||||
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_PARAMS_2
|
||||||
|
@ -8,16 +8,21 @@
|
|||||||
# * *
|
# * *
|
||||||
# ************************************************************************** */
|
# ************************************************************************** */
|
||||||
#
|
#
|
||||||
# ifndef BOOST_PP_FILENAME_3
|
|
||||||
# error BOOST_PP: depth #3 filename is not defined
|
|
||||||
# endif
|
|
||||||
#
|
|
||||||
# ifdef BOOST_PP_ITERATION_LIMITS
|
# ifdef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# ifndef BOOST_PP_FILENAME_3
|
||||||
|
# error BOOST_PP: depth #3 filename is not defined
|
||||||
|
# endif
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_START()
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_FINISH()
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
# undef BOOST_PP_ITERATION_LIMITS
|
# undef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# elif defined(BOOST_PP_ITERATION_PARAMS_3)
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 0, BOOST_PP_ITERATION_PARAMS_3)
|
||||||
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 1, BOOST_PP_ITERATION_PARAMS_3)
|
||||||
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
|
# define BOOST_PP_FILENAME_3 BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_ITERATION_PARAMS_3)
|
||||||
# else
|
# else
|
||||||
# error BOOST_PP: depth #3 iterations boundaries not defined
|
# error BOOST_PP: depth #3 iterations boundaries not defined
|
||||||
# endif
|
# endif
|
||||||
@ -1322,4 +1327,8 @@
|
|||||||
# undef BOOST_PP_ITERATION_DEPTH
|
# undef BOOST_PP_ITERATION_DEPTH
|
||||||
# define BOOST_PP_ITERATION_DEPTH() 2
|
# define BOOST_PP_ITERATION_DEPTH() 2
|
||||||
#
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_START_3
|
||||||
|
# undef BOOST_PP_ITERATION_FINISH_3
|
||||||
# undef BOOST_PP_FILENAME_3
|
# undef BOOST_PP_FILENAME_3
|
||||||
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_PARAMS_3
|
||||||
|
@ -8,16 +8,21 @@
|
|||||||
# * *
|
# * *
|
||||||
# ************************************************************************** */
|
# ************************************************************************** */
|
||||||
#
|
#
|
||||||
# ifndef BOOST_PP_FILENAME_4
|
|
||||||
# error BOOST_PP: depth #4 filename is not defined
|
|
||||||
# endif
|
|
||||||
#
|
|
||||||
# ifdef BOOST_PP_ITERATION_LIMITS
|
# ifdef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# ifndef BOOST_PP_FILENAME_4
|
||||||
|
# error BOOST_PP: depth #4 filename is not defined
|
||||||
|
# endif
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_START()
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_FINISH()
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
# undef BOOST_PP_ITERATION_LIMITS
|
# undef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# elif defined(BOOST_PP_ITERATION_PARAMS_4)
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 0, BOOST_PP_ITERATION_PARAMS_4)
|
||||||
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 1, BOOST_PP_ITERATION_PARAMS_4)
|
||||||
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
|
# define BOOST_PP_FILENAME_4 BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_ITERATION_PARAMS_4)
|
||||||
# else
|
# else
|
||||||
# error BOOST_PP: depth #4 iterations boundaries not defined
|
# error BOOST_PP: depth #4 iterations boundaries not defined
|
||||||
# endif
|
# endif
|
||||||
@ -1322,4 +1327,8 @@
|
|||||||
# undef BOOST_PP_ITERATION_DEPTH
|
# undef BOOST_PP_ITERATION_DEPTH
|
||||||
# define BOOST_PP_ITERATION_DEPTH() 3
|
# define BOOST_PP_ITERATION_DEPTH() 3
|
||||||
#
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_START_4
|
||||||
|
# undef BOOST_PP_ITERATION_FINISH_4
|
||||||
# undef BOOST_PP_FILENAME_4
|
# undef BOOST_PP_FILENAME_4
|
||||||
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_PARAMS_4
|
||||||
|
@ -8,16 +8,21 @@
|
|||||||
# * *
|
# * *
|
||||||
# ************************************************************************** */
|
# ************************************************************************** */
|
||||||
#
|
#
|
||||||
# ifndef BOOST_PP_FILENAME_5
|
|
||||||
# error BOOST_PP: depth #5 filename is not defined
|
|
||||||
# endif
|
|
||||||
#
|
|
||||||
# ifdef BOOST_PP_ITERATION_LIMITS
|
# ifdef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# ifndef BOOST_PP_FILENAME_5
|
||||||
|
# error BOOST_PP: depth #5 filename is not defined
|
||||||
|
# endif
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_START()
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
||||||
# include BOOST_PP_SET_ITERATION_FINISH()
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
# undef BOOST_PP_ITERATION_LIMITS
|
# undef BOOST_PP_ITERATION_LIMITS
|
||||||
|
# elif defined(BOOST_PP_ITERATION_PARAMS_5)
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 0, BOOST_PP_ITERATION_PARAMS_5)
|
||||||
|
# include BOOST_PP_SET_ITERATION_START()
|
||||||
|
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(3, 1, BOOST_PP_ITERATION_PARAMS_5)
|
||||||
|
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||||
|
# define BOOST_PP_FILENAME_5 BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_ITERATION_PARAMS_5)
|
||||||
# else
|
# else
|
||||||
# error BOOST_PP: depth #5 iterations boundaries not defined
|
# error BOOST_PP: depth #5 iterations boundaries not defined
|
||||||
# endif
|
# endif
|
||||||
@ -1322,4 +1327,8 @@
|
|||||||
# undef BOOST_PP_ITERATION_DEPTH
|
# undef BOOST_PP_ITERATION_DEPTH
|
||||||
# define BOOST_PP_ITERATION_DEPTH() 4
|
# define BOOST_PP_ITERATION_DEPTH() 4
|
||||||
#
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_START_5
|
||||||
|
# undef BOOST_PP_ITERATION_FINISH_5
|
||||||
# undef BOOST_PP_FILENAME_5
|
# undef BOOST_PP_FILENAME_5
|
||||||
|
#
|
||||||
|
# undef BOOST_PP_ITERATION_PARAMS_5
|
||||||
|
Reference in New Issue
Block a user