-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhe.txt
153 lines (110 loc) · 3.38 KB
/
he.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#define BOB_DEF "MICHEL_LE"
#include "hi.txt"
#include "hi.txt"
#include "hi.txt"
#include "dummy.h"
#include "dummy.h"
#include "dummy.h"
#define HEY(val /*theValue*/,eEnum /* theEnum */ , /*dummyTesterArg*/ vam /*Reaaly, it's a dummy*/) \
g_i = hick(val); g_ret = g_eMult * eEnum; while (g_i >= 0) { \
g_count += g_ret; if(eEnum != e_enum_unknow) { registerGlobalEnumWithVal(eEnum, val); } \
}
int main() {
const char* cb = BOB_DEF;
#ifdef BOB_DEF
int BOB_DEF__isDefined;
#define BOB_DEF__ISDEFINED
#ifdef HE
int HE__isDefined;
#define BOB_DEF__ISDEFINED
#else
#ifdef HEY
int HEY__isDefined;
#define HEY__ISDEFINED
#else
int HEY__isNotAtAllDefined;
#define HEY__ISNOTATALLDEFINED
#endif
int HE__isNotAtAllDefined;
#define HE__ISNOTATALLDEFINED
#endif
#else
#ifdef FRANCIS
int FRANCIS__isDefined;
#define FRANCIS__ISDEFINED
#else
int FRANCIS__isNotAtAllDefined;
#define FRANCIS__ISNOTATALLDEFINED
#endif
// Popped Comment Plz
int BOB_DEF__isNotAtAllDefined;
#define BOB_DEF__ISNOTATALLDEFINED
#endif
#define ASTUCE_DE_GROS(porc) \
do /*doing nothing actually*/ { \
MangerDu(porc); \
} while(FaimDe(porc));
HEY(ho, e, u);
#define WILLITFN(i) ASTUCE_DE_GROS((caca + i))
WILLITFN(3);
#ifdef ASTUCE_DE_GROS
/* Commented stuff */
ASTUCE_DE_GROS(poulet);
#endif
int iValue = 3 + 2;
const char* szLiteralTest = "My fucking literal";
const char* szMultiLineLiteralTest = "My fucking literal \
over multiple lines";
const char* szMultiLineWithEscapedLiteralTest = "My fu\'cking \\\\litera\"l \
over multip\ele lines";
const char* szMultiLineWithEscapedAndWithErrorsLiteralTest = "My fu\'cking \\\\litera\"l \
over multip\ele lines";
#ifdef ASTUCE_DE_GROS
#else
#endif
return 0;
/*
#define TESTNUMBER 3
#define TESTANDER 2
#define MACINC(i) (i + 1)
// #if (TESTNUMBER & MACINC(TESTANDER)) && defined(TESTNUMBER)
// int hey = 3;
// #endif
#define MACSTR 3
#if MACSTR > -1
int valid;
#endif
MACSTR3;
*/
#define S4(i) S1((i)), S1((i)+1), S1((i)+2), S1((i)+3)
#define S16(i) S4((i)), S4((i)+4), S4((i)+8), S4((i)+12)
#define S64(i) S16((i)), S16((i)+16), S16((i)+32), S16((i)+48)
#define S256(i) S64((i)), S64((i)+64), S64((i)+128), S64((i)+192)
#define S1024(i) S256((i)), S256((i)+256), S256((i)+512), S256((i)+768)
const uchar LUT_uchar_numbers[] = {
#define S1(i) i
S4(0)
#undef S1
}
const uchar LUT_uchar_numbers_times_10[] = {
#define S1(i) uchar{10*i},
S4(0)
#undef S1
}
// "( ( 10 > 9 ) && ( 6 == ( 6 && ( 18 * ( 10 == 180 ) ) ) ) )"
#if (0x10 > 15) && ((2 + 4) /* haha */ == \
6 && (18 * 10 =\
= 180))
char Valid_If_Expression = !!if !!true;
#elif 5 & 1
char Valid_Elif_Expression = !!elif !!true;
#else
char Valid_Else_Expression = !!else !!whatever;
#endif
//#define JEAN_FRANCIS
#if defined(JEAN_FRANCIS)
char Valid_If_Defined_JEAN_FRANCIS = TRUE;
#else
char Not_Valid_If_Defined_JEAN_FRANCIS = FALSE;
#endif
}