cfad47cfa3/t3compiler/tads3/test/data/macro_if.t

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
//#define IfnG(glb, args...) \
2
    if (args#ifempty#!#glb##Global.prop##glb args#ifnempty# != args#)
3
4
#define IfnG(glb, args...) \
5
    if (IfnG1(args)glb##Global.prop##glb IfnG2(args))
6
#define IfnG1(args...) args#ifempty#!#
7
#define IfnG2(args...) args#ifnempty# != args#
8
9
10
//#define IfnG(glb, args...) \
11
//    if (args#ifempty#!#IfnGVar(glb)args#ifnempty# != args#)
12
13
//#define IfnGVar(glb) \
14
//    glb##Global.prop##glb
15
16
17
IfnG(Debug);
18
19
IfnG(Debug, a, b);
20