mirror of
https://github.com/frida/tinycc
synced 2025-01-08 04:52:00 +03:00
19 lines
408 B
C
19 lines
408 B
C
|
// insert a space between two tokens if otherwise they
|
||
|
// would form a single token when read back
|
||
|
|
||
|
#define n(x) x
|
||
|
|
||
|
return (n(long)n(double))d;
|
||
|
return n(A)n(++)n(+)n(B);
|
||
|
return n(A)n(+)n(++)n(B);
|
||
|
return n(A)n(++)n(+)n(+)n(B);
|
||
|
|
||
|
// not a hex float
|
||
|
return n(0x1E)n(-1);
|
||
|
|
||
|
// unlike gcc but correct
|
||
|
XXX: return n(x)+n(x)-n(1)+n(1)-2;
|
||
|
|
||
|
// unlile gcc, but cannot appear in valid C
|
||
|
XXX: return n(x)n(x)n(1)n(2)n(x);
|