]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Boost.Wave: A Standard compliant C++ preprocessor library | |
3 | http://www.boost.org/ | |
4 | ||
5 | Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost | |
6 | Software License, Version 1.0. (See accompanying file | |
7 | LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
8 | =============================================================================*/ | |
9 | ||
10 | // check called hooks during conditional preprocessing | |
11 | //O --skipped_token_hooks | |
12 | ||
13 | #ifdef FOO | |
14 | int foo; | |
15 | #else | |
16 | float foo; | |
17 | #endif | |
18 | ||
19 | #if defined BAR | |
20 | int bar; | |
21 | #elif defined BAR2 | |
22 | float bar; | |
23 | #endif | |
24 | ||
25 | #define BAZ | |
26 | #ifdef BAZ | |
27 | int baz; | |
28 | #else | |
29 | float baz; | |
30 | #endif | |
31 | ||
32 | #if defined BAZ | |
33 | int baz1; | |
34 | #elif defined BAZ | |
35 | float baz1; | |
36 | #endif | |
37 | ||
38 | #ifndef BAZ | |
39 | int baz2; | |
40 | #else | |
41 | float baz2; | |
42 | #endif | |
43 | ||
44 | #if 1 | |
45 | int w1; | |
46 | #elif 1 | |
47 | int w2; | |
48 | #else | |
49 | int w3; | |
50 | #endif | |
51 | ||
52 | #if 0 | |
53 | int x1; | |
54 | #elif 1 | |
55 | int x2; | |
56 | #else | |
57 | int x3; | |
58 | #endif | |
59 | ||
60 | #if 1 | |
61 | int y1; | |
62 | #elif 0 | |
63 | int y2; | |
64 | #else | |
65 | int y3; | |
66 | #endif | |
67 | ||
68 | #if 0 | |
69 | int z1; | |
70 | #elif 0 | |
71 | int z2; | |
72 | #else | |
73 | int z3; | |
74 | #endif | |
75 | ||
76 | //R #line 16 "t_2_020.cpp" | |
77 | //R float foo; | |
78 | //R #line 27 "t_2_020.cpp" | |
79 | //R int baz; | |
80 | //R #line 33 "t_2_020.cpp" | |
81 | //R int baz1; | |
82 | //R #line 41 "t_2_020.cpp" | |
83 | //R float baz2; | |
84 | //R #line 45 "t_2_020.cpp" | |
85 | //R int w1; | |
86 | //R #line 55 "t_2_020.cpp" | |
87 | //R int x2; | |
88 | //R #line 61 "t_2_020.cpp" | |
89 | //R int y1; | |
90 | //R #line 73 "t_2_020.cpp" | |
91 | //R int z3; | |
92 | ||
93 | //H 10: t_2_020.cpp(13): #ifdef | |
94 | //H 11: t_2_020.cpp(13): #ifdef FOO: 0 | |
95 | //H 12: t_2_020.cpp(13): >\n< | |
96 | //H 12: t_2_020.cpp(14): >int< | |
97 | //H 12: t_2_020.cpp(14): > < | |
98 | //H 12: t_2_020.cpp(14): >foo< | |
99 | //H 12: t_2_020.cpp(14): >;< | |
100 | //H 12: t_2_020.cpp(14): >\n< | |
101 | //H 12: t_2_020.cpp(15): >#else< | |
102 | //H 12: t_2_020.cpp(15): >\n< | |
103 | //H 10: t_2_020.cpp(17): #endif | |
104 | //H 12: t_2_020.cpp(17): >#endif< | |
105 | //H 12: t_2_020.cpp(17): >\n< | |
106 | //H 10: t_2_020.cpp(19): #if | |
107 | //H 12: t_2_020.cpp(19): > < | |
108 | //H 11: t_2_020.cpp(19): #if defined BAR: 0 | |
109 | //H 12: t_2_020.cpp(19): >\n< | |
110 | //H 12: t_2_020.cpp(20): >int< | |
111 | //H 12: t_2_020.cpp(20): > < | |
112 | //H 12: t_2_020.cpp(20): >bar< | |
113 | //H 12: t_2_020.cpp(20): >;< | |
114 | //H 12: t_2_020.cpp(20): >\n< | |
115 | //H 10: t_2_020.cpp(21): #elif | |
116 | //H 12: t_2_020.cpp(21): > < | |
117 | //H 11: t_2_020.cpp(21): #elif defined BAR2: 0 | |
118 | //H 12: t_2_020.cpp(21): >\n< | |
119 | //H 12: t_2_020.cpp(22): >float< | |
120 | //H 12: t_2_020.cpp(22): > < | |
121 | //H 12: t_2_020.cpp(22): >bar< | |
122 | //H 12: t_2_020.cpp(22): >;< | |
123 | //H 12: t_2_020.cpp(22): >\n< | |
124 | //H 12: t_2_020.cpp(23): >#endif< | |
125 | //H 12: t_2_020.cpp(23): >\n< | |
126 | //H 10: t_2_020.cpp(25): #define | |
127 | //H 08: t_2_020.cpp(25): BAZ= | |
128 | //H 12: t_2_020.cpp(25): >\n< | |
129 | //H 10: t_2_020.cpp(26): #ifdef | |
130 | //H 11: t_2_020.cpp(26): #ifdef BAZ: 1 | |
131 | //H 12: t_2_020.cpp(26): >\n< | |
132 | //H 10: t_2_020.cpp(28): #else | |
133 | //H 12: t_2_020.cpp(28): >#else< | |
134 | //H 12: t_2_020.cpp(28): >\n< | |
135 | //H 12: t_2_020.cpp(29): >float< | |
136 | //H 12: t_2_020.cpp(29): > < | |
137 | //H 12: t_2_020.cpp(29): >baz< | |
138 | //H 12: t_2_020.cpp(29): >;< | |
139 | //H 12: t_2_020.cpp(29): >\n< | |
140 | //H 12: t_2_020.cpp(30): >#endif< | |
141 | //H 12: t_2_020.cpp(30): >\n< | |
142 | //H 10: t_2_020.cpp(32): #if | |
143 | //H 12: t_2_020.cpp(32): > < | |
144 | //H 11: t_2_020.cpp(32): #if defined BAZ: 1 | |
145 | //H 12: t_2_020.cpp(32): >\n< | |
146 | //H 10: t_2_020.cpp(34): #elif | |
147 | //H 12: t_2_020.cpp(34): > < | |
148 | //H 12: t_2_020.cpp(34): >defined< | |
149 | //H 12: t_2_020.cpp(34): > < | |
150 | //H 12: t_2_020.cpp(34): >BAZ< | |
151 | //H 12: t_2_020.cpp(34): >\n< | |
152 | //H 12: t_2_020.cpp(35): >float< | |
153 | //H 12: t_2_020.cpp(35): > < | |
154 | //H 12: t_2_020.cpp(35): >baz1< | |
155 | //H 12: t_2_020.cpp(35): >;< | |
156 | //H 12: t_2_020.cpp(35): >\n< | |
157 | //H 12: t_2_020.cpp(36): >#endif< | |
158 | //H 12: t_2_020.cpp(36): >\n< | |
159 | //H 10: t_2_020.cpp(38): #ifndef | |
160 | //H 11: t_2_020.cpp(38): #ifndef BAZ: 1 | |
161 | //H 12: t_2_020.cpp(38): >\n< | |
162 | //H 12: t_2_020.cpp(39): >int< | |
163 | //H 12: t_2_020.cpp(39): > < | |
164 | //H 12: t_2_020.cpp(39): >baz2< | |
165 | //H 12: t_2_020.cpp(39): >;< | |
166 | //H 12: t_2_020.cpp(39): >\n< | |
167 | //H 12: t_2_020.cpp(40): >#else< | |
168 | //H 12: t_2_020.cpp(40): >\n< | |
169 | //H 10: t_2_020.cpp(42): #endif | |
170 | //H 12: t_2_020.cpp(42): >#endif< | |
171 | //H 12: t_2_020.cpp(42): >\n< | |
172 | //H 10: t_2_020.cpp(44): #if | |
173 | //H 12: t_2_020.cpp(44): > < | |
174 | //H 11: t_2_020.cpp(44): #if 1: 1 | |
175 | //H 12: t_2_020.cpp(44): >\n< | |
176 | //H 10: t_2_020.cpp(46): #elif | |
177 | //H 12: t_2_020.cpp(46): > < | |
178 | //H 12: t_2_020.cpp(46): >1< | |
179 | //H 12: t_2_020.cpp(46): >\n< | |
180 | //H 12: t_2_020.cpp(47): >int< | |
181 | //H 12: t_2_020.cpp(47): > < | |
182 | //H 12: t_2_020.cpp(47): >w2< | |
183 | //H 12: t_2_020.cpp(47): >;< | |
184 | //H 12: t_2_020.cpp(47): >\n< | |
185 | //H 12: t_2_020.cpp(48): >#else< | |
186 | //H 12: t_2_020.cpp(48): >\n< | |
187 | //H 12: t_2_020.cpp(49): >int< | |
188 | //H 12: t_2_020.cpp(49): > < | |
189 | //H 12: t_2_020.cpp(49): >w3< | |
190 | //H 12: t_2_020.cpp(49): >;< | |
191 | //H 12: t_2_020.cpp(49): >\n< | |
192 | //H 12: t_2_020.cpp(50): >#endif< | |
193 | //H 12: t_2_020.cpp(50): >\n< | |
194 | //H 10: t_2_020.cpp(52): #if | |
195 | //H 12: t_2_020.cpp(52): > < | |
196 | //H 11: t_2_020.cpp(52): #if 0: 0 | |
197 | //H 12: t_2_020.cpp(52): >\n< | |
198 | //H 12: t_2_020.cpp(53): >int< | |
199 | //H 12: t_2_020.cpp(53): > < | |
200 | //H 12: t_2_020.cpp(53): >x1< | |
201 | //H 12: t_2_020.cpp(53): >;< | |
202 | //H 12: t_2_020.cpp(53): >\n< | |
203 | //H 10: t_2_020.cpp(54): #elif | |
204 | //H 12: t_2_020.cpp(54): > < | |
205 | //H 11: t_2_020.cpp(54): #elif 1: 1 | |
206 | //H 12: t_2_020.cpp(54): >\n< | |
207 | //H 10: t_2_020.cpp(56): #else | |
208 | //H 12: t_2_020.cpp(56): >#else< | |
209 | //H 12: t_2_020.cpp(56): >\n< | |
210 | //H 12: t_2_020.cpp(57): >int< | |
211 | //H 12: t_2_020.cpp(57): > < | |
212 | //H 12: t_2_020.cpp(57): >x3< | |
213 | //H 12: t_2_020.cpp(57): >;< | |
214 | //H 12: t_2_020.cpp(57): >\n< | |
215 | //H 12: t_2_020.cpp(58): >#endif< | |
216 | //H 12: t_2_020.cpp(58): >\n< | |
217 | //H 10: t_2_020.cpp(60): #if | |
218 | //H 12: t_2_020.cpp(60): > < | |
219 | //H 11: t_2_020.cpp(60): #if 1: 1 | |
220 | //H 12: t_2_020.cpp(60): >\n< | |
221 | //H 10: t_2_020.cpp(62): #elif | |
222 | //H 12: t_2_020.cpp(62): > < | |
223 | //H 12: t_2_020.cpp(62): >0< | |
224 | //H 12: t_2_020.cpp(62): >\n< | |
225 | //H 12: t_2_020.cpp(63): >int< | |
226 | //H 12: t_2_020.cpp(63): > < | |
227 | //H 12: t_2_020.cpp(63): >y2< | |
228 | //H 12: t_2_020.cpp(63): >;< | |
229 | //H 12: t_2_020.cpp(63): >\n< | |
230 | //H 12: t_2_020.cpp(64): >#else< | |
231 | //H 12: t_2_020.cpp(64): >\n< | |
232 | //H 12: t_2_020.cpp(65): >int< | |
233 | //H 12: t_2_020.cpp(65): > < | |
234 | //H 12: t_2_020.cpp(65): >y3< | |
235 | //H 12: t_2_020.cpp(65): >;< | |
236 | //H 12: t_2_020.cpp(65): >\n< | |
237 | //H 12: t_2_020.cpp(66): >#endif< | |
238 | //H 12: t_2_020.cpp(66): >\n< | |
239 | //H 10: t_2_020.cpp(68): #if | |
240 | //H 12: t_2_020.cpp(68): > < | |
241 | //H 11: t_2_020.cpp(68): #if 0: 0 | |
242 | //H 12: t_2_020.cpp(68): >\n< | |
243 | //H 12: t_2_020.cpp(69): >int< | |
244 | //H 12: t_2_020.cpp(69): > < | |
245 | //H 12: t_2_020.cpp(69): >z1< | |
246 | //H 12: t_2_020.cpp(69): >;< | |
247 | //H 12: t_2_020.cpp(69): >\n< | |
248 | //H 10: t_2_020.cpp(70): #elif | |
249 | //H 12: t_2_020.cpp(70): > < | |
250 | //H 11: t_2_020.cpp(70): #elif 0: 0 | |
251 | //H 12: t_2_020.cpp(70): >\n< | |
252 | //H 12: t_2_020.cpp(71): >int< | |
253 | //H 12: t_2_020.cpp(71): > < | |
254 | //H 12: t_2_020.cpp(71): >z2< | |
255 | //H 12: t_2_020.cpp(71): >;< | |
256 | //H 12: t_2_020.cpp(71): >\n< | |
257 | //H 12: t_2_020.cpp(72): >#else< | |
258 | //H 12: t_2_020.cpp(72): >\n< | |
259 | //H 10: t_2_020.cpp(74): #endif | |
260 | //H 12: t_2_020.cpp(74): >#endif< | |
261 | //H 12: t_2_020.cpp(74): >\n< |