Now you can say:
#define A B
#define B C
#define C 4
int x = A;
And it will work as expected.
Print an error message rather than assert when we're expecting a
function value, but don't find one.
10 lines
139 B
C
10 lines
139 B
C
#define A B + B
|
|
#define B C
|
|
|
|
int main() {
|
|
int C = 3;
|
|
printf("A = %d\n", A);
|
|
#define C 5
|
|
printf("A = %d\n", A);
|
|
return 0;
|
|
}
|