mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 21:21:14 +00:00
This seems to do the right thing, and my test case (copied from the C spec) passes finally.
10 lines
166 B
R
10 lines
166 B
R
#define LPAREN() (
|
|
#define G(Q) 42
|
|
#define F(R, X, ...) __VA_OPT__(G R X) )
|
|
int x = F(LPAREN(), 0, <:-); // replaced by int x = 42;
|
|
|
|
int
|
|
main ()
|
|
{
|
|
return x != 42;
|
|
}
|