Removed replacement rescan from tests.

Made requirements for BOOST_PP_CAT and BOOST_PP_STRINGIZE stronger.


[SVN r12440]
This commit is contained in:
Vesa Karvonen
2002-01-22 13:38:55 +00:00
parent 0724dd58dc
commit cf2315ddea
6 changed files with 83 additions and 66 deletions

View File

@ -14,5 +14,13 @@
#include <boost/preprocessor/cat.hpp>
#define TEST(C) typedef int BOOST_PP_CAT(test_,__LINE__)[((C)==1) ? 1 : -1];
// The TEST macro has been broken into two pieces to avoid
// double expansion:
// 1. as a macro argument
// 2. rescan
#define TEST_B typedef int BOOST_PP_CAT(test_,__LINE__)[((
#define TEST_E )==1) ? 1 : -1];
#define MACRO(X) X
#define MACRO_ARGS(X) (X)
#endif