4 !!LICENCE!! Public Domain
11 there is a bug in the preprocessor (i think) ... the following works
14 unsigned long fs,fd,a;
16 unsigned long _func(unsigned long x,unsigned long y)
23 fs=(_func((fd/a),(_func(2,0x0082c90f))));
26 now if i wrap _func into a macro like this:
28 #define func(x,y) _func(x,y)
32 fs=(func((fd/a),(func(2,0x0082c90f))));
35 i get "Error: `)' expected" on that line. (this is with the snapshot, freshly
36 compiled 5 minutes ago)
39 unsigned long fs,fd,a;
41 unsigned long _func1(unsigned long x,unsigned long y)
48 fs=(_func1((fd/a),(_func1(2,0x0082c90f))));
51 #define func(x,y) _func1(x,y)
55 fs=(func((fd/a),(func(2,0x0082c90f))));
60 printf("it works :)\n");