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 committed 2002-01-22 13:38:55 +00:00
1 parent 0724dd58dc
commit cf2315ddea
6 files changed
+83 -66

No files matched your search

+9 -1
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