forked from boostorg/preprocessor
bug fixes, and filename support
[SVN r14207]
This commit is contained in:
@ -8,16 +8,21 @@
|
||||
# * *
|
||||
# ************************************************************************** */
|
||||
#
|
||||
# ifndef BOOST_PP_FILENAME_3
|
||||
# error BOOST_PP: depth #3 filename is not defined
|
||||
# endif
|
||||
#
|
||||
# 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)
|
||||
# include BOOST_PP_SET_ITERATION_START()
|
||||
# define BOOST_PP_ITERATION_BOUND BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_ITERATION_LIMITS)
|
||||
# include BOOST_PP_SET_ITERATION_FINISH()
|
||||
# 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
|
||||
# error BOOST_PP: depth #3 iterations boundaries not defined
|
||||
# endif
|
||||
@ -1322,4 +1327,8 @@
|
||||
# undef BOOST_PP_ITERATION_DEPTH
|
||||
# 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_ITERATION_PARAMS_3
|
||||
|
Reference in New Issue
Block a user