object-like macro replacement working?

This commit is contained in:
pommicket 2022-01-09 00:08:29 -05:00
parent 4d5a5d9d97
commit 807a6aacf9
3 changed files with 76 additions and 27 deletions

View file

@ -1,22 +1,10 @@
-#include <stdio.h>
#define B A C A B A
#define A helo what
#define C how is it going
int test(int, double, ...);\
/* here is a nice
comment it is
here
*/
#
#define A(_Hello, there, everyone ) 33 + _Hello - everyone * there
#define B(x, y, z) 58
#define C(hello) hello * hello + hello / hello
#define A 22
#define C 33
#define _Hello_there5 -76 + sqrt(A)
int main(void) {
printf("\"Hello, world!%c\n\"", '\'');
_X55 = Y4_C_;
a.b = c;
5 + (.3e+5+6) & 0xff | 93 -~5;
return 0;
}
#define _Hello_there 18
#define D E
#define E D
B !
D
E