3 #define SPLICE(a, b) INNER_SPLICE(a, b)
4 #define INNER_SPLICE(a, b) a ## b
5 #define STRINGIFY(a) INNER_STRINGIFY(a)
6 #define INNER_STRINGIFY(a) #a
10 #define FORTY_EIGHT 48
25 #define addr fields.fault.addr
27 /* A macro named UNTIL_<func> is #defined until just before the
28 definition of the function <func>.
30 A macro named BEFORE_<func> is not #defined until just before the
33 The macro WHERE is redefined before each function <func> to the
34 token list ``before <func>''.
36 The macscp IN_MACSCP2_H and IN_MACSCP3_H are defined while
37 processing those header files; macscp4.h uses them to choose
38 appropriate function names, output strings, and macro definitions. */
40 #define UNTIL_MACSCP1_1
41 #define UNTIL_MACSCP2_1
42 #define UNTIL_MACSCP4_1_FROM_MACSCP2
43 #define UNTIL_MACSCP4_2_FROM_MACSCP2
44 #define UNTIL_MACSCP2_2
45 #define UNTIL_MACSCP1_2
46 #define UNTIL_MACSCP3_1
47 #define UNTIL_MACSCP4_1_FROM_MACSCP3
48 #define UNTIL_MACSCP4_2_FROM_MACSCP3
49 #define UNTIL_MACSCP3_2
50 #define UNTIL_MACSCP1_3
52 #define WHERE before macscp1_1
53 #define BEFORE_MACSCP1_1
54 #undef UNTIL_MACSCP1_1
64 #define WHERE before macscp1_2
65 #define BEFORE_MACSCP1_2
66 #undef UNTIL_MACSCP1_2
76 #define WHERE before macscp1_3
77 #define BEFORE_MACSCP1_3
78 #undef UNTIL_MACSCP1_3
90 foo
= 0; /* set breakpoint here */
91 #define MACRO_TO_EXPAND foo
92 foo
= 1; /* set second breakpoint here */
93 #undef MACRO_TO_EXPAND
94 foo
= 2; /* stopping point for line test */
97 #define TWENTY_THREE 23
100 main (int argc
, char **argv
)
104 macscp4_1_from_macscp2 ();
105 macscp4_2_from_macscp2 ();
109 macscp4_1_from_macscp3 ();
110 macscp4_2_from_macscp3 ();