1 | This file contains any messages produced by compilers while |
---|
2 | running configure, to aid debugging if configure makes a mistake. |
---|
3 | |
---|
4 | It was created by wireshark configure 1.10.2, which was |
---|
5 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
6 | |
---|
7 | $ ./configure --prefix=/opt/local --with-libsmi=/opt/local --disable-usr-local --with-adns=/opt/local --without-c-ares --with-geoip=/opt/local --with-gnutls=yes --with-libgcrypt-prefix=/opt/local --enable-ipv6 --with-pcap=/opt/local --with-ssl=/opt/local --with-zlib=/opt/local --mandir=${prefix}/share/man --infodir=${prefix}/share/info --with-portaudio=/opt/local --disable-warnings-as-errors --with-krb5=/opt/local --without-lua |
---|
8 | |
---|
9 | ## --------- ## |
---|
10 | ## Platform. ## |
---|
11 | ## --------- ## |
---|
12 | |
---|
13 | hostname = sedgewick.local |
---|
14 | uname -m = x86_64 |
---|
15 | uname -r = 13.0.0 |
---|
16 | uname -s = Darwin |
---|
17 | uname -v = Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 |
---|
18 | |
---|
19 | /usr/bin/uname -p = i386 |
---|
20 | /bin/uname -X = unknown |
---|
21 | |
---|
22 | /bin/arch = unknown |
---|
23 | /usr/bin/arch -k = unknown |
---|
24 | /usr/convex/getsysinfo = unknown |
---|
25 | /usr/bin/hostinfo = Mach kernel version: |
---|
26 | Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 |
---|
27 | Kernel configured for up to 2 processors. |
---|
28 | 2 processors are physically available. |
---|
29 | 2 processors are logically available. |
---|
30 | Processor type: i486 (Intel 80486) |
---|
31 | Processors active: 0 1 |
---|
32 | Primary memory available: 8.00 gigabytes |
---|
33 | Default processor set: 191 tasks, 746 threads, 2 processors |
---|
34 | Load average: 8.41, Mach factor: 0.22 |
---|
35 | /bin/machine = unknown |
---|
36 | /usr/bin/oslevel = unknown |
---|
37 | /bin/universe = unknown |
---|
38 | |
---|
39 | PATH: /opt/local/bin |
---|
40 | PATH: /opt/local/sbin |
---|
41 | PATH: /bin |
---|
42 | PATH: /sbin |
---|
43 | PATH: /usr/bin |
---|
44 | PATH: /usr/sbin |
---|
45 | |
---|
46 | |
---|
47 | ## ----------- ## |
---|
48 | ## Core tests. ## |
---|
49 | ## ----------- ## |
---|
50 | |
---|
51 | configure:2768: checking build system type |
---|
52 | configure:2782: result: x86_64-apple-darwin13.0.0 |
---|
53 | configure:2802: checking host system type |
---|
54 | configure:2815: result: x86_64-apple-darwin13.0.0 |
---|
55 | configure:2835: checking target system type |
---|
56 | configure:2848: result: x86_64-apple-darwin13.0.0 |
---|
57 | configure:2891: checking for a BSD-compatible install |
---|
58 | configure:2959: result: /usr/bin/install -c |
---|
59 | configure:2970: checking whether build environment is sane |
---|
60 | configure:3020: result: yes |
---|
61 | configure:3161: checking for a thread-safe mkdir -p |
---|
62 | configure:3200: result: ./install-sh -c -d |
---|
63 | configure:3213: checking for gawk |
---|
64 | configure:3243: result: no |
---|
65 | configure:3213: checking for mawk |
---|
66 | configure:3243: result: no |
---|
67 | configure:3213: checking for nawk |
---|
68 | configure:3243: result: no |
---|
69 | configure:3213: checking for awk |
---|
70 | configure:3229: found /usr/bin/awk |
---|
71 | configure:3240: result: awk |
---|
72 | configure:3251: checking whether make sets $(MAKE) |
---|
73 | configure:3273: result: yes |
---|
74 | configure:3348: checking how to create a ustar tar archive |
---|
75 | configure:3361: tar --version |
---|
76 | bsdtar 2.8.3 - libarchive 2.8.3 |
---|
77 | configure:3364: $? = 0 |
---|
78 | configure:3404: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar |
---|
79 | configure:3407: $? = 0 |
---|
80 | configure:3411: tar -xf - <conftest.tar |
---|
81 | configure:3414: $? = 0 |
---|
82 | configure:3427: result: gnutar |
---|
83 | configure:3526: checking for gcc |
---|
84 | configure:3553: result: /usr/bin/clang |
---|
85 | configure:3782: checking for C compiler version |
---|
86 | configure:3791: /usr/bin/clang --version >&5 |
---|
87 | Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) |
---|
88 | Target: x86_64-apple-darwin13.0.0 |
---|
89 | Thread model: posix |
---|
90 | configure:3802: $? = 0 |
---|
91 | configure:3791: /usr/bin/clang -v >&5 |
---|
92 | Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) |
---|
93 | Target: x86_64-apple-darwin13.0.0 |
---|
94 | Thread model: posix |
---|
95 | configure:3802: $? = 0 |
---|
96 | configure:3791: /usr/bin/clang -V >&5 |
---|
97 | clang: error: argument to '-V' is missing (expected 1 value) |
---|
98 | clang: error: no input files |
---|
99 | configure:3802: $? = 1 |
---|
100 | configure:3791: /usr/bin/clang -qversion >&5 |
---|
101 | clang: error: no input files |
---|
102 | configure:3802: $? = 1 |
---|
103 | configure:3822: checking whether the C compiler works |
---|
104 | configure:3844: /usr/bin/clang -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c >&5 |
---|
105 | configure:3848: $? = 0 |
---|
106 | configure:3896: result: yes |
---|
107 | configure:3899: checking for C compiler default output file name |
---|
108 | configure:3901: result: a.out |
---|
109 | configure:3907: checking for suffix of executables |
---|
110 | configure:3914: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c >&5 |
---|
111 | configure:3918: $? = 0 |
---|
112 | configure:3940: result: |
---|
113 | configure:3962: checking whether we are cross compiling |
---|
114 | configure:3970: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c >&5 |
---|
115 | configure:3974: $? = 0 |
---|
116 | configure:3981: ./conftest |
---|
117 | configure:3985: $? = 0 |
---|
118 | configure:4000: result: no |
---|
119 | configure:4005: checking for suffix of object files |
---|
120 | configure:4027: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
121 | configure:4031: $? = 0 |
---|
122 | configure:4052: result: o |
---|
123 | configure:4056: checking whether we are using the GNU C compiler |
---|
124 | configure:4075: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
125 | configure:4075: $? = 0 |
---|
126 | configure:4084: result: yes |
---|
127 | configure:4093: checking whether /usr/bin/clang accepts -g |
---|
128 | configure:4113: /usr/bin/clang -c -g -I/opt/local/include conftest.c >&5 |
---|
129 | configure:4113: $? = 0 |
---|
130 | configure:4154: result: yes |
---|
131 | configure:4171: checking for /usr/bin/clang option to accept ISO C89 |
---|
132 | configure:4235: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
133 | configure:4235: $? = 0 |
---|
134 | configure:4248: result: none needed |
---|
135 | configure:4279: checking for style of include used by make |
---|
136 | configure:4307: result: GNU |
---|
137 | configure:4333: checking dependency style of /usr/bin/clang |
---|
138 | configure:4444: result: gcc3 |
---|
139 | configure:4460: checking whether /usr/bin/clang and cc understand -c and -o together |
---|
140 | configure:4491: /usr/bin/clang -c conftest.c -o conftest2.o >&5 |
---|
141 | configure:4495: $? = 0 |
---|
142 | configure:4501: /usr/bin/clang -c conftest.c -o conftest2.o >&5 |
---|
143 | configure:4505: $? = 0 |
---|
144 | configure:4516: cc -c conftest.c >&5 |
---|
145 | configure:4520: $? = 0 |
---|
146 | configure:4528: cc -c conftest.c -o conftest2.o >&5 |
---|
147 | configure:4532: $? = 0 |
---|
148 | configure:4538: cc -c conftest.c -o conftest2.o >&5 |
---|
149 | configure:4542: $? = 0 |
---|
150 | configure:4560: result: yes |
---|
151 | configure:4697: checking for C++ compiler version |
---|
152 | configure:4706: /usr/bin/clang++ --version >&5 |
---|
153 | Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) |
---|
154 | Target: x86_64-apple-darwin13.0.0 |
---|
155 | Thread model: posix |
---|
156 | configure:4717: $? = 0 |
---|
157 | configure:4706: /usr/bin/clang++ -v >&5 |
---|
158 | Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) |
---|
159 | Target: x86_64-apple-darwin13.0.0 |
---|
160 | Thread model: posix |
---|
161 | configure:4717: $? = 0 |
---|
162 | configure:4706: /usr/bin/clang++ -V >&5 |
---|
163 | clang: error: argument to '-V' is missing (expected 1 value) |
---|
164 | clang: error: no input files |
---|
165 | configure:4717: $? = 1 |
---|
166 | configure:4706: /usr/bin/clang++ -qversion >&5 |
---|
167 | clang: error: no input files |
---|
168 | configure:4717: $? = 1 |
---|
169 | configure:4721: checking whether we are using the GNU C++ compiler |
---|
170 | configure:4740: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.cpp >&5 |
---|
171 | configure:4740: $? = 0 |
---|
172 | configure:4749: result: yes |
---|
173 | configure:4758: checking whether /usr/bin/clang++ accepts -g |
---|
174 | configure:4778: /usr/bin/clang++ -c -g -I/opt/local/include conftest.cpp >&5 |
---|
175 | configure:4778: $? = 0 |
---|
176 | configure:4819: result: yes |
---|
177 | configure:4844: checking dependency style of /usr/bin/clang++ |
---|
178 | configure:4955: result: gcc3 |
---|
179 | configure:4975: checking how to run the C preprocessor |
---|
180 | configure:5006: /usr/bin/clang -E -I/opt/local/include conftest.c |
---|
181 | configure:5006: $? = 0 |
---|
182 | configure:5020: /usr/bin/clang -E -I/opt/local/include conftest.c |
---|
183 | conftest.c:14:10: fatal error: 'ac_nonexistent.h' file not found |
---|
184 | #include <ac_nonexistent.h> |
---|
185 | ^ |
---|
186 | 1 error generated. |
---|
187 | configure:5020: $? = 1 |
---|
188 | configure: failed program was: |
---|
189 | | /* confdefs.h */ |
---|
190 | | #define PACKAGE_NAME "wireshark" |
---|
191 | | #define PACKAGE_TARNAME "wireshark" |
---|
192 | | #define PACKAGE_VERSION "1.10.2" |
---|
193 | | #define PACKAGE_STRING "wireshark 1.10.2" |
---|
194 | | #define PACKAGE_BUGREPORT "http://bugs.wireshark.org/" |
---|
195 | | #define PACKAGE_URL "http://www.wireshark.org/" |
---|
196 | | #define PACKAGE "wireshark" |
---|
197 | | #define VERSION "1.10.2" |
---|
198 | | #define VERSION_MAJOR 1 |
---|
199 | | #define VERSION_MINOR 10 |
---|
200 | | #define VERSION_MICRO 2 |
---|
201 | | /* end confdefs.h. */ |
---|
202 | | #include <ac_nonexistent.h> |
---|
203 | configure:5045: result: /usr/bin/clang -E |
---|
204 | configure:5065: /usr/bin/clang -E -I/opt/local/include conftest.c |
---|
205 | configure:5065: $? = 0 |
---|
206 | configure:5079: /usr/bin/clang -E -I/opt/local/include conftest.c |
---|
207 | conftest.c:14:10: fatal error: 'ac_nonexistent.h' file not found |
---|
208 | #include <ac_nonexistent.h> |
---|
209 | ^ |
---|
210 | 1 error generated. |
---|
211 | configure:5079: $? = 1 |
---|
212 | configure: failed program was: |
---|
213 | | /* confdefs.h */ |
---|
214 | | #define PACKAGE_NAME "wireshark" |
---|
215 | | #define PACKAGE_TARNAME "wireshark" |
---|
216 | | #define PACKAGE_VERSION "1.10.2" |
---|
217 | | #define PACKAGE_STRING "wireshark 1.10.2" |
---|
218 | | #define PACKAGE_BUGREPORT "http://bugs.wireshark.org/" |
---|
219 | | #define PACKAGE_URL "http://www.wireshark.org/" |
---|
220 | | #define PACKAGE "wireshark" |
---|
221 | | #define VERSION "1.10.2" |
---|
222 | | #define VERSION_MAJOR 1 |
---|
223 | | #define VERSION_MINOR 10 |
---|
224 | | #define VERSION_MICRO 2 |
---|
225 | | /* end confdefs.h. */ |
---|
226 | | #include <ac_nonexistent.h> |
---|
227 | configure:5158: checking how to print strings |
---|
228 | configure:5185: result: printf |
---|
229 | configure:5206: checking for a sed that does not truncate output |
---|
230 | configure:5270: result: /usr/bin/sed |
---|
231 | configure:5288: checking for grep that handles long lines and -e |
---|
232 | configure:5346: result: /usr/bin/grep |
---|
233 | configure:5351: checking for egrep |
---|
234 | configure:5413: result: /usr/bin/grep -E |
---|
235 | configure:5418: checking for fgrep |
---|
236 | configure:5480: result: /usr/bin/grep -F |
---|
237 | configure:5515: checking for ld used by /usr/bin/clang |
---|
238 | configure:5582: result: /Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld |
---|
239 | configure:5589: checking if the linker (/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld |
---|
240 | configure:5604: result: no |
---|
241 | configure:5616: checking for BSD- or MS-compatible name lister (nm) |
---|
242 | configure:5665: result: /usr/bin/nm |
---|
243 | configure:5795: checking the name lister (/usr/bin/nm) interface |
---|
244 | configure:5802: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
245 | configure:5805: /usr/bin/nm "conftest.o" |
---|
246 | configure:5808: output |
---|
247 | 0000000000000000 S _some_variable |
---|
248 | configure:5815: result: BSD nm |
---|
249 | configure:5818: checking whether ln -s works |
---|
250 | configure:5822: result: yes |
---|
251 | configure:5830: checking the maximum length of command line arguments |
---|
252 | configure:5960: result: 196608 |
---|
253 | configure:5977: checking whether the shell understands some XSI constructs |
---|
254 | configure:5987: result: yes |
---|
255 | configure:5991: checking whether the shell understands "+=" |
---|
256 | configure:5997: result: yes |
---|
257 | configure:6032: checking how to convert x86_64-apple-darwin13.0.0 file names to x86_64-apple-darwin13.0.0 format |
---|
258 | configure:6072: result: func_convert_file_noop |
---|
259 | configure:6079: checking how to convert x86_64-apple-darwin13.0.0 file names to toolchain format |
---|
260 | configure:6099: result: func_convert_file_noop |
---|
261 | configure:6106: checking for /Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files |
---|
262 | configure:6113: result: -r |
---|
263 | configure:6187: checking for objdump |
---|
264 | configure:6217: result: no |
---|
265 | configure:6246: checking how to recognize dependent libraries |
---|
266 | configure:6448: result: pass_all |
---|
267 | configure:6533: checking for dlltool |
---|
268 | configure:6563: result: no |
---|
269 | configure:6593: checking how to associate runtime and link libraries |
---|
270 | configure:6620: result: printf %s\n |
---|
271 | configure:6681: checking for ar |
---|
272 | configure:6697: found /usr/bin/ar |
---|
273 | configure:6708: result: ar |
---|
274 | configure:6745: checking for archiver @FILE support |
---|
275 | configure:6762: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
276 | configure:6762: $? = 0 |
---|
277 | configure:6765: ar cru libconftest.a @conftest.lst >&5 |
---|
278 | ar: @conftest.lst: No such file or directory |
---|
279 | configure:6768: $? = 1 |
---|
280 | configure:6788: result: no |
---|
281 | configure:6846: checking for strip |
---|
282 | configure:6862: found /usr/bin/strip |
---|
283 | configure:6873: result: strip |
---|
284 | configure:6945: checking for ranlib |
---|
285 | configure:6961: found /usr/bin/ranlib |
---|
286 | configure:6972: result: ranlib |
---|
287 | configure:7074: checking command to parse /usr/bin/nm output from /usr/bin/clang object |
---|
288 | configure:7194: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
289 | configure:7197: $? = 0 |
---|
290 | configure:7201: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm |
---|
291 | configure:7204: $? = 0 |
---|
292 | cannot find nm_test_var in conftest.nm |
---|
293 | configure:7194: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
294 | configure:7197: $? = 0 |
---|
295 | configure:7201: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm |
---|
296 | configure:7204: $? = 0 |
---|
297 | configure:7270: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c conftstm.o >&5 |
---|
298 | configure:7273: $? = 0 |
---|
299 | configure:7311: result: ok |
---|
300 | configure:7348: checking for sysroot |
---|
301 | configure:7378: result: no |
---|
302 | configure:7634: checking for mt |
---|
303 | configure:7664: result: no |
---|
304 | configure:7684: checking if : is a manifest tool |
---|
305 | configure:7690: : '-?' |
---|
306 | configure:7698: result: no |
---|
307 | configure:7754: checking for dsymutil |
---|
308 | configure:7770: found /usr/bin/dsymutil |
---|
309 | configure:7781: result: dsymutil |
---|
310 | configure:7846: checking for nmedit |
---|
311 | configure:7862: found /usr/bin/nmedit |
---|
312 | configure:7873: result: nmedit |
---|
313 | configure:7938: checking for lipo |
---|
314 | configure:7954: found /usr/bin/lipo |
---|
315 | configure:7965: result: lipo |
---|
316 | configure:8030: checking for otool |
---|
317 | configure:8046: found /usr/bin/otool |
---|
318 | configure:8057: result: otool |
---|
319 | configure:8122: checking for otool64 |
---|
320 | configure:8152: result: no |
---|
321 | configure:8197: checking for -single_module linker flag |
---|
322 | /usr/bin/clang -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c |
---|
323 | configure:8230: result: yes |
---|
324 | configure:8233: checking for -exported_symbols_list linker flag |
---|
325 | configure:8253: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5 |
---|
326 | configure:8253: $? = 0 |
---|
327 | configure:8263: result: yes |
---|
328 | configure:8266: checking for -force_load linker flag |
---|
329 | /usr/bin/clang -pipe -Os -arch x86_64 -c -o conftest.o conftest.c |
---|
330 | ar cru libconftest.a conftest.o |
---|
331 | ranlib libconftest.a |
---|
332 | /usr/bin/clang -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 -o conftest conftest.c -Wl,-force_load,./libconftest.a |
---|
333 | configure:8298: result: yes |
---|
334 | configure:8336: checking for ANSI C header files |
---|
335 | configure:8356: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
336 | configure:8356: $? = 0 |
---|
337 | configure:8429: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c >&5 |
---|
338 | configure:8429: $? = 0 |
---|
339 | configure:8429: ./conftest |
---|
340 | configure:8429: $? = 0 |
---|
341 | configure:8440: result: yes |
---|
342 | configure:8453: checking for sys/types.h |
---|
343 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
344 | configure:8453: $? = 0 |
---|
345 | configure:8453: result: yes |
---|
346 | configure:8453: checking for sys/stat.h |
---|
347 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
348 | configure:8453: $? = 0 |
---|
349 | configure:8453: result: yes |
---|
350 | configure:8453: checking for stdlib.h |
---|
351 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
352 | configure:8453: $? = 0 |
---|
353 | configure:8453: result: yes |
---|
354 | configure:8453: checking for string.h |
---|
355 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
356 | configure:8453: $? = 0 |
---|
357 | configure:8453: result: yes |
---|
358 | configure:8453: checking for memory.h |
---|
359 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
360 | configure:8453: $? = 0 |
---|
361 | configure:8453: result: yes |
---|
362 | configure:8453: checking for strings.h |
---|
363 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
364 | configure:8453: $? = 0 |
---|
365 | configure:8453: result: yes |
---|
366 | configure:8453: checking for inttypes.h |
---|
367 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
368 | configure:8453: $? = 0 |
---|
369 | configure:8453: result: yes |
---|
370 | configure:8453: checking for stdint.h |
---|
371 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
372 | configure:8453: $? = 0 |
---|
373 | configure:8453: result: yes |
---|
374 | configure:8453: checking for unistd.h |
---|
375 | configure:8453: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
376 | configure:8453: $? = 0 |
---|
377 | configure:8453: result: yes |
---|
378 | configure:8467: checking for dlfcn.h |
---|
379 | configure:8467: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5 |
---|
380 | configure:8467: $? = 0 |
---|
381 | configure:8467: result: yes |
---|
382 | configure:8652: checking for objdir |
---|
383 | configure:8667: result: .libs |
---|
384 | configure:8934: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions |
---|
385 | configure:8952: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -fno-rtti -fno-exceptions conftest.c >&5 |
---|
386 | configure:8956: $? = 0 |
---|
387 | configure:8969: result: yes |
---|
388 | configure:9296: checking for /usr/bin/clang option to produce PIC |
---|
389 | configure:9303: result: -fno-common -DPIC |
---|
390 | configure:9311: checking if /usr/bin/clang PIC flag -fno-common -DPIC works |
---|
391 | configure:9329: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -fno-common -DPIC -DPIC conftest.c >&5 |
---|
392 | configure:9333: $? = 0 |
---|
393 | configure:9346: result: yes |
---|
394 | configure:9375: checking if /usr/bin/clang static flag -static works |
---|
395 | configure:9403: result: no |
---|
396 | configure:9418: checking if /usr/bin/clang supports -c -o file.o |
---|
397 | configure:9439: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -o out/conftest2.o conftest.c >&5 |
---|
398 | configure:9443: $? = 0 |
---|
399 | configure:9465: result: yes |
---|
400 | configure:9473: checking if /usr/bin/clang supports -c -o file.o |
---|
401 | configure:9520: result: yes |
---|
402 | configure:9553: checking whether the /usr/bin/clang linker (/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries |
---|
403 | configure:10710: result: yes |
---|
404 | configure:10950: checking dynamic linker characteristics |
---|
405 | configure:11695: result: darwin13.0.0 dyld |
---|
406 | configure:11802: checking how to hardcode library paths into programs |
---|
407 | configure:11827: result: immediate |
---|
408 | configure:11872: checking for dlopen in -ldl |
---|
409 | configure:11897: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c -ldl >&5 |
---|
410 | configure:11897: $? = 0 |
---|
411 | configure:11906: result: yes |
---|
412 | configure:12121: checking whether a program can dlopen itself |
---|
413 | configure:12201: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -DHAVE_DLFCN_H -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c -ldl >&5 |
---|
414 | configure:12204: $? = 0 |
---|
415 | configure:12222: result: yes |
---|
416 | configure:12227: checking whether a statically linked program can dlopen itself |
---|
417 | configure:12307: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -DHAVE_DLFCN_H -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c -ldl >&5 |
---|
418 | configure:12310: $? = 0 |
---|
419 | configure:12328: result: yes |
---|
420 | configure:12367: checking whether stripping libraries is possible |
---|
421 | configure:12381: result: yes |
---|
422 | configure:12407: checking if libtool supports shared libraries |
---|
423 | configure:12409: result: yes |
---|
424 | configure:12412: checking whether to build shared libraries |
---|
425 | configure:12433: result: yes |
---|
426 | configure:12436: checking whether to build static libraries |
---|
427 | configure:12440: result: no |
---|
428 | configure:12463: checking how to run the C++ preprocessor |
---|
429 | configure:12490: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp |
---|
430 | configure:12490: $? = 0 |
---|
431 | configure:12504: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp |
---|
432 | conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found |
---|
433 | #include <ac_nonexistent.h> |
---|
434 | ^ |
---|
435 | 1 error generated. |
---|
436 | configure:12504: $? = 1 |
---|
437 | configure: failed program was: |
---|
438 | | /* confdefs.h */ |
---|
439 | | #define PACKAGE_NAME "wireshark" |
---|
440 | | #define PACKAGE_TARNAME "wireshark" |
---|
441 | | #define PACKAGE_VERSION "1.10.2" |
---|
442 | | #define PACKAGE_STRING "wireshark 1.10.2" |
---|
443 | | #define PACKAGE_BUGREPORT "http://bugs.wireshark.org/" |
---|
444 | | #define PACKAGE_URL "http://www.wireshark.org/" |
---|
445 | | #define PACKAGE "wireshark" |
---|
446 | | #define VERSION "1.10.2" |
---|
447 | | #define VERSION_MAJOR 1 |
---|
448 | | #define VERSION_MINOR 10 |
---|
449 | | #define VERSION_MICRO 2 |
---|
450 | | #define STDC_HEADERS 1 |
---|
451 | | #define HAVE_SYS_TYPES_H 1 |
---|
452 | | #define HAVE_SYS_STAT_H 1 |
---|
453 | | #define HAVE_STDLIB_H 1 |
---|
454 | | #define HAVE_STRING_H 1 |
---|
455 | | #define HAVE_MEMORY_H 1 |
---|
456 | | #define HAVE_STRINGS_H 1 |
---|
457 | | #define HAVE_INTTYPES_H 1 |
---|
458 | | #define HAVE_STDINT_H 1 |
---|
459 | | #define HAVE_UNISTD_H 1 |
---|
460 | | #define HAVE_DLFCN_H 1 |
---|
461 | | #define LT_OBJDIR ".libs/" |
---|
462 | | /* end confdefs.h. */ |
---|
463 | | #include <ac_nonexistent.h> |
---|
464 | configure:12529: result: /usr/bin/clang++ -E |
---|
465 | configure:12549: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp |
---|
466 | configure:12549: $? = 0 |
---|
467 | configure:12563: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp |
---|
468 | conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found |
---|
469 | #include <ac_nonexistent.h> |
---|
470 | ^ |
---|
471 | 1 error generated. |
---|
472 | configure:12563: $? = 1 |
---|
473 | configure: failed program was: |
---|
474 | | /* confdefs.h */ |
---|
475 | | #define PACKAGE_NAME "wireshark" |
---|
476 | | #define PACKAGE_TARNAME "wireshark" |
---|
477 | | #define PACKAGE_VERSION "1.10.2" |
---|
478 | | #define PACKAGE_STRING "wireshark 1.10.2" |
---|
479 | | #define PACKAGE_BUGREPORT "http://bugs.wireshark.org/" |
---|
480 | | #define PACKAGE_URL "http://www.wireshark.org/" |
---|
481 | | #define PACKAGE "wireshark" |
---|
482 | | #define VERSION "1.10.2" |
---|
483 | | #define VERSION_MAJOR 1 |
---|
484 | | #define VERSION_MINOR 10 |
---|
485 | | #define VERSION_MICRO 2 |
---|
486 | | #define STDC_HEADERS 1 |
---|
487 | | #define HAVE_SYS_TYPES_H 1 |
---|
488 | | #define HAVE_SYS_STAT_H 1 |
---|
489 | | #define HAVE_STDLIB_H 1 |
---|
490 | | #define HAVE_STRING_H 1 |
---|
491 | | #define HAVE_MEMORY_H 1 |
---|
492 | | #define HAVE_STRINGS_H 1 |
---|
493 | | #define HAVE_INTTYPES_H 1 |
---|
494 | | #define HAVE_STDINT_H 1 |
---|
495 | | #define HAVE_UNISTD_H 1 |
---|
496 | | #define HAVE_DLFCN_H 1 |
---|
497 | | #define LT_OBJDIR ".libs/" |
---|
498 | | /* end confdefs.h. */ |
---|
499 | | #include <ac_nonexistent.h> |
---|
500 | configure:12732: checking for ld used by /usr/bin/clang++ |
---|
501 | configure:12799: result: /Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld |
---|
502 | configure:12806: checking if the linker (/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld |
---|
503 | configure:12821: result: no |
---|
504 | configure:12876: checking whether the /usr/bin/clang++ linker (/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries |
---|
505 | configure:13881: result: yes |
---|
506 | configure:13917: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.cpp >&5 |
---|
507 | configure:13920: $? = 0 |
---|
508 | configure:14440: checking for /usr/bin/clang++ option to produce PIC |
---|
509 | configure:14447: result: -fno-common -DPIC |
---|
510 | configure:14455: checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works |
---|
511 | configure:14473: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -fno-common -DPIC -DPIC conftest.cpp >&5 |
---|
512 | configure:14477: $? = 0 |
---|
513 | configure:14490: result: yes |
---|
514 | configure:14513: checking if /usr/bin/clang++ static flag -static works |
---|
515 | configure:14541: result: no |
---|
516 | configure:14553: checking if /usr/bin/clang++ supports -c -o file.o |
---|
517 | configure:14574: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -o out/conftest2.o conftest.cpp >&5 |
---|
518 | configure:14578: $? = 0 |
---|
519 | configure:14600: result: yes |
---|
520 | configure:14605: checking if /usr/bin/clang++ supports -c -o file.o |
---|
521 | configure:14652: result: yes |
---|
522 | configure:14682: checking whether the /usr/bin/clang++ linker (/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries |
---|
523 | configure:14721: result: yes |
---|
524 | configure:14862: checking dynamic linker characteristics |
---|
525 | configure:15541: result: darwin13.0.0 dyld |
---|
526 | configure:15594: checking how to hardcode library paths into programs |
---|
527 | configure:15619: result: immediate |
---|
528 | configure:15682: checking for perl |
---|
529 | configure:15700: found /opt/local/bin/perl |
---|
530 | configure:15712: result: /opt/local/bin/perl |
---|
531 | configure:15724: checking for python |
---|
532 | configure:15742: found /usr/bin/python |
---|
533 | configure:15754: result: /usr/bin/python |
---|
534 | configure:15769: checking whether /usr/bin/python is Python 2.5 or later |
---|
535 | configure:15779: result: yes |
---|
536 | configure:15807: checking for bison |
---|
537 | configure:15823: found /usr/bin/bison |
---|
538 | configure:15834: result: bison -y |
---|
539 | configure:15848: checking for bison |
---|
540 | configure:15866: found /usr/bin/bison |
---|
541 | configure:15878: result: /usr/bin/bison |
---|
542 | configure:15894: checking for flex |
---|
543 | configure:15910: found /usr/bin/flex |
---|
544 | configure:15921: result: flex |
---|
545 | configure:15958: flex conftest.l |
---|
546 | configure:15962: $? = 0 |
---|
547 | configure:15964: checking lex output file root |
---|
548 | configure:15978: result: lex.yy |
---|
549 | configure:15983: checking lex library |
---|
550 | configure:15997: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c >&5 |
---|
551 | Undefined symbols for architecture x86_64: |
---|
552 | "_yywrap", referenced from: |
---|
553 | _yylex in conftest-4YFRTN.o |
---|
554 | _main in conftest-4YFRTN.o |
---|
555 | ld: symbol(s) not found for architecture x86_64 |
---|
556 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
557 | configure:15997: $? = 1 |
---|
558 | configure: failed program was: |
---|
559 | | /* confdefs.h */ |
---|
560 | | #define PACKAGE_NAME "wireshark" |
---|
561 | | #define PACKAGE_TARNAME "wireshark" |
---|
562 | | #define PACKAGE_VERSION "1.10.2" |
---|
563 | | #define PACKAGE_STRING "wireshark 1.10.2" |
---|
564 | | #define PACKAGE_BUGREPORT "http://bugs.wireshark.org/" |
---|
565 | | #define PACKAGE_URL "http://www.wireshark.org/" |
---|
566 | | #define PACKAGE "wireshark" |
---|
567 | | #define VERSION "1.10.2" |
---|
568 | | #define VERSION_MAJOR 1 |
---|
569 | | #define VERSION_MINOR 10 |
---|
570 | | #define VERSION_MICRO 2 |
---|
571 | | #define STDC_HEADERS 1 |
---|
572 | | #define HAVE_SYS_TYPES_H 1 |
---|
573 | | #define HAVE_SYS_STAT_H 1 |
---|
574 | | #define HAVE_STDLIB_H 1 |
---|
575 | | #define HAVE_STRING_H 1 |
---|
576 | | #define HAVE_MEMORY_H 1 |
---|
577 | | #define HAVE_STRINGS_H 1 |
---|
578 | | #define HAVE_INTTYPES_H 1 |
---|
579 | | #define HAVE_STDINT_H 1 |
---|
580 | | #define HAVE_UNISTD_H 1 |
---|
581 | | #define HAVE_DLFCN_H 1 |
---|
582 | | #define LT_OBJDIR ".libs/" |
---|
583 | | /* end confdefs.h. */ |
---|
584 | | |
---|
585 | | #line 3 "lex.yy.c" |
---|
586 | | |
---|
587 | | #define YY_INT_ALIGNED short int |
---|
588 | | |
---|
589 | | /* A lexical scanner generated by flex */ |
---|
590 | | |
---|
591 | | #define FLEX_SCANNER |
---|
592 | | #define YY_FLEX_MAJOR_VERSION 2 |
---|
593 | | #define YY_FLEX_MINOR_VERSION 5 |
---|
594 | | #define YY_FLEX_SUBMINOR_VERSION 35 |
---|
595 | | #if YY_FLEX_SUBMINOR_VERSION > 0 |
---|
596 | | #define FLEX_BETA |
---|
597 | | #endif |
---|
598 | | |
---|
599 | | /* First, we deal with platform-specific or compiler-specific issues. */ |
---|
600 | | |
---|
601 | | /* begin standard C headers. */ |
---|
602 | | #include <stdio.h> |
---|
603 | | #include <string.h> |
---|
604 | | #include <errno.h> |
---|
605 | | #include <stdlib.h> |
---|
606 | | |
---|
607 | | /* end standard C headers. */ |
---|
608 | | |
---|
609 | | /* flex integer type definitions */ |
---|
610 | | |
---|
611 | | #ifndef FLEXINT_H |
---|
612 | | #define FLEXINT_H |
---|
613 | | |
---|
614 | | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ |
---|
615 | | |
---|
616 | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L |
---|
617 | | |
---|
618 | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, |
---|
619 | | * if you want the limit (max/min) macros for int types. |
---|
620 | | */ |
---|
621 | | #ifndef __STDC_LIMIT_MACROS |
---|
622 | | #define __STDC_LIMIT_MACROS 1 |
---|
623 | | #endif |
---|
624 | | |
---|
625 | | #include <inttypes.h> |
---|
626 | | typedef int8_t flex_int8_t; |
---|
627 | | typedef uint8_t flex_uint8_t; |
---|
628 | | typedef int16_t flex_int16_t; |
---|
629 | | typedef uint16_t flex_uint16_t; |
---|
630 | | typedef int32_t flex_int32_t; |
---|
631 | | typedef uint32_t flex_uint32_t; |
---|
632 | | typedef uint64_t flex_uint64_t; |
---|
633 | | #else |
---|
634 | | typedef signed char flex_int8_t; |
---|
635 | | typedef short int flex_int16_t; |
---|
636 | | typedef int flex_int32_t; |
---|
637 | | typedef unsigned char flex_uint8_t; |
---|
638 | | typedef unsigned short int flex_uint16_t; |
---|
639 | | typedef unsigned int flex_uint32_t; |
---|
640 | | #endif /* ! C99 */ |
---|
641 | | |
---|
642 | | /* Limits of integral types. */ |
---|
643 | | #ifndef INT8_MIN |
---|
644 | | #define INT8_MIN (-128) |
---|
645 | | #endif |
---|
646 | | #ifndef INT16_MIN |
---|
647 | | #define INT16_MIN (-32767-1) |
---|
648 | | #endif |
---|
649 | | #ifndef INT32_MIN |
---|
650 | | #define INT32_MIN (-2147483647-1) |
---|
651 | | #endif |
---|
652 | | #ifndef INT8_MAX |
---|
653 | | #define INT8_MAX (127) |
---|
654 | | #endif |
---|
655 | | #ifndef INT16_MAX |
---|
656 | | #define INT16_MAX (32767) |
---|
657 | | #endif |
---|
658 | | #ifndef INT32_MAX |
---|
659 | | #define INT32_MAX (2147483647) |
---|
660 | | #endif |
---|
661 | | #ifndef UINT8_MAX |
---|
662 | | #define UINT8_MAX (255U) |
---|
663 | | #endif |
---|
664 | | #ifndef UINT16_MAX |
---|
665 | | #define UINT16_MAX (65535U) |
---|
666 | | #endif |
---|
667 | | #ifndef UINT32_MAX |
---|
668 | | #define UINT32_MAX (4294967295U) |
---|
669 | | #endif |
---|
670 | | |
---|
671 | | #endif /* ! FLEXINT_H */ |
---|
672 | | |
---|
673 | | #ifdef __cplusplus |
---|
674 | | |
---|
675 | | /* The "const" storage-class-modifier is valid. */ |
---|
676 | | #define YY_USE_CONST |
---|
677 | | |
---|
678 | | #else /* ! __cplusplus */ |
---|
679 | | |
---|
680 | | /* C99 requires __STDC__ to be defined as 1. */ |
---|
681 | | #if defined (__STDC__) |
---|
682 | | |
---|
683 | | #define YY_USE_CONST |
---|
684 | | |
---|
685 | | #endif /* defined (__STDC__) */ |
---|
686 | | #endif /* ! __cplusplus */ |
---|
687 | | |
---|
688 | | #ifdef YY_USE_CONST |
---|
689 | | #define yyconst const |
---|
690 | | #else |
---|
691 | | #define yyconst |
---|
692 | | #endif |
---|
693 | | |
---|
694 | | /* Returned upon end-of-file. */ |
---|
695 | | #define YY_NULL 0 |
---|
696 | | |
---|
697 | | /* Promotes a possibly negative, possibly signed char to an unsigned |
---|
698 | | * integer for use as an array index. If the signed char is negative, |
---|
699 | | * we want to instead treat it as an 8-bit unsigned char, hence the |
---|
700 | | * double cast. |
---|
701 | | */ |
---|
702 | | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
---|
703 | | |
---|
704 | | /* Enter a start condition. This macro really ought to take a parameter, |
---|
705 | | * but we do it the disgusting crufty way forced on us by the ()-less |
---|
706 | | * definition of BEGIN. |
---|
707 | | */ |
---|
708 | | #define BEGIN (yy_start) = 1 + 2 * |
---|
709 | | |
---|
710 | | /* Translate the current start state into a value that can be later handed |
---|
711 | | * to BEGIN to return to the state. The YYSTATE alias is for lex |
---|
712 | | * compatibility. |
---|
713 | | */ |
---|
714 | | #define YY_START (((yy_start) - 1) / 2) |
---|
715 | | #define YYSTATE YY_START |
---|
716 | | |
---|
717 | | /* Action number for EOF rule of a given start state. */ |
---|
718 | | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
---|
719 | | |
---|
720 | | /* Special action meaning "start processing a new file". */ |
---|
721 | | #define YY_NEW_FILE yyrestart(yyin ) |
---|
722 | | |
---|
723 | | #define YY_END_OF_BUFFER_CHAR 0 |
---|
724 | | |
---|
725 | | /* Size of default input buffer. */ |
---|
726 | | #ifndef YY_BUF_SIZE |
---|
727 | | #define YY_BUF_SIZE 16384 |
---|
728 | | #endif |
---|
729 | | |
---|
730 | | /* The state buf must be large enough to hold one state per character in the main buffer. |
---|
731 | | */ |
---|
732 | | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
---|
733 | | |
---|
734 | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE |
---|
735 | | #define YY_TYPEDEF_YY_BUFFER_STATE |
---|
736 | | typedef struct yy_buffer_state *YY_BUFFER_STATE; |
---|
737 | | #endif |
---|
738 | | |
---|
739 | | #ifndef YY_TYPEDEF_YY_SIZE_T |
---|
740 | | #define YY_TYPEDEF_YY_SIZE_T |
---|
741 | | typedef size_t yy_size_t; |
---|
742 | | #endif |
---|
743 | | |
---|
744 | | extern yy_size_t yyleng; |
---|
745 | | |
---|
746 | | extern FILE *yyin, *yyout; |
---|
747 | | |
---|
748 | | #define EOB_ACT_CONTINUE_SCAN 0 |
---|
749 | | #define EOB_ACT_END_OF_FILE 1 |
---|
750 | | #define EOB_ACT_LAST_MATCH 2 |
---|
751 | | |
---|
752 | | #define YY_LESS_LINENO(n) |
---|
753 | | |
---|
754 | | /* Return all but the first "n" matched characters back to the input stream. */ |
---|
755 | | #define yyless(n) \ |
---|
756 | | do \ |
---|
757 | | { \ |
---|
758 | | /* Undo effects of setting up yytext. */ \ |
---|
759 | | int yyless_macro_arg = (n); \ |
---|
760 | | YY_LESS_LINENO(yyless_macro_arg);\ |
---|
761 | | *yy_cp = (yy_hold_char); \ |
---|
762 | | YY_RESTORE_YY_MORE_OFFSET \ |
---|
763 | | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ |
---|
764 | | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ |
---|
765 | | } \ |
---|
766 | | while ( 0 ) |
---|
767 | | |
---|
768 | | #define unput(c) yyunput( c, (yytext_ptr) ) |
---|
769 | | |
---|
770 | | #ifndef YY_STRUCT_YY_BUFFER_STATE |
---|
771 | | #define YY_STRUCT_YY_BUFFER_STATE |
---|
772 | | struct yy_buffer_state |
---|
773 | | { |
---|
774 | | FILE *yy_input_file; |
---|
775 | | |
---|
776 | | char *yy_ch_buf; /* input buffer */ |
---|
777 | | char *yy_buf_pos; /* current position in input buffer */ |
---|
778 | | |
---|
779 | | /* Size of input buffer in bytes, not including room for EOB |
---|
780 | | * characters. |
---|
781 | | */ |
---|
782 | | yy_size_t yy_buf_size; |
---|
783 | | |
---|
784 | | /* Number of characters read into yy_ch_buf, not including EOB |
---|
785 | | * characters. |
---|
786 | | */ |
---|
787 | | yy_size_t yy_n_chars; |
---|
788 | | |
---|
789 | | /* Whether we "own" the buffer - i.e., we know we created it, |
---|
790 | | * and can realloc() it to grow it, and should free() it to |
---|
791 | | * delete it. |
---|
792 | | */ |
---|
793 | | int yy_is_our_buffer; |
---|
794 | | |
---|
795 | | /* Whether this is an "interactive" input source; if so, and |
---|
796 | | * if we're using stdio for input, then we want to use getc() |
---|
797 | | * instead of fread(), to make sure we stop fetching input after |
---|
798 | | * each newline. |
---|
799 | | */ |
---|
800 | | int yy_is_interactive; |
---|
801 | | |
---|
802 | | /* Whether we're considered to be at the beginning of a line. |
---|
803 | | * If so, '^' rules will be active on the next match, otherwise |
---|
804 | | * not. |
---|
805 | | */ |
---|
806 | | int yy_at_bol; |
---|
807 | | |
---|
808 | | int yy_bs_lineno; /**< The line count. */ |
---|
809 | | int yy_bs_column; /**< The column count. */ |
---|
810 | | |
---|
811 | | /* Whether to try to fill the input buffer when we reach the |
---|
812 | | * end of it. |
---|
813 | | */ |
---|
814 | | int yy_fill_buffer; |
---|
815 | | |
---|
816 | | int yy_buffer_status; |
---|
817 | | |
---|
818 | | #define YY_BUFFER_NEW 0 |
---|
819 | | #define YY_BUFFER_NORMAL 1 |
---|
820 | | /* When an EOF's been seen but there's still some text to process |
---|
821 | | * then we mark the buffer as YY_EOF_PENDING, to indicate that we |
---|
822 | | * shouldn't try reading from the input source any more. We might |
---|
823 | | * still have a bunch of tokens to match, though, because of |
---|
824 | | * possible backing-up. |
---|
825 | | * |
---|
826 | | * When we actually see the EOF, we change the status to "new" |
---|
827 | | * (via yyrestart()), so that the user can continue scanning by |
---|
828 | | * just pointing yyin at a new input file. |
---|
829 | | */ |
---|
830 | | #define YY_BUFFER_EOF_PENDING 2 |
---|
831 | | |
---|
832 | | }; |
---|
833 | | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ |
---|
834 | | |
---|
835 | | /* Stack of input buffers. */ |
---|
836 | | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ |
---|
837 | | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ |
---|
838 | | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ |
---|
839 | | |
---|
840 | | /* We provide macros for accessing buffer states in case in the |
---|
841 | | * future we want to put the buffer states in a more general |
---|
842 | | * "scanner state". |
---|
843 | | * |
---|
844 | | * Returns the top of the stack, or NULL. |
---|
845 | | */ |
---|
846 | | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ |
---|
847 | | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ |
---|
848 | | : NULL) |
---|
849 | | |
---|
850 | | /* Same as previous macro, but useful when we know that the buffer stack is not |
---|
851 | | * NULL or when we need an lvalue. For internal use only. |
---|
852 | | */ |
---|
853 | | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
---|
854 | | |
---|
855 | | /* yy_hold_char holds the character lost when yytext is formed. */ |
---|
856 | | static char yy_hold_char; |
---|
857 | | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ |
---|
858 | | yy_size_t yyleng; |
---|
859 | | |
---|
860 | | /* Points to current character in buffer. */ |
---|
861 | | static char *yy_c_buf_p = (char *) 0; |
---|
862 | | static int yy_init = 0; /* whether we need to initialize */ |
---|
863 | | static int yy_start = 0; /* start state number */ |
---|
864 | | |
---|
865 | | /* Flag which is used to allow yywrap()'s to do buffer switches |
---|
866 | | * instead of setting up a fresh yyin. A bit of a hack ... |
---|
867 | | */ |
---|
868 | | static int yy_did_buffer_switch_on_eof; |
---|
869 | | |
---|
870 | | void yyrestart (FILE *input_file ); |
---|
871 | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); |
---|
872 | | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); |
---|
873 | | void yy_delete_buffer (YY_BUFFER_STATE b ); |
---|
874 | | void yy_flush_buffer (YY_BUFFER_STATE b ); |
---|
875 | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); |
---|
876 | | void yypop_buffer_state (void ); |
---|
877 | | |
---|
878 | | static void yyensure_buffer_stack (void ); |
---|
879 | | static void yy_load_buffer_state (void ); |
---|
880 | | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); |
---|
881 | | |
---|
882 | | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) |
---|
883 | | |
---|
884 | | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); |
---|
885 | | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); |
---|
886 | | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); |
---|
887 | | |
---|
888 | | void *yyalloc (yy_size_t ); |
---|
889 | | void *yyrealloc (void *,yy_size_t ); |
---|
890 | | void yyfree (void * ); |
---|
891 | | |
---|
892 | | #define yy_new_buffer yy_create_buffer |
---|
893 | | |
---|
894 | | #define yy_set_interactive(is_interactive) \ |
---|
895 | | { \ |
---|
896 | | if ( ! YY_CURRENT_BUFFER ){ \ |
---|
897 | | yyensure_buffer_stack (); \ |
---|
898 | | YY_CURRENT_BUFFER_LVALUE = \ |
---|
899 | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ |
---|
900 | | } \ |
---|
901 | | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ |
---|
902 | | } |
---|
903 | | |
---|
904 | | #define yy_set_bol(at_bol) \ |
---|
905 | | { \ |
---|
906 | | if ( ! YY_CURRENT_BUFFER ){\ |
---|
907 | | yyensure_buffer_stack (); \ |
---|
908 | | YY_CURRENT_BUFFER_LVALUE = \ |
---|
909 | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ |
---|
910 | | } \ |
---|
911 | | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ |
---|
912 | | } |
---|
913 | | |
---|
914 | | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
---|
915 | | |
---|
916 | | /* Begin user sect3 */ |
---|
917 | | |
---|
918 | | typedef unsigned char YY_CHAR; |
---|
919 | | |
---|
920 | | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; |
---|
921 | | |
---|
922 | | typedef int yy_state_type; |
---|
923 | | |
---|
924 | | extern int yylineno; |
---|
925 | | |
---|
926 | | int yylineno = 1; |
---|
927 | | |
---|
928 | | extern char *yytext; |
---|
929 | | #define yytext_ptr yytext |
---|
930 | | |
---|
931 | | static yy_state_type yy_get_previous_state (void ); |
---|
932 | | static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); |
---|
933 | | static int yy_get_next_buffer (void ); |
---|
934 | | static void yy_fatal_error (yyconst char msg[] ); |
---|
935 | | |
---|
936 | | /* Done after the current pattern has been matched and before the |
---|
937 | | * corresponding action - sets up yytext. |
---|
938 | | */ |
---|
939 | | #define YY_DO_BEFORE_ACTION \ |
---|
940 | | (yytext_ptr) = yy_bp; \ |
---|
941 | | (yytext_ptr) -= (yy_more_len); \ |
---|
942 | | yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \ |
---|
943 | | (yy_hold_char) = *yy_cp; \ |
---|
944 | | *yy_cp = '\0'; \ |
---|
945 | | (yy_c_buf_p) = yy_cp; |
---|
946 | | |
---|
947 | | #define YY_NUM_RULES 8 |
---|
948 | | #define YY_END_OF_BUFFER 9 |
---|
949 | | /* This struct is not used in this scanner, |
---|
950 | | but its presence is necessary. */ |
---|
951 | | struct yy_trans_info |
---|
952 | | { |
---|
953 | | flex_int32_t yy_verify; |
---|
954 | | flex_int32_t yy_nxt; |
---|
955 | | }; |
---|
956 | | static yyconst flex_int16_t yy_acclist[23] = |
---|
957 | | { 0, |
---|
958 | | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, |
---|
959 | | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, |
---|
960 | | 7, 8 |
---|
961 | | } ; |
---|
962 | | |
---|
963 | | static yyconst flex_int16_t yy_accept[14] = |
---|
964 | | { 0, |
---|
965 | | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, |
---|
966 | | 20, 23, 23 |
---|
967 | | } ; |
---|
968 | | |
---|
969 | | static yyconst flex_int32_t yy_ec[256] = |
---|
970 | | { 0, |
---|
971 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, |
---|
972 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
973 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
974 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
975 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
976 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
977 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
978 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
979 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
980 | | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, |
---|
981 | | |
---|
982 | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
983 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
984 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
985 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
986 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
987 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
988 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
989 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
990 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
991 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
992 | | |
---|
993 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
994 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
995 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
996 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
997 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
998 | | 1, 1, 1, 1, 1 |
---|
999 | | } ; |
---|
1000 | | |
---|
1001 | | static yyconst flex_int32_t yy_meta[9] = |
---|
1002 | | { 0, |
---|
1003 | | 1, 1, 1, 1, 1, 1, 1, 1 |
---|
1004 | | } ; |
---|
1005 | | |
---|
1006 | | static yyconst flex_int16_t yy_base[13] = |
---|
1007 | | { 0, |
---|
1008 | | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, |
---|
1009 | | 10, 10 |
---|
1010 | | } ; |
---|
1011 | | |
---|
1012 | | static yyconst flex_int16_t yy_def[13] = |
---|
1013 | | { 0, |
---|
1014 | | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, |
---|
1015 | | 12, 0 |
---|
1016 | | } ; |
---|
1017 | | |
---|
1018 | | static yyconst flex_int16_t yy_nxt[19] = |
---|
1019 | | { 0, |
---|
1020 | | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, |
---|
1021 | | 12, 12, 12, 12, 12, 12, 12, 12 |
---|
1022 | | } ; |
---|
1023 | | |
---|
1024 | | static yyconst flex_int16_t yy_chk[19] = |
---|
1025 | | { 0, |
---|
1026 | | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, |
---|
1027 | | 12, 12, 12, 12, 12, 12, 12, 12 |
---|
1028 | | } ; |
---|
1029 | | |
---|
1030 | | extern int yy_flex_debug; |
---|
1031 | | int yy_flex_debug = 0; |
---|
1032 | | |
---|
1033 | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; |
---|
1034 | | static char *yy_full_match; |
---|
1035 | | static int yy_lp; |
---|
1036 | | #define REJECT \ |
---|
1037 | | { \ |
---|
1038 | | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ |
---|
1039 | | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ |
---|
1040 | | ++(yy_lp); \ |
---|
1041 | | goto find_rule; \ |
---|
1042 | | } |
---|
1043 | | |
---|
1044 | | static int yy_more_flag = 0; |
---|
1045 | | static int yy_more_len = 0; |
---|
1046 | | #define yymore() ((yy_more_flag) = 1) |
---|
1047 | | #define YY_MORE_ADJ (yy_more_len) |
---|
1048 | | #define YY_RESTORE_YY_MORE_OFFSET |
---|
1049 | | char *yytext; |
---|
1050 | | #line 1 "conftest.l" |
---|
1051 | | #line 469 "lex.yy.c" |
---|
1052 | | |
---|
1053 | | #define INITIAL 0 |
---|
1054 | | |
---|
1055 | | #ifndef YY_NO_UNISTD_H |
---|
1056 | | /* Special case for "unistd.h", since it is non-ANSI. We include it way |
---|
1057 | | * down here because we want the user's section 1 to have been scanned first. |
---|
1058 | | * The user has a chance to override it with an option. |
---|
1059 | | */ |
---|
1060 | | #include <unistd.h> |
---|
1061 | | #endif |
---|
1062 | | |
---|
1063 | | #ifndef YY_EXTRA_TYPE |
---|
1064 | | #define YY_EXTRA_TYPE void * |
---|
1065 | | #endif |
---|
1066 | | |
---|
1067 | | static int yy_init_globals (void ); |
---|
1068 | | |
---|
1069 | | /* Accessor methods to globals. |
---|
1070 | | These are made visible to non-reentrant scanners for convenience. */ |
---|
1071 | | |
---|
1072 | | int yylex_destroy (void ); |
---|
1073 | | |
---|
1074 | | int yyget_debug (void ); |
---|
1075 | | |
---|
1076 | | void yyset_debug (int debug_flag ); |
---|
1077 | | |
---|
1078 | | YY_EXTRA_TYPE yyget_extra (void ); |
---|
1079 | | |
---|
1080 | | void yyset_extra (YY_EXTRA_TYPE user_defined ); |
---|
1081 | | |
---|
1082 | | FILE *yyget_in (void ); |
---|
1083 | | |
---|
1084 | | void yyset_in (FILE * in_str ); |
---|
1085 | | |
---|
1086 | | FILE *yyget_out (void ); |
---|
1087 | | |
---|
1088 | | void yyset_out (FILE * out_str ); |
---|
1089 | | |
---|
1090 | | yy_size_t yyget_leng (void ); |
---|
1091 | | |
---|
1092 | | char *yyget_text (void ); |
---|
1093 | | |
---|
1094 | | int yyget_lineno (void ); |
---|
1095 | | |
---|
1096 | | void yyset_lineno (int line_number ); |
---|
1097 | | |
---|
1098 | | /* Macros after this point can all be overridden by user definitions in |
---|
1099 | | * section 1. |
---|
1100 | | */ |
---|
1101 | | |
---|
1102 | | #ifndef YY_SKIP_YYWRAP |
---|
1103 | | #ifdef __cplusplus |
---|
1104 | | extern "C" int yywrap (void ); |
---|
1105 | | #else |
---|
1106 | | extern int yywrap (void ); |
---|
1107 | | #endif |
---|
1108 | | #endif |
---|
1109 | | |
---|
1110 | | static void yyunput (int c,char *buf_ptr ); |
---|
1111 | | |
---|
1112 | | #ifndef yytext_ptr |
---|
1113 | | static void yy_flex_strncpy (char *,yyconst char *,int ); |
---|
1114 | | #endif |
---|
1115 | | |
---|
1116 | | #ifdef YY_NEED_STRLEN |
---|
1117 | | static int yy_flex_strlen (yyconst char * ); |
---|
1118 | | #endif |
---|
1119 | | |
---|
1120 | | #ifndef YY_NO_INPUT |
---|
1121 | | |
---|
1122 | | #ifdef __cplusplus |
---|
1123 | | static int yyinput (void ); |
---|
1124 | | #else |
---|
1125 | | static int input (void ); |
---|
1126 | | #endif |
---|
1127 | | |
---|
1128 | | #endif |
---|
1129 | | |
---|
1130 | | /* Amount of stuff to slurp up with each read. */ |
---|
1131 | | #ifndef YY_READ_BUF_SIZE |
---|
1132 | | #define YY_READ_BUF_SIZE 8192 |
---|
1133 | | #endif |
---|
1134 | | |
---|
1135 | | /* Copy whatever the last rule matched to the standard output. */ |
---|
1136 | | #ifndef ECHO |
---|
1137 | | /* This used to be an fputs(), but since the string might contain NUL's, |
---|
1138 | | * we now use fwrite(). |
---|
1139 | | */ |
---|
1140 | | #define ECHO fwrite( yytext, yyleng, 1, yyout ) |
---|
1141 | | #endif |
---|
1142 | | |
---|
1143 | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
---|
1144 | | * is returned in "result". |
---|
1145 | | */ |
---|
1146 | | #ifndef YY_INPUT |
---|
1147 | | #define YY_INPUT(buf,result,max_size) \ |
---|
1148 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ |
---|
1149 | | { \ |
---|
1150 | | int c = '*'; \ |
---|
1151 | | yy_size_t n; \ |
---|
1152 | | for ( n = 0; n < max_size && \ |
---|
1153 | | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ |
---|
1154 | | buf[n] = (char) c; \ |
---|
1155 | | if ( c == '\n' ) \ |
---|
1156 | | buf[n++] = (char) c; \ |
---|
1157 | | if ( c == EOF && ferror( yyin ) ) \ |
---|
1158 | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
---|
1159 | | result = n; \ |
---|
1160 | | } \ |
---|
1161 | | else \ |
---|
1162 | | { \ |
---|
1163 | | errno=0; \ |
---|
1164 | | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ |
---|
1165 | | { \ |
---|
1166 | | if( errno != EINTR) \ |
---|
1167 | | { \ |
---|
1168 | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
---|
1169 | | break; \ |
---|
1170 | | } \ |
---|
1171 | | errno=0; \ |
---|
1172 | | clearerr(yyin); \ |
---|
1173 | | } \ |
---|
1174 | | }\ |
---|
1175 | | \ |
---|
1176 | | |
---|
1177 | | #endif |
---|
1178 | | |
---|
1179 | | /* No semi-colon after return; correct usage is to write "yyterminate();" - |
---|
1180 | | * we don't want an extra ';' after the "return" because that will cause |
---|
1181 | | * some compilers to complain about unreachable statements. |
---|
1182 | | */ |
---|
1183 | | #ifndef yyterminate |
---|
1184 | | #define yyterminate() return YY_NULL |
---|
1185 | | #endif |
---|
1186 | | |
---|
1187 | | /* Number of entries by which start-condition stack grows. */ |
---|
1188 | | #ifndef YY_START_STACK_INCR |
---|
1189 | | #define YY_START_STACK_INCR 25 |
---|
1190 | | #endif |
---|
1191 | | |
---|
1192 | | /* Report a fatal error. */ |
---|
1193 | | #ifndef YY_FATAL_ERROR |
---|
1194 | | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
---|
1195 | | #endif |
---|
1196 | | |
---|
1197 | | /* end tables serialization structures and prototypes */ |
---|
1198 | | |
---|
1199 | | /* Default declaration of generated scanner - a define so the user can |
---|
1200 | | * easily add parameters. |
---|
1201 | | */ |
---|
1202 | | #ifndef YY_DECL |
---|
1203 | | #define YY_DECL_IS_OURS 1 |
---|
1204 | | |
---|
1205 | | extern int yylex (void); |
---|
1206 | | |
---|
1207 | | #define YY_DECL int yylex (void) |
---|
1208 | | #endif /* !YY_DECL */ |
---|
1209 | | |
---|
1210 | | /* Code executed at the beginning of each rule, after yytext and yyleng |
---|
1211 | | * have been set up. |
---|
1212 | | */ |
---|
1213 | | #ifndef YY_USER_ACTION |
---|
1214 | | #define YY_USER_ACTION |
---|
1215 | | #endif |
---|
1216 | | |
---|
1217 | | /* Code executed at the end of each rule. */ |
---|
1218 | | #ifndef YY_BREAK |
---|
1219 | | #define YY_BREAK break; |
---|
1220 | | #endif |
---|
1221 | | |
---|
1222 | | #define YY_RULE_SETUP \ |
---|
1223 | | YY_USER_ACTION |
---|
1224 | | |
---|
1225 | | /** The main scanner function which does all the work. |
---|
1226 | | */ |
---|
1227 | | YY_DECL |
---|
1228 | | { |
---|
1229 | | register yy_state_type yy_current_state; |
---|
1230 | | register char *yy_cp, *yy_bp; |
---|
1231 | | register int yy_act; |
---|
1232 | | |
---|
1233 | | #line 1 "conftest.l" |
---|
1234 | | |
---|
1235 | | #line 653 "lex.yy.c" |
---|
1236 | | |
---|
1237 | | if ( !(yy_init) ) |
---|
1238 | | { |
---|
1239 | | (yy_init) = 1; |
---|
1240 | | |
---|
1241 | | #ifdef YY_USER_INIT |
---|
1242 | | YY_USER_INIT; |
---|
1243 | | #endif |
---|
1244 | | |
---|
1245 | | /* Create the reject buffer large enough to save one state per allowed character. */ |
---|
1246 | | if ( ! (yy_state_buf) ) |
---|
1247 | | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); |
---|
1248 | | if ( ! (yy_state_buf) ) |
---|
1249 | | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); |
---|
1250 | | |
---|
1251 | | if ( ! (yy_start) ) |
---|
1252 | | (yy_start) = 1; /* first start state */ |
---|
1253 | | |
---|
1254 | | if ( ! yyin ) |
---|
1255 | | yyin = stdin; |
---|
1256 | | |
---|
1257 | | if ( ! yyout ) |
---|
1258 | | yyout = stdout; |
---|
1259 | | |
---|
1260 | | if ( ! YY_CURRENT_BUFFER ) { |
---|
1261 | | yyensure_buffer_stack (); |
---|
1262 | | YY_CURRENT_BUFFER_LVALUE = |
---|
1263 | | yy_create_buffer(yyin,YY_BUF_SIZE ); |
---|
1264 | | } |
---|
1265 | | |
---|
1266 | | yy_load_buffer_state( ); |
---|
1267 | | } |
---|
1268 | | |
---|
1269 | | while ( 1 ) /* loops until end-of-file is reached */ |
---|
1270 | | { |
---|
1271 | | (yy_more_len) = 0; |
---|
1272 | | if ( (yy_more_flag) ) |
---|
1273 | | { |
---|
1274 | | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); |
---|
1275 | | (yy_more_flag) = 0; |
---|
1276 | | } |
---|
1277 | | yy_cp = (yy_c_buf_p); |
---|
1278 | | |
---|
1279 | | /* Support of yytext. */ |
---|
1280 | | *yy_cp = (yy_hold_char); |
---|
1281 | | |
---|
1282 | | /* yy_bp points to the position in yy_ch_buf of the start of |
---|
1283 | | * the current run. |
---|
1284 | | */ |
---|
1285 | | yy_bp = yy_cp; |
---|
1286 | | |
---|
1287 | | yy_current_state = (yy_start); |
---|
1288 | | |
---|
1289 | | (yy_state_ptr) = (yy_state_buf); |
---|
1290 | | *(yy_state_ptr)++ = yy_current_state; |
---|
1291 | | |
---|
1292 | | yy_match: |
---|
1293 | | do |
---|
1294 | | { |
---|
1295 | | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; |
---|
1296 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
1297 | | { |
---|
1298 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
1299 | | if ( yy_current_state >= 13 ) |
---|
1300 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
1301 | | } |
---|
1302 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
1303 | | *(yy_state_ptr)++ = yy_current_state; |
---|
1304 | | ++yy_cp; |
---|
1305 | | } |
---|
1306 | | while ( yy_base[yy_current_state] != 10 ); |
---|
1307 | | |
---|
1308 | | yy_find_action: |
---|
1309 | | yy_current_state = *--(yy_state_ptr); |
---|
1310 | | (yy_lp) = yy_accept[yy_current_state]; |
---|
1311 | | goto find_rule; /* Shut up GCC warning -Wall */ |
---|
1312 | | find_rule: /* we branch to this label when backing up */ |
---|
1313 | | for ( ; ; ) /* until we find what rule we matched */ |
---|
1314 | | { |
---|
1315 | | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) |
---|
1316 | | { |
---|
1317 | | yy_act = yy_acclist[(yy_lp)]; |
---|
1318 | | { |
---|
1319 | | (yy_full_match) = yy_cp; |
---|
1320 | | break; |
---|
1321 | | } |
---|
1322 | | } |
---|
1323 | | --yy_cp; |
---|
1324 | | yy_current_state = *--(yy_state_ptr); |
---|
1325 | | (yy_lp) = yy_accept[yy_current_state]; |
---|
1326 | | } |
---|
1327 | | |
---|
1328 | | YY_DO_BEFORE_ACTION; |
---|
1329 | | |
---|
1330 | | do_action: /* This label is used only to access EOF actions. */ |
---|
1331 | | |
---|
1332 | | switch ( yy_act ) |
---|
1333 | | { /* beginning of action switch */ |
---|
1334 | | case 1: |
---|
1335 | | YY_RULE_SETUP |
---|
1336 | | #line 2 "conftest.l" |
---|
1337 | | { ECHO; } |
---|
1338 | | YY_BREAK |
---|
1339 | | case 2: |
---|
1340 | | YY_RULE_SETUP |
---|
1341 | | #line 3 "conftest.l" |
---|
1342 | | { REJECT; } |
---|
1343 | | YY_BREAK |
---|
1344 | | case 3: |
---|
1345 | | YY_RULE_SETUP |
---|
1346 | | #line 4 "conftest.l" |
---|
1347 | | { yymore (); } |
---|
1348 | | YY_BREAK |
---|
1349 | | case 4: |
---|
1350 | | YY_RULE_SETUP |
---|
1351 | | #line 5 "conftest.l" |
---|
1352 | | { yyless (1); } |
---|
1353 | | YY_BREAK |
---|
1354 | | case 5: |
---|
1355 | | YY_RULE_SETUP |
---|
1356 | | #line 6 "conftest.l" |
---|
1357 | | { yyless (input () != 0); } |
---|
1358 | | YY_BREAK |
---|
1359 | | case 6: |
---|
1360 | | YY_RULE_SETUP |
---|
1361 | | #line 7 "conftest.l" |
---|
1362 | | { unput (yytext[0]); } |
---|
1363 | | YY_BREAK |
---|
1364 | | case 7: |
---|
1365 | | YY_RULE_SETUP |
---|
1366 | | #line 8 "conftest.l" |
---|
1367 | | { BEGIN INITIAL; } |
---|
1368 | | YY_BREAK |
---|
1369 | | case 8: |
---|
1370 | | YY_RULE_SETUP |
---|
1371 | | #line 9 "conftest.l" |
---|
1372 | | ECHO; |
---|
1373 | | YY_BREAK |
---|
1374 | | #line 792 "lex.yy.c" |
---|
1375 | | case YY_STATE_EOF(INITIAL): |
---|
1376 | | yyterminate(); |
---|
1377 | | |
---|
1378 | | case YY_END_OF_BUFFER: |
---|
1379 | | { |
---|
1380 | | /* Amount of text matched not including the EOB char. */ |
---|
1381 | | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; |
---|
1382 | | |
---|
1383 | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ |
---|
1384 | | *yy_cp = (yy_hold_char); |
---|
1385 | | YY_RESTORE_YY_MORE_OFFSET |
---|
1386 | | |
---|
1387 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) |
---|
1388 | | { |
---|
1389 | | /* We're scanning a new file or input source. It's |
---|
1390 | | * possible that this happened because the user |
---|
1391 | | * just pointed yyin at a new source and called |
---|
1392 | | * yylex(). If so, then we have to assure |
---|
1393 | | * consistency between YY_CURRENT_BUFFER and our |
---|
1394 | | * globals. Here is the right place to do so, because |
---|
1395 | | * this is the first action (other than possibly a |
---|
1396 | | * back-up) that will match for the new input source. |
---|
1397 | | */ |
---|
1398 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; |
---|
1399 | | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; |
---|
1400 | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; |
---|
1401 | | } |
---|
1402 | | |
---|
1403 | | /* Note that here we test for yy_c_buf_p "<=" to the position |
---|
1404 | | * of the first EOB in the buffer, since yy_c_buf_p will |
---|
1405 | | * already have been incremented past the NUL character |
---|
1406 | | * (since all states make transitions on EOB to the |
---|
1407 | | * end-of-buffer state). Contrast this with the test |
---|
1408 | | * in input(). |
---|
1409 | | */ |
---|
1410 | | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) |
---|
1411 | | { /* This was really a NUL. */ |
---|
1412 | | yy_state_type yy_next_state; |
---|
1413 | | |
---|
1414 | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; |
---|
1415 | | |
---|
1416 | | yy_current_state = yy_get_previous_state( ); |
---|
1417 | | |
---|
1418 | | /* Okay, we're now positioned to make the NUL |
---|
1419 | | * transition. We couldn't have |
---|
1420 | | * yy_get_previous_state() go ahead and do it |
---|
1421 | | * for us because it doesn't know how to deal |
---|
1422 | | * with the possibility of jamming (and we don't |
---|
1423 | | * want to build jamming into it because then it |
---|
1424 | | * will run more slowly). |
---|
1425 | | */ |
---|
1426 | | |
---|
1427 | | yy_next_state = yy_try_NUL_trans( yy_current_state ); |
---|
1428 | | |
---|
1429 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
1430 | | |
---|
1431 | | if ( yy_next_state ) |
---|
1432 | | { |
---|
1433 | | /* Consume the NUL. */ |
---|
1434 | | yy_cp = ++(yy_c_buf_p); |
---|
1435 | | yy_current_state = yy_next_state; |
---|
1436 | | goto yy_match; |
---|
1437 | | } |
---|
1438 | | |
---|
1439 | | else |
---|
1440 | | { |
---|
1441 | | yy_cp = (yy_c_buf_p); |
---|
1442 | | goto yy_find_action; |
---|
1443 | | } |
---|
1444 | | } |
---|
1445 | | |
---|
1446 | | else switch ( yy_get_next_buffer( ) ) |
---|
1447 | | { |
---|
1448 | | case EOB_ACT_END_OF_FILE: |
---|
1449 | | { |
---|
1450 | | (yy_did_buffer_switch_on_eof) = 0; |
---|
1451 | | |
---|
1452 | | if ( yywrap( ) ) |
---|
1453 | | { |
---|
1454 | | /* Note: because we've taken care in |
---|
1455 | | * yy_get_next_buffer() to have set up |
---|
1456 | | * yytext, we can now set up |
---|
1457 | | * yy_c_buf_p so that if some total |
---|
1458 | | * hoser (like flex itself) wants to |
---|
1459 | | * call the scanner after we return the |
---|
1460 | | * YY_NULL, it'll still work - another |
---|
1461 | | * YY_NULL will get returned. |
---|
1462 | | */ |
---|
1463 | | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; |
---|
1464 | | |
---|
1465 | | yy_act = YY_STATE_EOF(YY_START); |
---|
1466 | | goto do_action; |
---|
1467 | | } |
---|
1468 | | |
---|
1469 | | else |
---|
1470 | | { |
---|
1471 | | if ( ! (yy_did_buffer_switch_on_eof) ) |
---|
1472 | | YY_NEW_FILE; |
---|
1473 | | } |
---|
1474 | | break; |
---|
1475 | | } |
---|
1476 | | |
---|
1477 | | case EOB_ACT_CONTINUE_SCAN: |
---|
1478 | | (yy_c_buf_p) = |
---|
1479 | | (yytext_ptr) + yy_amount_of_matched_text; |
---|
1480 | | |
---|
1481 | | yy_current_state = yy_get_previous_state( ); |
---|
1482 | | |
---|
1483 | | yy_cp = (yy_c_buf_p); |
---|
1484 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
1485 | | goto yy_match; |
---|
1486 | | |
---|
1487 | | case EOB_ACT_LAST_MATCH: |
---|
1488 | | (yy_c_buf_p) = |
---|
1489 | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; |
---|
1490 | | |
---|
1491 | | yy_current_state = yy_get_previous_state( ); |
---|
1492 | | |
---|
1493 | | yy_cp = (yy_c_buf_p); |
---|
1494 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
1495 | | goto yy_find_action; |
---|
1496 | | } |
---|
1497 | | break; |
---|
1498 | | } |
---|
1499 | | |
---|
1500 | | default: |
---|
1501 | | YY_FATAL_ERROR( |
---|
1502 | | "fatal flex scanner internal error--no action found" ); |
---|
1503 | | } /* end of action switch */ |
---|
1504 | | } /* end of scanning one token */ |
---|
1505 | | } /* end of yylex */ |
---|
1506 | | |
---|
1507 | | /* yy_get_next_buffer - try to read in a new buffer |
---|
1508 | | * |
---|
1509 | | * Returns a code representing an action: |
---|
1510 | | * EOB_ACT_LAST_MATCH - |
---|
1511 | | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position |
---|
1512 | | * EOB_ACT_END_OF_FILE - end of file |
---|
1513 | | */ |
---|
1514 | | static int yy_get_next_buffer (void) |
---|
1515 | | { |
---|
1516 | | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; |
---|
1517 | | register char *source = (yytext_ptr); |
---|
1518 | | register int number_to_move, i; |
---|
1519 | | int ret_val; |
---|
1520 | | |
---|
1521 | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) |
---|
1522 | | YY_FATAL_ERROR( |
---|
1523 | | "fatal flex scanner internal error--end of buffer missed" ); |
---|
1524 | | |
---|
1525 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) |
---|
1526 | | { /* Don't try to fill the buffer, so this is an EOF. */ |
---|
1527 | | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) |
---|
1528 | | { |
---|
1529 | | /* We matched a single character, the EOB, so |
---|
1530 | | * treat this as a final EOF. |
---|
1531 | | */ |
---|
1532 | | return EOB_ACT_END_OF_FILE; |
---|
1533 | | } |
---|
1534 | | |
---|
1535 | | else |
---|
1536 | | { |
---|
1537 | | /* We matched some text prior to the EOB, first |
---|
1538 | | * process it. |
---|
1539 | | */ |
---|
1540 | | return EOB_ACT_LAST_MATCH; |
---|
1541 | | } |
---|
1542 | | } |
---|
1543 | | |
---|
1544 | | /* Try to read more data. */ |
---|
1545 | | |
---|
1546 | | /* First move last chars to start of buffer. */ |
---|
1547 | | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; |
---|
1548 | | |
---|
1549 | | for ( i = 0; i < number_to_move; ++i ) |
---|
1550 | | *(dest++) = *(source++); |
---|
1551 | | |
---|
1552 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) |
---|
1553 | | /* don't do the read, it's not guaranteed to return an EOF, |
---|
1554 | | * just force an EOF |
---|
1555 | | */ |
---|
1556 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; |
---|
1557 | | |
---|
1558 | | else |
---|
1559 | | { |
---|
1560 | | yy_size_t num_to_read = |
---|
1561 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; |
---|
1562 | | |
---|
1563 | | while ( num_to_read <= 0 ) |
---|
1564 | | { /* Not enough room in the buffer - grow it. */ |
---|
1565 | | |
---|
1566 | | YY_FATAL_ERROR( |
---|
1567 | | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); |
---|
1568 | | |
---|
1569 | | } |
---|
1570 | | |
---|
1571 | | if ( num_to_read > YY_READ_BUF_SIZE ) |
---|
1572 | | num_to_read = YY_READ_BUF_SIZE; |
---|
1573 | | |
---|
1574 | | /* Read in more data. */ |
---|
1575 | | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), |
---|
1576 | | (yy_n_chars), num_to_read ); |
---|
1577 | | |
---|
1578 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
1579 | | } |
---|
1580 | | |
---|
1581 | | if ( (yy_n_chars) == 0 ) |
---|
1582 | | { |
---|
1583 | | if ( number_to_move == YY_MORE_ADJ ) |
---|
1584 | | { |
---|
1585 | | ret_val = EOB_ACT_END_OF_FILE; |
---|
1586 | | yyrestart(yyin ); |
---|
1587 | | } |
---|
1588 | | |
---|
1589 | | else |
---|
1590 | | { |
---|
1591 | | ret_val = EOB_ACT_LAST_MATCH; |
---|
1592 | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = |
---|
1593 | | YY_BUFFER_EOF_PENDING; |
---|
1594 | | } |
---|
1595 | | } |
---|
1596 | | |
---|
1597 | | else |
---|
1598 | | ret_val = EOB_ACT_CONTINUE_SCAN; |
---|
1599 | | |
---|
1600 | | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { |
---|
1601 | | /* Extend the array by 50%, plus the number we really need. */ |
---|
1602 | | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); |
---|
1603 | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); |
---|
1604 | | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) |
---|
1605 | | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); |
---|
1606 | | } |
---|
1607 | | |
---|
1608 | | (yy_n_chars) += number_to_move; |
---|
1609 | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; |
---|
1610 | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; |
---|
1611 | | |
---|
1612 | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; |
---|
1613 | | |
---|
1614 | | return ret_val; |
---|
1615 | | } |
---|
1616 | | |
---|
1617 | | /* yy_get_previous_state - get the state just before the EOB char was reached */ |
---|
1618 | | |
---|
1619 | | static yy_state_type yy_get_previous_state (void) |
---|
1620 | | { |
---|
1621 | | register yy_state_type yy_current_state; |
---|
1622 | | register char *yy_cp; |
---|
1623 | | |
---|
1624 | | yy_current_state = (yy_start); |
---|
1625 | | |
---|
1626 | | (yy_state_ptr) = (yy_state_buf); |
---|
1627 | | *(yy_state_ptr)++ = yy_current_state; |
---|
1628 | | |
---|
1629 | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) |
---|
1630 | | { |
---|
1631 | | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); |
---|
1632 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
1633 | | { |
---|
1634 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
1635 | | if ( yy_current_state >= 13 ) |
---|
1636 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
1637 | | } |
---|
1638 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
1639 | | *(yy_state_ptr)++ = yy_current_state; |
---|
1640 | | } |
---|
1641 | | |
---|
1642 | | return yy_current_state; |
---|
1643 | | } |
---|
1644 | | |
---|
1645 | | /* yy_try_NUL_trans - try to make a transition on the NUL character |
---|
1646 | | * |
---|
1647 | | * synopsis |
---|
1648 | | * next_state = yy_try_NUL_trans( current_state ); |
---|
1649 | | */ |
---|
1650 | | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) |
---|
1651 | | { |
---|
1652 | | register int yy_is_jam; |
---|
1653 | | |
---|
1654 | | register YY_CHAR yy_c = 1; |
---|
1655 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
1656 | | { |
---|
1657 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
1658 | | if ( yy_current_state >= 13 ) |
---|
1659 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
1660 | | } |
---|
1661 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
1662 | | yy_is_jam = (yy_current_state == 12); |
---|
1663 | | if ( ! yy_is_jam ) |
---|
1664 | | *(yy_state_ptr)++ = yy_current_state; |
---|
1665 | | |
---|
1666 | | return yy_is_jam ? 0 : yy_current_state; |
---|
1667 | | } |
---|
1668 | | |
---|
1669 | | static void yyunput (int c, register char * yy_bp ) |
---|
1670 | | { |
---|
1671 | | register char *yy_cp; |
---|
1672 | | |
---|
1673 | | yy_cp = (yy_c_buf_p); |
---|
1674 | | |
---|
1675 | | /* undo effects of setting up yytext */ |
---|
1676 | | *yy_cp = (yy_hold_char); |
---|
1677 | | |
---|
1678 | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) |
---|
1679 | | { /* need to shift things up to make room */ |
---|
1680 | | /* +2 for EOB chars. */ |
---|
1681 | | register yy_size_t number_to_move = (yy_n_chars) + 2; |
---|
1682 | | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ |
---|
1683 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; |
---|
1684 | | register char *source = |
---|
1685 | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; |
---|
1686 | | |
---|
1687 | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) |
---|
1688 | | *--dest = *--source; |
---|
1689 | | |
---|
1690 | | yy_cp += (int) (dest - source); |
---|
1691 | | yy_bp += (int) (dest - source); |
---|
1692 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = |
---|
1693 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; |
---|
1694 | | |
---|
1695 | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) |
---|
1696 | | YY_FATAL_ERROR( "flex scanner push-back overflow" ); |
---|
1697 | | } |
---|
1698 | | |
---|
1699 | | *--yy_cp = (char) c; |
---|
1700 | | |
---|
1701 | | (yytext_ptr) = yy_bp; |
---|
1702 | | (yy_hold_char) = *yy_cp; |
---|
1703 | | (yy_c_buf_p) = yy_cp; |
---|
1704 | | } |
---|
1705 | | |
---|
1706 | | #ifndef YY_NO_INPUT |
---|
1707 | | #ifdef __cplusplus |
---|
1708 | | static int yyinput (void) |
---|
1709 | | #else |
---|
1710 | | static int input (void) |
---|
1711 | | #endif |
---|
1712 | | |
---|
1713 | | { |
---|
1714 | | int c; |
---|
1715 | | |
---|
1716 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
1717 | | |
---|
1718 | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) |
---|
1719 | | { |
---|
1720 | | /* yy_c_buf_p now points to the character we want to return. |
---|
1721 | | * If this occurs *before* the EOB characters, then it's a |
---|
1722 | | * valid NUL; if not, then we've hit the end of the buffer. |
---|
1723 | | */ |
---|
1724 | | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) |
---|
1725 | | /* This was really a NUL. */ |
---|
1726 | | *(yy_c_buf_p) = '\0'; |
---|
1727 | | |
---|
1728 | | else |
---|
1729 | | { /* need more input */ |
---|
1730 | | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); |
---|
1731 | | ++(yy_c_buf_p); |
---|
1732 | | |
---|
1733 | | switch ( yy_get_next_buffer( ) ) |
---|
1734 | | { |
---|
1735 | | case EOB_ACT_LAST_MATCH: |
---|
1736 | | /* This happens because yy_g_n_b() |
---|
1737 | | * sees that we've accumulated a |
---|
1738 | | * token and flags that we need to |
---|
1739 | | * try matching the token before |
---|
1740 | | * proceeding. But for input(), |
---|
1741 | | * there's no matching to consider. |
---|
1742 | | * So convert the EOB_ACT_LAST_MATCH |
---|
1743 | | * to EOB_ACT_END_OF_FILE. |
---|
1744 | | */ |
---|
1745 | | |
---|
1746 | | /* Reset buffer status. */ |
---|
1747 | | yyrestart(yyin ); |
---|
1748 | | |
---|
1749 | | /*FALLTHROUGH*/ |
---|
1750 | | |
---|
1751 | | case EOB_ACT_END_OF_FILE: |
---|
1752 | | { |
---|
1753 | | if ( yywrap( ) ) |
---|
1754 | | return 0; |
---|
1755 | | |
---|
1756 | | if ( ! (yy_did_buffer_switch_on_eof) ) |
---|
1757 | | YY_NEW_FILE; |
---|
1758 | | #ifdef __cplusplus |
---|
1759 | | return yyinput(); |
---|
1760 | | #else |
---|
1761 | | return input(); |
---|
1762 | | #endif |
---|
1763 | | } |
---|
1764 | | |
---|
1765 | | case EOB_ACT_CONTINUE_SCAN: |
---|
1766 | | (yy_c_buf_p) = (yytext_ptr) + offset; |
---|
1767 | | break; |
---|
1768 | | } |
---|
1769 | | } |
---|
1770 | | } |
---|
1771 | | |
---|
1772 | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ |
---|
1773 | | *(yy_c_buf_p) = '\0'; /* preserve yytext */ |
---|
1774 | | (yy_hold_char) = *++(yy_c_buf_p); |
---|
1775 | | |
---|
1776 | | return c; |
---|
1777 | | } |
---|
1778 | | #endif /* ifndef YY_NO_INPUT */ |
---|
1779 | | |
---|
1780 | | /** Immediately switch to a different input stream. |
---|
1781 | | * @param input_file A readable stream. |
---|
1782 | | * |
---|
1783 | | * @note This function does not reset the start condition to @c INITIAL . |
---|
1784 | | */ |
---|
1785 | | void yyrestart (FILE * input_file ) |
---|
1786 | | { |
---|
1787 | | |
---|
1788 | | if ( ! YY_CURRENT_BUFFER ){ |
---|
1789 | | yyensure_buffer_stack (); |
---|
1790 | | YY_CURRENT_BUFFER_LVALUE = |
---|
1791 | | yy_create_buffer(yyin,YY_BUF_SIZE ); |
---|
1792 | | } |
---|
1793 | | |
---|
1794 | | yy_init_buffer(YY_CURRENT_BUFFER,input_file ); |
---|
1795 | | yy_load_buffer_state( ); |
---|
1796 | | } |
---|
1797 | | |
---|
1798 | | /** Switch to a different input buffer. |
---|
1799 | | * @param new_buffer The new input buffer. |
---|
1800 | | * |
---|
1801 | | */ |
---|
1802 | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) |
---|
1803 | | { |
---|
1804 | | |
---|
1805 | | /* TODO. We should be able to replace this entire function body |
---|
1806 | | * with |
---|
1807 | | * yypop_buffer_state(); |
---|
1808 | | * yypush_buffer_state(new_buffer); |
---|
1809 | | */ |
---|
1810 | | yyensure_buffer_stack (); |
---|
1811 | | if ( YY_CURRENT_BUFFER == new_buffer ) |
---|
1812 | | return; |
---|
1813 | | |
---|
1814 | | if ( YY_CURRENT_BUFFER ) |
---|
1815 | | { |
---|
1816 | | /* Flush out information for old buffer. */ |
---|
1817 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
1818 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); |
---|
1819 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
1820 | | } |
---|
1821 | | |
---|
1822 | | YY_CURRENT_BUFFER_LVALUE = new_buffer; |
---|
1823 | | yy_load_buffer_state( ); |
---|
1824 | | |
---|
1825 | | /* We don't actually know whether we did this switch during |
---|
1826 | | * EOF (yywrap()) processing, but the only time this flag |
---|
1827 | | * is looked at is after yywrap() is called, so it's safe |
---|
1828 | | * to go ahead and always set it. |
---|
1829 | | */ |
---|
1830 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
1831 | | } |
---|
1832 | | |
---|
1833 | | static void yy_load_buffer_state (void) |
---|
1834 | | { |
---|
1835 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; |
---|
1836 | | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; |
---|
1837 | | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; |
---|
1838 | | (yy_hold_char) = *(yy_c_buf_p); |
---|
1839 | | } |
---|
1840 | | |
---|
1841 | | /** Allocate and initialize an input buffer state. |
---|
1842 | | * @param file A readable stream. |
---|
1843 | | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. |
---|
1844 | | * |
---|
1845 | | * @return the allocated buffer state. |
---|
1846 | | */ |
---|
1847 | | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) |
---|
1848 | | { |
---|
1849 | | YY_BUFFER_STATE b; |
---|
1850 | | |
---|
1851 | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); |
---|
1852 | | if ( ! b ) |
---|
1853 | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
---|
1854 | | |
---|
1855 | | b->yy_buf_size = size; |
---|
1856 | | |
---|
1857 | | /* yy_ch_buf has to be 2 characters longer than the size given because |
---|
1858 | | * we need to put in 2 end-of-buffer characters. |
---|
1859 | | */ |
---|
1860 | | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); |
---|
1861 | | if ( ! b->yy_ch_buf ) |
---|
1862 | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
---|
1863 | | |
---|
1864 | | b->yy_is_our_buffer = 1; |
---|
1865 | | |
---|
1866 | | yy_init_buffer(b,file ); |
---|
1867 | | |
---|
1868 | | return b; |
---|
1869 | | } |
---|
1870 | | |
---|
1871 | | /** Destroy the buffer. |
---|
1872 | | * @param b a buffer created with yy_create_buffer() |
---|
1873 | | * |
---|
1874 | | */ |
---|
1875 | | void yy_delete_buffer (YY_BUFFER_STATE b ) |
---|
1876 | | { |
---|
1877 | | |
---|
1878 | | if ( ! b ) |
---|
1879 | | return; |
---|
1880 | | |
---|
1881 | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ |
---|
1882 | | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; |
---|
1883 | | |
---|
1884 | | if ( b->yy_is_our_buffer ) |
---|
1885 | | yyfree((void *) b->yy_ch_buf ); |
---|
1886 | | |
---|
1887 | | yyfree((void *) b ); |
---|
1888 | | } |
---|
1889 | | |
---|
1890 | | #ifndef __cplusplus |
---|
1891 | | extern int isatty (int ); |
---|
1892 | | #endif /* __cplusplus */ |
---|
1893 | | |
---|
1894 | | /* Initializes or reinitializes a buffer. |
---|
1895 | | * This function is sometimes called more than once on the same buffer, |
---|
1896 | | * such as during a yyrestart() or at EOF. |
---|
1897 | | */ |
---|
1898 | | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) |
---|
1899 | | |
---|
1900 | | { |
---|
1901 | | int oerrno = errno; |
---|
1902 | | |
---|
1903 | | yy_flush_buffer(b ); |
---|
1904 | | |
---|
1905 | | b->yy_input_file = file; |
---|
1906 | | b->yy_fill_buffer = 1; |
---|
1907 | | |
---|
1908 | | /* If b is the current buffer, then yy_init_buffer was _probably_ |
---|
1909 | | * called from yyrestart() or through yy_get_next_buffer. |
---|
1910 | | * In that case, we don't want to reset the lineno or column. |
---|
1911 | | */ |
---|
1912 | | if (b != YY_CURRENT_BUFFER){ |
---|
1913 | | b->yy_bs_lineno = 1; |
---|
1914 | | b->yy_bs_column = 0; |
---|
1915 | | } |
---|
1916 | | |
---|
1917 | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; |
---|
1918 | | |
---|
1919 | | errno = oerrno; |
---|
1920 | | } |
---|
1921 | | |
---|
1922 | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. |
---|
1923 | | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. |
---|
1924 | | * |
---|
1925 | | */ |
---|
1926 | | void yy_flush_buffer (YY_BUFFER_STATE b ) |
---|
1927 | | { |
---|
1928 | | if ( ! b ) |
---|
1929 | | return; |
---|
1930 | | |
---|
1931 | | b->yy_n_chars = 0; |
---|
1932 | | |
---|
1933 | | /* We always need two end-of-buffer characters. The first causes |
---|
1934 | | * a transition to the end-of-buffer state. The second causes |
---|
1935 | | * a jam in that state. |
---|
1936 | | */ |
---|
1937 | | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; |
---|
1938 | | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; |
---|
1939 | | |
---|
1940 | | b->yy_buf_pos = &b->yy_ch_buf[0]; |
---|
1941 | | |
---|
1942 | | b->yy_at_bol = 1; |
---|
1943 | | b->yy_buffer_status = YY_BUFFER_NEW; |
---|
1944 | | |
---|
1945 | | if ( b == YY_CURRENT_BUFFER ) |
---|
1946 | | yy_load_buffer_state( ); |
---|
1947 | | } |
---|
1948 | | |
---|
1949 | | /** Pushes the new state onto the stack. The new state becomes |
---|
1950 | | * the current state. This function will allocate the stack |
---|
1951 | | * if necessary. |
---|
1952 | | * @param new_buffer The new state. |
---|
1953 | | * |
---|
1954 | | */ |
---|
1955 | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) |
---|
1956 | | { |
---|
1957 | | if (new_buffer == NULL) |
---|
1958 | | return; |
---|
1959 | | |
---|
1960 | | yyensure_buffer_stack(); |
---|
1961 | | |
---|
1962 | | /* This block is copied from yy_switch_to_buffer. */ |
---|
1963 | | if ( YY_CURRENT_BUFFER ) |
---|
1964 | | { |
---|
1965 | | /* Flush out information for old buffer. */ |
---|
1966 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
1967 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); |
---|
1968 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
1969 | | } |
---|
1970 | | |
---|
1971 | | /* Only push if top exists. Otherwise, replace top. */ |
---|
1972 | | if (YY_CURRENT_BUFFER) |
---|
1973 | | (yy_buffer_stack_top)++; |
---|
1974 | | YY_CURRENT_BUFFER_LVALUE = new_buffer; |
---|
1975 | | |
---|
1976 | | /* copied from yy_switch_to_buffer. */ |
---|
1977 | | yy_load_buffer_state( ); |
---|
1978 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
1979 | | } |
---|
1980 | | |
---|
1981 | | /** Removes and deletes the top of the stack, if present. |
---|
1982 | | * The next element becomes the new top. |
---|
1983 | | * |
---|
1984 | | */ |
---|
1985 | | void yypop_buffer_state (void) |
---|
1986 | | { |
---|
1987 | | if (!YY_CURRENT_BUFFER) |
---|
1988 | | return; |
---|
1989 | | |
---|
1990 | | yy_delete_buffer(YY_CURRENT_BUFFER ); |
---|
1991 | | YY_CURRENT_BUFFER_LVALUE = NULL; |
---|
1992 | | if ((yy_buffer_stack_top) > 0) |
---|
1993 | | --(yy_buffer_stack_top); |
---|
1994 | | |
---|
1995 | | if (YY_CURRENT_BUFFER) { |
---|
1996 | | yy_load_buffer_state( ); |
---|
1997 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
1998 | | } |
---|
1999 | | } |
---|
2000 | | |
---|
2001 | | /* Allocates the stack if it does not exist. |
---|
2002 | | * Guarantees space for at least one push. |
---|
2003 | | */ |
---|
2004 | | static void yyensure_buffer_stack (void) |
---|
2005 | | { |
---|
2006 | | yy_size_t num_to_alloc; |
---|
2007 | | |
---|
2008 | | if (!(yy_buffer_stack)) { |
---|
2009 | | |
---|
2010 | | /* First allocation is just for 2 elements, since we don't know if this |
---|
2011 | | * scanner will even need a stack. We use 2 instead of 1 to avoid an |
---|
2012 | | * immediate realloc on the next call. |
---|
2013 | | */ |
---|
2014 | | num_to_alloc = 1; |
---|
2015 | | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc |
---|
2016 | | (num_to_alloc * sizeof(struct yy_buffer_state*) |
---|
2017 | | ); |
---|
2018 | | if ( ! (yy_buffer_stack) ) |
---|
2019 | | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); |
---|
2020 | | |
---|
2021 | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); |
---|
2022 | | |
---|
2023 | | (yy_buffer_stack_max) = num_to_alloc; |
---|
2024 | | (yy_buffer_stack_top) = 0; |
---|
2025 | | return; |
---|
2026 | | } |
---|
2027 | | |
---|
2028 | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ |
---|
2029 | | |
---|
2030 | | /* Increase the buffer to prepare for a possible push. */ |
---|
2031 | | int grow_size = 8 /* arbitrary grow size */; |
---|
2032 | | |
---|
2033 | | num_to_alloc = (yy_buffer_stack_max) + grow_size; |
---|
2034 | | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc |
---|
2035 | | ((yy_buffer_stack), |
---|
2036 | | num_to_alloc * sizeof(struct yy_buffer_state*) |
---|
2037 | | ); |
---|
2038 | | if ( ! (yy_buffer_stack) ) |
---|
2039 | | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); |
---|
2040 | | |
---|
2041 | | /* zero only the new slots.*/ |
---|
2042 | | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); |
---|
2043 | | (yy_buffer_stack_max) = num_to_alloc; |
---|
2044 | | } |
---|
2045 | | } |
---|
2046 | | |
---|
2047 | | /** Setup the input buffer state to scan directly from a user-specified character buffer. |
---|
2048 | | * @param base the character buffer |
---|
2049 | | * @param size the size in bytes of the character buffer |
---|
2050 | | * |
---|
2051 | | * @return the newly allocated buffer state object. |
---|
2052 | | */ |
---|
2053 | | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) |
---|
2054 | | { |
---|
2055 | | YY_BUFFER_STATE b; |
---|
2056 | | |
---|
2057 | | if ( size < 2 || |
---|
2058 | | base[size-2] != YY_END_OF_BUFFER_CHAR || |
---|
2059 | | base[size-1] != YY_END_OF_BUFFER_CHAR ) |
---|
2060 | | /* They forgot to leave room for the EOB's. */ |
---|
2061 | | return 0; |
---|
2062 | | |
---|
2063 | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); |
---|
2064 | | if ( ! b ) |
---|
2065 | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); |
---|
2066 | | |
---|
2067 | | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ |
---|
2068 | | b->yy_buf_pos = b->yy_ch_buf = base; |
---|
2069 | | b->yy_is_our_buffer = 0; |
---|
2070 | | b->yy_input_file = 0; |
---|
2071 | | b->yy_n_chars = b->yy_buf_size; |
---|
2072 | | b->yy_is_interactive = 0; |
---|
2073 | | b->yy_at_bol = 1; |
---|
2074 | | b->yy_fill_buffer = 0; |
---|
2075 | | b->yy_buffer_status = YY_BUFFER_NEW; |
---|
2076 | | |
---|
2077 | | yy_switch_to_buffer(b ); |
---|
2078 | | |
---|
2079 | | return b; |
---|
2080 | | } |
---|
2081 | | |
---|
2082 | | /** Setup the input buffer state to scan a string. The next call to yylex() will |
---|
2083 | | * scan from a @e copy of @a str. |
---|
2084 | | * @param yystr a NUL-terminated string to scan |
---|
2085 | | * |
---|
2086 | | * @return the newly allocated buffer state object. |
---|
2087 | | * @note If you want to scan bytes that may contain NUL values, then use |
---|
2088 | | * yy_scan_bytes() instead. |
---|
2089 | | */ |
---|
2090 | | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) |
---|
2091 | | { |
---|
2092 | | |
---|
2093 | | return yy_scan_bytes(yystr,strlen(yystr) ); |
---|
2094 | | } |
---|
2095 | | |
---|
2096 | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will |
---|
2097 | | * scan from a @e copy of @a bytes. |
---|
2098 | | * @param bytes the byte buffer to scan |
---|
2099 | | * @param len the number of bytes in the buffer pointed to by @a bytes. |
---|
2100 | | * |
---|
2101 | | * @return the newly allocated buffer state object. |
---|
2102 | | */ |
---|
2103 | | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) |
---|
2104 | | { |
---|
2105 | | YY_BUFFER_STATE b; |
---|
2106 | | char *buf; |
---|
2107 | | yy_size_t n, i; |
---|
2108 | | |
---|
2109 | | /* Get memory for full buffer, including space for trailing EOB's. */ |
---|
2110 | | n = _yybytes_len + 2; |
---|
2111 | | buf = (char *) yyalloc(n ); |
---|
2112 | | if ( ! buf ) |
---|
2113 | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); |
---|
2114 | | |
---|
2115 | | for ( i = 0; i < _yybytes_len; ++i ) |
---|
2116 | | buf[i] = yybytes[i]; |
---|
2117 | | |
---|
2118 | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; |
---|
2119 | | |
---|
2120 | | b = yy_scan_buffer(buf,n ); |
---|
2121 | | if ( ! b ) |
---|
2122 | | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); |
---|
2123 | | |
---|
2124 | | /* It's okay to grow etc. this buffer, and we should throw it |
---|
2125 | | * away when we're done. |
---|
2126 | | */ |
---|
2127 | | b->yy_is_our_buffer = 1; |
---|
2128 | | |
---|
2129 | | return b; |
---|
2130 | | } |
---|
2131 | | |
---|
2132 | | #ifndef YY_EXIT_FAILURE |
---|
2133 | | #define YY_EXIT_FAILURE 2 |
---|
2134 | | #endif |
---|
2135 | | |
---|
2136 | | static void yy_fatal_error (yyconst char* msg ) |
---|
2137 | | { |
---|
2138 | | (void) fprintf( stderr, "%s\n", msg ); |
---|
2139 | | exit( YY_EXIT_FAILURE ); |
---|
2140 | | } |
---|
2141 | | |
---|
2142 | | /* Redefine yyless() so it works in section 3 code. */ |
---|
2143 | | |
---|
2144 | | #undef yyless |
---|
2145 | | #define yyless(n) \ |
---|
2146 | | do \ |
---|
2147 | | { \ |
---|
2148 | | /* Undo effects of setting up yytext. */ \ |
---|
2149 | | int yyless_macro_arg = (n); \ |
---|
2150 | | YY_LESS_LINENO(yyless_macro_arg);\ |
---|
2151 | | yytext[yyleng] = (yy_hold_char); \ |
---|
2152 | | (yy_c_buf_p) = yytext + yyless_macro_arg; \ |
---|
2153 | | (yy_hold_char) = *(yy_c_buf_p); \ |
---|
2154 | | *(yy_c_buf_p) = '\0'; \ |
---|
2155 | | yyleng = yyless_macro_arg; \ |
---|
2156 | | } \ |
---|
2157 | | while ( 0 ) |
---|
2158 | | |
---|
2159 | | /* Accessor methods (get/set functions) to struct members. */ |
---|
2160 | | |
---|
2161 | | /** Get the current line number. |
---|
2162 | | * |
---|
2163 | | */ |
---|
2164 | | int yyget_lineno (void) |
---|
2165 | | { |
---|
2166 | | |
---|
2167 | | return yylineno; |
---|
2168 | | } |
---|
2169 | | |
---|
2170 | | /** Get the input stream. |
---|
2171 | | * |
---|
2172 | | */ |
---|
2173 | | FILE *yyget_in (void) |
---|
2174 | | { |
---|
2175 | | return yyin; |
---|
2176 | | } |
---|
2177 | | |
---|
2178 | | /** Get the output stream. |
---|
2179 | | * |
---|
2180 | | */ |
---|
2181 | | FILE *yyget_out (void) |
---|
2182 | | { |
---|
2183 | | return yyout; |
---|
2184 | | } |
---|
2185 | | |
---|
2186 | | /** Get the length of the current token. |
---|
2187 | | * |
---|
2188 | | */ |
---|
2189 | | yy_size_t yyget_leng (void) |
---|
2190 | | { |
---|
2191 | | return yyleng; |
---|
2192 | | } |
---|
2193 | | |
---|
2194 | | /** Get the current token. |
---|
2195 | | * |
---|
2196 | | */ |
---|
2197 | | |
---|
2198 | | char *yyget_text (void) |
---|
2199 | | { |
---|
2200 | | return yytext; |
---|
2201 | | } |
---|
2202 | | |
---|
2203 | | /** Set the current line number. |
---|
2204 | | * @param line_number |
---|
2205 | | * |
---|
2206 | | */ |
---|
2207 | | void yyset_lineno (int line_number ) |
---|
2208 | | { |
---|
2209 | | |
---|
2210 | | yylineno = line_number; |
---|
2211 | | } |
---|
2212 | | |
---|
2213 | | /** Set the input stream. This does not discard the current |
---|
2214 | | * input buffer. |
---|
2215 | | * @param in_str A readable stream. |
---|
2216 | | * |
---|
2217 | | * @see yy_switch_to_buffer |
---|
2218 | | */ |
---|
2219 | | void yyset_in (FILE * in_str ) |
---|
2220 | | { |
---|
2221 | | yyin = in_str ; |
---|
2222 | | } |
---|
2223 | | |
---|
2224 | | void yyset_out (FILE * out_str ) |
---|
2225 | | { |
---|
2226 | | yyout = out_str ; |
---|
2227 | | } |
---|
2228 | | |
---|
2229 | | int yyget_debug (void) |
---|
2230 | | { |
---|
2231 | | return yy_flex_debug; |
---|
2232 | | } |
---|
2233 | | |
---|
2234 | | void yyset_debug (int bdebug ) |
---|
2235 | | { |
---|
2236 | | yy_flex_debug = bdebug ; |
---|
2237 | | } |
---|
2238 | | |
---|
2239 | | static int yy_init_globals (void) |
---|
2240 | | { |
---|
2241 | | /* Initialization is the same as for the non-reentrant scanner. |
---|
2242 | | * This function is called from yylex_destroy(), so don't allocate here. |
---|
2243 | | */ |
---|
2244 | | |
---|
2245 | | (yy_buffer_stack) = 0; |
---|
2246 | | (yy_buffer_stack_top) = 0; |
---|
2247 | | (yy_buffer_stack_max) = 0; |
---|
2248 | | (yy_c_buf_p) = (char *) 0; |
---|
2249 | | (yy_init) = 0; |
---|
2250 | | (yy_start) = 0; |
---|
2251 | | |
---|
2252 | | (yy_state_buf) = 0; |
---|
2253 | | (yy_state_ptr) = 0; |
---|
2254 | | (yy_full_match) = 0; |
---|
2255 | | (yy_lp) = 0; |
---|
2256 | | |
---|
2257 | | /* Defined in main.c */ |
---|
2258 | | #ifdef YY_STDINIT |
---|
2259 | | yyin = stdin; |
---|
2260 | | yyout = stdout; |
---|
2261 | | #else |
---|
2262 | | yyin = (FILE *) 0; |
---|
2263 | | yyout = (FILE *) 0; |
---|
2264 | | #endif |
---|
2265 | | |
---|
2266 | | /* For future reference: Set errno on error, since we are called by |
---|
2267 | | * yylex_init() |
---|
2268 | | */ |
---|
2269 | | return 0; |
---|
2270 | | } |
---|
2271 | | |
---|
2272 | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ |
---|
2273 | | int yylex_destroy (void) |
---|
2274 | | { |
---|
2275 | | |
---|
2276 | | /* Pop the buffer stack, destroying each element. */ |
---|
2277 | | while(YY_CURRENT_BUFFER){ |
---|
2278 | | yy_delete_buffer(YY_CURRENT_BUFFER ); |
---|
2279 | | YY_CURRENT_BUFFER_LVALUE = NULL; |
---|
2280 | | yypop_buffer_state(); |
---|
2281 | | } |
---|
2282 | | |
---|
2283 | | /* Destroy the stack itself. */ |
---|
2284 | | yyfree((yy_buffer_stack) ); |
---|
2285 | | (yy_buffer_stack) = NULL; |
---|
2286 | | |
---|
2287 | | yyfree ( (yy_state_buf) ); |
---|
2288 | | (yy_state_buf) = NULL; |
---|
2289 | | |
---|
2290 | | /* Reset the globals. This is important in a non-reentrant scanner so the next time |
---|
2291 | | * yylex() is called, initialization will occur. */ |
---|
2292 | | yy_init_globals( ); |
---|
2293 | | |
---|
2294 | | return 0; |
---|
2295 | | } |
---|
2296 | | |
---|
2297 | | /* |
---|
2298 | | * Internal utility routines. |
---|
2299 | | */ |
---|
2300 | | |
---|
2301 | | #ifndef yytext_ptr |
---|
2302 | | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) |
---|
2303 | | { |
---|
2304 | | register int i; |
---|
2305 | | for ( i = 0; i < n; ++i ) |
---|
2306 | | s1[i] = s2[i]; |
---|
2307 | | } |
---|
2308 | | #endif |
---|
2309 | | |
---|
2310 | | #ifdef YY_NEED_STRLEN |
---|
2311 | | static int yy_flex_strlen (yyconst char * s ) |
---|
2312 | | { |
---|
2313 | | register int n; |
---|
2314 | | for ( n = 0; s[n]; ++n ) |
---|
2315 | | ; |
---|
2316 | | |
---|
2317 | | return n; |
---|
2318 | | } |
---|
2319 | | #endif |
---|
2320 | | |
---|
2321 | | void *yyalloc (yy_size_t size ) |
---|
2322 | | { |
---|
2323 | | return (void *) malloc( size ); |
---|
2324 | | } |
---|
2325 | | |
---|
2326 | | void *yyrealloc (void * ptr, yy_size_t size ) |
---|
2327 | | { |
---|
2328 | | /* The cast to (char *) in the following accommodates both |
---|
2329 | | * implementations that use char* generic pointers, and those |
---|
2330 | | * that use void* generic pointers. It works with the latter |
---|
2331 | | * because both ANSI C and C++ allow castless assignment from |
---|
2332 | | * any pointer type to void*, and deal with argument conversions |
---|
2333 | | * as though doing an assignment. |
---|
2334 | | */ |
---|
2335 | | return (void *) realloc( (char *) ptr, size ); |
---|
2336 | | } |
---|
2337 | | |
---|
2338 | | void yyfree (void * ptr ) |
---|
2339 | | { |
---|
2340 | | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ |
---|
2341 | | } |
---|
2342 | | |
---|
2343 | | #define YYTABLES_NAME "yytables" |
---|
2344 | | |
---|
2345 | | #line 9 "conftest.l" |
---|
2346 | | |
---|
2347 | | |
---|
2348 | | #ifdef YYTEXT_POINTER |
---|
2349 | | extern char *yytext; |
---|
2350 | | #endif |
---|
2351 | | int |
---|
2352 | | main (void) |
---|
2353 | | { |
---|
2354 | | return ! yylex () + ! yywrap (); |
---|
2355 | | } |
---|
2356 | configure:15997: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c -lfl >&5 |
---|
2357 | ld: library not found for -lfl |
---|
2358 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
2359 | configure:15997: $? = 1 |
---|
2360 | configure: failed program was: |
---|
2361 | | /* confdefs.h */ |
---|
2362 | | #define PACKAGE_NAME "wireshark" |
---|
2363 | | #define PACKAGE_TARNAME "wireshark" |
---|
2364 | | #define PACKAGE_VERSION "1.10.2" |
---|
2365 | | #define PACKAGE_STRING "wireshark 1.10.2" |
---|
2366 | | #define PACKAGE_BUGREPORT "http://bugs.wireshark.org/" |
---|
2367 | | #define PACKAGE_URL "http://www.wireshark.org/" |
---|
2368 | | #define PACKAGE "wireshark" |
---|
2369 | | #define VERSION "1.10.2" |
---|
2370 | | #define VERSION_MAJOR 1 |
---|
2371 | | #define VERSION_MINOR 10 |
---|
2372 | | #define VERSION_MICRO 2 |
---|
2373 | | #define STDC_HEADERS 1 |
---|
2374 | | #define HAVE_SYS_TYPES_H 1 |
---|
2375 | | #define HAVE_SYS_STAT_H 1 |
---|
2376 | | #define HAVE_STDLIB_H 1 |
---|
2377 | | #define HAVE_STRING_H 1 |
---|
2378 | | #define HAVE_MEMORY_H 1 |
---|
2379 | | #define HAVE_STRINGS_H 1 |
---|
2380 | | #define HAVE_INTTYPES_H 1 |
---|
2381 | | #define HAVE_STDINT_H 1 |
---|
2382 | | #define HAVE_UNISTD_H 1 |
---|
2383 | | #define HAVE_DLFCN_H 1 |
---|
2384 | | #define LT_OBJDIR ".libs/" |
---|
2385 | | /* end confdefs.h. */ |
---|
2386 | | |
---|
2387 | | #line 3 "lex.yy.c" |
---|
2388 | | |
---|
2389 | | #define YY_INT_ALIGNED short int |
---|
2390 | | |
---|
2391 | | /* A lexical scanner generated by flex */ |
---|
2392 | | |
---|
2393 | | #define FLEX_SCANNER |
---|
2394 | | #define YY_FLEX_MAJOR_VERSION 2 |
---|
2395 | | #define YY_FLEX_MINOR_VERSION 5 |
---|
2396 | | #define YY_FLEX_SUBMINOR_VERSION 35 |
---|
2397 | | #if YY_FLEX_SUBMINOR_VERSION > 0 |
---|
2398 | | #define FLEX_BETA |
---|
2399 | | #endif |
---|
2400 | | |
---|
2401 | | /* First, we deal with platform-specific or compiler-specific issues. */ |
---|
2402 | | |
---|
2403 | | /* begin standard C headers. */ |
---|
2404 | | #include <stdio.h> |
---|
2405 | | #include <string.h> |
---|
2406 | | #include <errno.h> |
---|
2407 | | #include <stdlib.h> |
---|
2408 | | |
---|
2409 | | /* end standard C headers. */ |
---|
2410 | | |
---|
2411 | | /* flex integer type definitions */ |
---|
2412 | | |
---|
2413 | | #ifndef FLEXINT_H |
---|
2414 | | #define FLEXINT_H |
---|
2415 | | |
---|
2416 | | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ |
---|
2417 | | |
---|
2418 | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L |
---|
2419 | | |
---|
2420 | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, |
---|
2421 | | * if you want the limit (max/min) macros for int types. |
---|
2422 | | */ |
---|
2423 | | #ifndef __STDC_LIMIT_MACROS |
---|
2424 | | #define __STDC_LIMIT_MACROS 1 |
---|
2425 | | #endif |
---|
2426 | | |
---|
2427 | | #include <inttypes.h> |
---|
2428 | | typedef int8_t flex_int8_t; |
---|
2429 | | typedef uint8_t flex_uint8_t; |
---|
2430 | | typedef int16_t flex_int16_t; |
---|
2431 | | typedef uint16_t flex_uint16_t; |
---|
2432 | | typedef int32_t flex_int32_t; |
---|
2433 | | typedef uint32_t flex_uint32_t; |
---|
2434 | | typedef uint64_t flex_uint64_t; |
---|
2435 | | #else |
---|
2436 | | typedef signed char flex_int8_t; |
---|
2437 | | typedef short int flex_int16_t; |
---|
2438 | | typedef int flex_int32_t; |
---|
2439 | | typedef unsigned char flex_uint8_t; |
---|
2440 | | typedef unsigned short int flex_uint16_t; |
---|
2441 | | typedef unsigned int flex_uint32_t; |
---|
2442 | | #endif /* ! C99 */ |
---|
2443 | | |
---|
2444 | | /* Limits of integral types. */ |
---|
2445 | | #ifndef INT8_MIN |
---|
2446 | | #define INT8_MIN (-128) |
---|
2447 | | #endif |
---|
2448 | | #ifndef INT16_MIN |
---|
2449 | | #define INT16_MIN (-32767-1) |
---|
2450 | | #endif |
---|
2451 | | #ifndef INT32_MIN |
---|
2452 | | #define INT32_MIN (-2147483647-1) |
---|
2453 | | #endif |
---|
2454 | | #ifndef INT8_MAX |
---|
2455 | | #define INT8_MAX (127) |
---|
2456 | | #endif |
---|
2457 | | #ifndef INT16_MAX |
---|
2458 | | #define INT16_MAX (32767) |
---|
2459 | | #endif |
---|
2460 | | #ifndef INT32_MAX |
---|
2461 | | #define INT32_MAX (2147483647) |
---|
2462 | | #endif |
---|
2463 | | #ifndef UINT8_MAX |
---|
2464 | | #define UINT8_MAX (255U) |
---|
2465 | | #endif |
---|
2466 | | #ifndef UINT16_MAX |
---|
2467 | | #define UINT16_MAX (65535U) |
---|
2468 | | #endif |
---|
2469 | | #ifndef UINT32_MAX |
---|
2470 | | #define UINT32_MAX (4294967295U) |
---|
2471 | | #endif |
---|
2472 | | |
---|
2473 | | #endif /* ! FLEXINT_H */ |
---|
2474 | | |
---|
2475 | | #ifdef __cplusplus |
---|
2476 | | |
---|
2477 | | /* The "const" storage-class-modifier is valid. */ |
---|
2478 | | #define YY_USE_CONST |
---|
2479 | | |
---|
2480 | | #else /* ! __cplusplus */ |
---|
2481 | | |
---|
2482 | | /* C99 requires __STDC__ to be defined as 1. */ |
---|
2483 | | #if defined (__STDC__) |
---|
2484 | | |
---|
2485 | | #define YY_USE_CONST |
---|
2486 | | |
---|
2487 | | #endif /* defined (__STDC__) */ |
---|
2488 | | #endif /* ! __cplusplus */ |
---|
2489 | | |
---|
2490 | | #ifdef YY_USE_CONST |
---|
2491 | | #define yyconst const |
---|
2492 | | #else |
---|
2493 | | #define yyconst |
---|
2494 | | #endif |
---|
2495 | | |
---|
2496 | | /* Returned upon end-of-file. */ |
---|
2497 | | #define YY_NULL 0 |
---|
2498 | | |
---|
2499 | | /* Promotes a possibly negative, possibly signed char to an unsigned |
---|
2500 | | * integer for use as an array index. If the signed char is negative, |
---|
2501 | | * we want to instead treat it as an 8-bit unsigned char, hence the |
---|
2502 | | * double cast. |
---|
2503 | | */ |
---|
2504 | | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
---|
2505 | | |
---|
2506 | | /* Enter a start condition. This macro really ought to take a parameter, |
---|
2507 | | * but we do it the disgusting crufty way forced on us by the ()-less |
---|
2508 | | * definition of BEGIN. |
---|
2509 | | */ |
---|
2510 | | #define BEGIN (yy_start) = 1 + 2 * |
---|
2511 | | |
---|
2512 | | /* Translate the current start state into a value that can be later handed |
---|
2513 | | * to BEGIN to return to the state. The YYSTATE alias is for lex |
---|
2514 | | * compatibility. |
---|
2515 | | */ |
---|
2516 | | #define YY_START (((yy_start) - 1) / 2) |
---|
2517 | | #define YYSTATE YY_START |
---|
2518 | | |
---|
2519 | | /* Action number for EOF rule of a given start state. */ |
---|
2520 | | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
---|
2521 | | |
---|
2522 | | /* Special action meaning "start processing a new file". */ |
---|
2523 | | #define YY_NEW_FILE yyrestart(yyin ) |
---|
2524 | | |
---|
2525 | | #define YY_END_OF_BUFFER_CHAR 0 |
---|
2526 | | |
---|
2527 | | /* Size of default input buffer. */ |
---|
2528 | | #ifndef YY_BUF_SIZE |
---|
2529 | | #define YY_BUF_SIZE 16384 |
---|
2530 | | #endif |
---|
2531 | | |
---|
2532 | | /* The state buf must be large enough to hold one state per character in the main buffer. |
---|
2533 | | */ |
---|
2534 | | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
---|
2535 | | |
---|
2536 | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE |
---|
2537 | | #define YY_TYPEDEF_YY_BUFFER_STATE |
---|
2538 | | typedef struct yy_buffer_state *YY_BUFFER_STATE; |
---|
2539 | | #endif |
---|
2540 | | |
---|
2541 | | #ifndef YY_TYPEDEF_YY_SIZE_T |
---|
2542 | | #define YY_TYPEDEF_YY_SIZE_T |
---|
2543 | | typedef size_t yy_size_t; |
---|
2544 | | #endif |
---|
2545 | | |
---|
2546 | | extern yy_size_t yyleng; |
---|
2547 | | |
---|
2548 | | extern FILE *yyin, *yyout; |
---|
2549 | | |
---|
2550 | | #define EOB_ACT_CONTINUE_SCAN 0 |
---|
2551 | | #define EOB_ACT_END_OF_FILE 1 |
---|
2552 | | #define EOB_ACT_LAST_MATCH 2 |
---|
2553 | | |
---|
2554 | | #define YY_LESS_LINENO(n) |
---|
2555 | | |
---|
2556 | | /* Return all but the first "n" matched characters back to the input stream. */ |
---|
2557 | | #define yyless(n) \ |
---|
2558 | | do \ |
---|
2559 | | { \ |
---|
2560 | | /* Undo effects of setting up yytext. */ \ |
---|
2561 | | int yyless_macro_arg = (n); \ |
---|
2562 | | YY_LESS_LINENO(yyless_macro_arg);\ |
---|
2563 | | *yy_cp = (yy_hold_char); \ |
---|
2564 | | YY_RESTORE_YY_MORE_OFFSET \ |
---|
2565 | | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ |
---|
2566 | | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ |
---|
2567 | | } \ |
---|
2568 | | while ( 0 ) |
---|
2569 | | |
---|
2570 | | #define unput(c) yyunput( c, (yytext_ptr) ) |
---|
2571 | | |
---|
2572 | | #ifndef YY_STRUCT_YY_BUFFER_STATE |
---|
2573 | | #define YY_STRUCT_YY_BUFFER_STATE |
---|
2574 | | struct yy_buffer_state |
---|
2575 | | { |
---|
2576 | | FILE *yy_input_file; |
---|
2577 | | |
---|
2578 | | char *yy_ch_buf; /* input buffer */ |
---|
2579 | | char *yy_buf_pos; /* current position in input buffer */ |
---|
2580 | | |
---|
2581 | | /* Size of input buffer in bytes, not including room for EOB |
---|
2582 | | * characters. |
---|
2583 | | */ |
---|
2584 | | yy_size_t yy_buf_size; |
---|
2585 | | |
---|
2586 | | /* Number of characters read into yy_ch_buf, not including EOB |
---|
2587 | | * characters. |
---|
2588 | | */ |
---|
2589 | | yy_size_t yy_n_chars; |
---|
2590 | | |
---|
2591 | | /* Whether we "own" the buffer - i.e., we know we created it, |
---|
2592 | | * and can realloc() it to grow it, and should free() it to |
---|
2593 | | * delete it. |
---|
2594 | | */ |
---|
2595 | | int yy_is_our_buffer; |
---|
2596 | | |
---|
2597 | | /* Whether this is an "interactive" input source; if so, and |
---|
2598 | | * if we're using stdio for input, then we want to use getc() |
---|
2599 | | * instead of fread(), to make sure we stop fetching input after |
---|
2600 | | * each newline. |
---|
2601 | | */ |
---|
2602 | | int yy_is_interactive; |
---|
2603 | | |
---|
2604 | | /* Whether we're considered to be at the beginning of a line. |
---|
2605 | | * If so, '^' rules will be active on the next match, otherwise |
---|
2606 | | * not. |
---|
2607 | | */ |
---|
2608 | | int yy_at_bol; |
---|
2609 | | |
---|
2610 | | int yy_bs_lineno; /**< The line count. */ |
---|
2611 | | int yy_bs_column; /**< The column count. */ |
---|
2612 | | |
---|
2613 | | /* Whether to try to fill the input buffer when we reach the |
---|
2614 | | * end of it. |
---|
2615 | | */ |
---|
2616 | | int yy_fill_buffer; |
---|
2617 | | |
---|
2618 | | int yy_buffer_status; |
---|
2619 | | |
---|
2620 | | #define YY_BUFFER_NEW 0 |
---|
2621 | | #define YY_BUFFER_NORMAL 1 |
---|
2622 | | /* When an EOF's been seen but there's still some text to process |
---|
2623 | | * then we mark the buffer as YY_EOF_PENDING, to indicate that we |
---|
2624 | | * shouldn't try reading from the input source any more. We might |
---|
2625 | | * still have a bunch of tokens to match, though, because of |
---|
2626 | | * possible backing-up. |
---|
2627 | | * |
---|
2628 | | * When we actually see the EOF, we change the status to "new" |
---|
2629 | | * (via yyrestart()), so that the user can continue scanning by |
---|
2630 | | * just pointing yyin at a new input file. |
---|
2631 | | */ |
---|
2632 | | #define YY_BUFFER_EOF_PENDING 2 |
---|
2633 | | |
---|
2634 | | }; |
---|
2635 | | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ |
---|
2636 | | |
---|
2637 | | /* Stack of input buffers. */ |
---|
2638 | | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ |
---|
2639 | | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ |
---|
2640 | | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ |
---|
2641 | | |
---|
2642 | | /* We provide macros for accessing buffer states in case in the |
---|
2643 | | * future we want to put the buffer states in a more general |
---|
2644 | | * "scanner state". |
---|
2645 | | * |
---|
2646 | | * Returns the top of the stack, or NULL. |
---|
2647 | | */ |
---|
2648 | | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ |
---|
2649 | | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ |
---|
2650 | | : NULL) |
---|
2651 | | |
---|
2652 | | /* Same as previous macro, but useful when we know that the buffer stack is not |
---|
2653 | | * NULL or when we need an lvalue. For internal use only. |
---|
2654 | | */ |
---|
2655 | | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
---|
2656 | | |
---|
2657 | | /* yy_hold_char holds the character lost when yytext is formed. */ |
---|
2658 | | static char yy_hold_char; |
---|
2659 | | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ |
---|
2660 | | yy_size_t yyleng; |
---|
2661 | | |
---|
2662 | | /* Points to current character in buffer. */ |
---|
2663 | | static char *yy_c_buf_p = (char *) 0; |
---|
2664 | | static int yy_init = 0; /* whether we need to initialize */ |
---|
2665 | | static int yy_start = 0; /* start state number */ |
---|
2666 | | |
---|
2667 | | /* Flag which is used to allow yywrap()'s to do buffer switches |
---|
2668 | | * instead of setting up a fresh yyin. A bit of a hack ... |
---|
2669 | | */ |
---|
2670 | | static int yy_did_buffer_switch_on_eof; |
---|
2671 | | |
---|
2672 | | void yyrestart (FILE *input_file ); |
---|
2673 | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); |
---|
2674 | | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); |
---|
2675 | | void yy_delete_buffer (YY_BUFFER_STATE b ); |
---|
2676 | | void yy_flush_buffer (YY_BUFFER_STATE b ); |
---|
2677 | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); |
---|
2678 | | void yypop_buffer_state (void ); |
---|
2679 | | |
---|
2680 | | static void yyensure_buffer_stack (void ); |
---|
2681 | | static void yy_load_buffer_state (void ); |
---|
2682 | | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); |
---|
2683 | | |
---|
2684 | | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) |
---|
2685 | | |
---|
2686 | | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); |
---|
2687 | | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); |
---|
2688 | | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); |
---|
2689 | | |
---|
2690 | | void *yyalloc (yy_size_t ); |
---|
2691 | | void *yyrealloc (void *,yy_size_t ); |
---|
2692 | | void yyfree (void * ); |
---|
2693 | | |
---|
2694 | | #define yy_new_buffer yy_create_buffer |
---|
2695 | | |
---|
2696 | | #define yy_set_interactive(is_interactive) \ |
---|
2697 | | { \ |
---|
2698 | | if ( ! YY_CURRENT_BUFFER ){ \ |
---|
2699 | | yyensure_buffer_stack (); \ |
---|
2700 | | YY_CURRENT_BUFFER_LVALUE = \ |
---|
2701 | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ |
---|
2702 | | } \ |
---|
2703 | | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ |
---|
2704 | | } |
---|
2705 | | |
---|
2706 | | #define yy_set_bol(at_bol) \ |
---|
2707 | | { \ |
---|
2708 | | if ( ! YY_CURRENT_BUFFER ){\ |
---|
2709 | | yyensure_buffer_stack (); \ |
---|
2710 | | YY_CURRENT_BUFFER_LVALUE = \ |
---|
2711 | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ |
---|
2712 | | } \ |
---|
2713 | | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ |
---|
2714 | | } |
---|
2715 | | |
---|
2716 | | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
---|
2717 | | |
---|
2718 | | /* Begin user sect3 */ |
---|
2719 | | |
---|
2720 | | typedef unsigned char YY_CHAR; |
---|
2721 | | |
---|
2722 | | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; |
---|
2723 | | |
---|
2724 | | typedef int yy_state_type; |
---|
2725 | | |
---|
2726 | | extern int yylineno; |
---|
2727 | | |
---|
2728 | | int yylineno = 1; |
---|
2729 | | |
---|
2730 | | extern char *yytext; |
---|
2731 | | #define yytext_ptr yytext |
---|
2732 | | |
---|
2733 | | static yy_state_type yy_get_previous_state (void ); |
---|
2734 | | static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); |
---|
2735 | | static int yy_get_next_buffer (void ); |
---|
2736 | | static void yy_fatal_error (yyconst char msg[] ); |
---|
2737 | | |
---|
2738 | | /* Done after the current pattern has been matched and before the |
---|
2739 | | * corresponding action - sets up yytext. |
---|
2740 | | */ |
---|
2741 | | #define YY_DO_BEFORE_ACTION \ |
---|
2742 | | (yytext_ptr) = yy_bp; \ |
---|
2743 | | (yytext_ptr) -= (yy_more_len); \ |
---|
2744 | | yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \ |
---|
2745 | | (yy_hold_char) = *yy_cp; \ |
---|
2746 | | *yy_cp = '\0'; \ |
---|
2747 | | (yy_c_buf_p) = yy_cp; |
---|
2748 | | |
---|
2749 | | #define YY_NUM_RULES 8 |
---|
2750 | | #define YY_END_OF_BUFFER 9 |
---|
2751 | | /* This struct is not used in this scanner, |
---|
2752 | | but its presence is necessary. */ |
---|
2753 | | struct yy_trans_info |
---|
2754 | | { |
---|
2755 | | flex_int32_t yy_verify; |
---|
2756 | | flex_int32_t yy_nxt; |
---|
2757 | | }; |
---|
2758 | | static yyconst flex_int16_t yy_acclist[23] = |
---|
2759 | | { 0, |
---|
2760 | | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, |
---|
2761 | | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, |
---|
2762 | | 7, 8 |
---|
2763 | | } ; |
---|
2764 | | |
---|
2765 | | static yyconst flex_int16_t yy_accept[14] = |
---|
2766 | | { 0, |
---|
2767 | | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, |
---|
2768 | | 20, 23, 23 |
---|
2769 | | } ; |
---|
2770 | | |
---|
2771 | | static yyconst flex_int32_t yy_ec[256] = |
---|
2772 | | { 0, |
---|
2773 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, |
---|
2774 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2775 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2776 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2777 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2778 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2779 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2780 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2781 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2782 | | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, |
---|
2783 | | |
---|
2784 | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2785 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2786 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2787 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2788 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2789 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2790 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2791 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2792 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2793 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2794 | | |
---|
2795 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2796 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2797 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2798 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2799 | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
---|
2800 | | 1, 1, 1, 1, 1 |
---|
2801 | | } ; |
---|
2802 | | |
---|
2803 | | static yyconst flex_int32_t yy_meta[9] = |
---|
2804 | | { 0, |
---|
2805 | | 1, 1, 1, 1, 1, 1, 1, 1 |
---|
2806 | | } ; |
---|
2807 | | |
---|
2808 | | static yyconst flex_int16_t yy_base[13] = |
---|
2809 | | { 0, |
---|
2810 | | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, |
---|
2811 | | 10, 10 |
---|
2812 | | } ; |
---|
2813 | | |
---|
2814 | | static yyconst flex_int16_t yy_def[13] = |
---|
2815 | | { 0, |
---|
2816 | | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, |
---|
2817 | | 12, 0 |
---|
2818 | | } ; |
---|
2819 | | |
---|
2820 | | static yyconst flex_int16_t yy_nxt[19] = |
---|
2821 | | { 0, |
---|
2822 | | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, |
---|
2823 | | 12, 12, 12, 12, 12, 12, 12, 12 |
---|
2824 | | } ; |
---|
2825 | | |
---|
2826 | | static yyconst flex_int16_t yy_chk[19] = |
---|
2827 | | { 0, |
---|
2828 | | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, |
---|
2829 | | 12, 12, 12, 12, 12, 12, 12, 12 |
---|
2830 | | } ; |
---|
2831 | | |
---|
2832 | | extern int yy_flex_debug; |
---|
2833 | | int yy_flex_debug = 0; |
---|
2834 | | |
---|
2835 | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; |
---|
2836 | | static char *yy_full_match; |
---|
2837 | | static int yy_lp; |
---|
2838 | | #define REJECT \ |
---|
2839 | | { \ |
---|
2840 | | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ |
---|
2841 | | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ |
---|
2842 | | ++(yy_lp); \ |
---|
2843 | | goto find_rule; \ |
---|
2844 | | } |
---|
2845 | | |
---|
2846 | | static int yy_more_flag = 0; |
---|
2847 | | static int yy_more_len = 0; |
---|
2848 | | #define yymore() ((yy_more_flag) = 1) |
---|
2849 | | #define YY_MORE_ADJ (yy_more_len) |
---|
2850 | | #define YY_RESTORE_YY_MORE_OFFSET |
---|
2851 | | char *yytext; |
---|
2852 | | #line 1 "conftest.l" |
---|
2853 | | #line 469 "lex.yy.c" |
---|
2854 | | |
---|
2855 | | #define INITIAL 0 |
---|
2856 | | |
---|
2857 | | #ifndef YY_NO_UNISTD_H |
---|
2858 | | /* Special case for "unistd.h", since it is non-ANSI. We include it way |
---|
2859 | | * down here because we want the user's section 1 to have been scanned first. |
---|
2860 | | * The user has a chance to override it with an option. |
---|
2861 | | */ |
---|
2862 | | #include <unistd.h> |
---|
2863 | | #endif |
---|
2864 | | |
---|
2865 | | #ifndef YY_EXTRA_TYPE |
---|
2866 | | #define YY_EXTRA_TYPE void * |
---|
2867 | | #endif |
---|
2868 | | |
---|
2869 | | static int yy_init_globals (void ); |
---|
2870 | | |
---|
2871 | | /* Accessor methods to globals. |
---|
2872 | | These are made visible to non-reentrant scanners for convenience. */ |
---|
2873 | | |
---|
2874 | | int yylex_destroy (void ); |
---|
2875 | | |
---|
2876 | | int yyget_debug (void ); |
---|
2877 | | |
---|
2878 | | void yyset_debug (int debug_flag ); |
---|
2879 | | |
---|
2880 | | YY_EXTRA_TYPE yyget_extra (void ); |
---|
2881 | | |
---|
2882 | | void yyset_extra (YY_EXTRA_TYPE user_defined ); |
---|
2883 | | |
---|
2884 | | FILE *yyget_in (void ); |
---|
2885 | | |
---|
2886 | | void yyset_in (FILE * in_str ); |
---|
2887 | | |
---|
2888 | | FILE *yyget_out (void ); |
---|
2889 | | |
---|
2890 | | void yyset_out (FILE * out_str ); |
---|
2891 | | |
---|
2892 | | yy_size_t yyget_leng (void ); |
---|
2893 | | |
---|
2894 | | char *yyget_text (void ); |
---|
2895 | | |
---|
2896 | | int yyget_lineno (void ); |
---|
2897 | | |
---|
2898 | | void yyset_lineno (int line_number ); |
---|
2899 | | |
---|
2900 | | /* Macros after this point can all be overridden by user definitions in |
---|
2901 | | * section 1. |
---|
2902 | | */ |
---|
2903 | | |
---|
2904 | | #ifndef YY_SKIP_YYWRAP |
---|
2905 | | #ifdef __cplusplus |
---|
2906 | | extern "C" int yywrap (void ); |
---|
2907 | | #else |
---|
2908 | | extern int yywrap (void ); |
---|
2909 | | #endif |
---|
2910 | | #endif |
---|
2911 | | |
---|
2912 | | static void yyunput (int c,char *buf_ptr ); |
---|
2913 | | |
---|
2914 | | #ifndef yytext_ptr |
---|
2915 | | static void yy_flex_strncpy (char *,yyconst char *,int ); |
---|
2916 | | #endif |
---|
2917 | | |
---|
2918 | | #ifdef YY_NEED_STRLEN |
---|
2919 | | static int yy_flex_strlen (yyconst char * ); |
---|
2920 | | #endif |
---|
2921 | | |
---|
2922 | | #ifndef YY_NO_INPUT |
---|
2923 | | |
---|
2924 | | #ifdef __cplusplus |
---|
2925 | | static int yyinput (void ); |
---|
2926 | | #else |
---|
2927 | | static int input (void ); |
---|
2928 | | #endif |
---|
2929 | | |
---|
2930 | | #endif |
---|
2931 | | |
---|
2932 | | /* Amount of stuff to slurp up with each read. */ |
---|
2933 | | #ifndef YY_READ_BUF_SIZE |
---|
2934 | | #define YY_READ_BUF_SIZE 8192 |
---|
2935 | | #endif |
---|
2936 | | |
---|
2937 | | /* Copy whatever the last rule matched to the standard output. */ |
---|
2938 | | #ifndef ECHO |
---|
2939 | | /* This used to be an fputs(), but since the string might contain NUL's, |
---|
2940 | | * we now use fwrite(). |
---|
2941 | | */ |
---|
2942 | | #define ECHO fwrite( yytext, yyleng, 1, yyout ) |
---|
2943 | | #endif |
---|
2944 | | |
---|
2945 | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
---|
2946 | | * is returned in "result". |
---|
2947 | | */ |
---|
2948 | | #ifndef YY_INPUT |
---|
2949 | | #define YY_INPUT(buf,result,max_size) \ |
---|
2950 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ |
---|
2951 | | { \ |
---|
2952 | | int c = '*'; \ |
---|
2953 | | yy_size_t n; \ |
---|
2954 | | for ( n = 0; n < max_size && \ |
---|
2955 | | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ |
---|
2956 | | buf[n] = (char) c; \ |
---|
2957 | | if ( c == '\n' ) \ |
---|
2958 | | buf[n++] = (char) c; \ |
---|
2959 | | if ( c == EOF && ferror( yyin ) ) \ |
---|
2960 | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
---|
2961 | | result = n; \ |
---|
2962 | | } \ |
---|
2963 | | else \ |
---|
2964 | | { \ |
---|
2965 | | errno=0; \ |
---|
2966 | | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ |
---|
2967 | | { \ |
---|
2968 | | if( errno != EINTR) \ |
---|
2969 | | { \ |
---|
2970 | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
---|
2971 | | break; \ |
---|
2972 | | } \ |
---|
2973 | | errno=0; \ |
---|
2974 | | clearerr(yyin); \ |
---|
2975 | | } \ |
---|
2976 | | }\ |
---|
2977 | | \ |
---|
2978 | | |
---|
2979 | | #endif |
---|
2980 | | |
---|
2981 | | /* No semi-colon after return; correct usage is to write "yyterminate();" - |
---|
2982 | | * we don't want an extra ';' after the "return" because that will cause |
---|
2983 | | * some compilers to complain about unreachable statements. |
---|
2984 | | */ |
---|
2985 | | #ifndef yyterminate |
---|
2986 | | #define yyterminate() return YY_NULL |
---|
2987 | | #endif |
---|
2988 | | |
---|
2989 | | /* Number of entries by which start-condition stack grows. */ |
---|
2990 | | #ifndef YY_START_STACK_INCR |
---|
2991 | | #define YY_START_STACK_INCR 25 |
---|
2992 | | #endif |
---|
2993 | | |
---|
2994 | | /* Report a fatal error. */ |
---|
2995 | | #ifndef YY_FATAL_ERROR |
---|
2996 | | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
---|
2997 | | #endif |
---|
2998 | | |
---|
2999 | | /* end tables serialization structures and prototypes */ |
---|
3000 | | |
---|
3001 | | /* Default declaration of generated scanner - a define so the user can |
---|
3002 | | * easily add parameters. |
---|
3003 | | */ |
---|
3004 | | #ifndef YY_DECL |
---|
3005 | | #define YY_DECL_IS_OURS 1 |
---|
3006 | | |
---|
3007 | | extern int yylex (void); |
---|
3008 | | |
---|
3009 | | #define YY_DECL int yylex (void) |
---|
3010 | | #endif /* !YY_DECL */ |
---|
3011 | | |
---|
3012 | | /* Code executed at the beginning of each rule, after yytext and yyleng |
---|
3013 | | * have been set up. |
---|
3014 | | */ |
---|
3015 | | #ifndef YY_USER_ACTION |
---|
3016 | | #define YY_USER_ACTION |
---|
3017 | | #endif |
---|
3018 | | |
---|
3019 | | /* Code executed at the end of each rule. */ |
---|
3020 | | #ifndef YY_BREAK |
---|
3021 | | #define YY_BREAK break; |
---|
3022 | | #endif |
---|
3023 | | |
---|
3024 | | #define YY_RULE_SETUP \ |
---|
3025 | | YY_USER_ACTION |
---|
3026 | | |
---|
3027 | | /** The main scanner function which does all the work. |
---|
3028 | | */ |
---|
3029 | | YY_DECL |
---|
3030 | | { |
---|
3031 | | register yy_state_type yy_current_state; |
---|
3032 | | register char *yy_cp, *yy_bp; |
---|
3033 | | register int yy_act; |
---|
3034 | | |
---|
3035 | | #line 1 "conftest.l" |
---|
3036 | | |
---|
3037 | | #line 653 "lex.yy.c" |
---|
3038 | | |
---|
3039 | | if ( !(yy_init) ) |
---|
3040 | | { |
---|
3041 | | (yy_init) = 1; |
---|
3042 | | |
---|
3043 | | #ifdef YY_USER_INIT |
---|
3044 | | YY_USER_INIT; |
---|
3045 | | #endif |
---|
3046 | | |
---|
3047 | | /* Create the reject buffer large enough to save one state per allowed character. */ |
---|
3048 | | if ( ! (yy_state_buf) ) |
---|
3049 | | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); |
---|
3050 | | if ( ! (yy_state_buf) ) |
---|
3051 | | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); |
---|
3052 | | |
---|
3053 | | if ( ! (yy_start) ) |
---|
3054 | | (yy_start) = 1; /* first start state */ |
---|
3055 | | |
---|
3056 | | if ( ! yyin ) |
---|
3057 | | yyin = stdin; |
---|
3058 | | |
---|
3059 | | if ( ! yyout ) |
---|
3060 | | yyout = stdout; |
---|
3061 | | |
---|
3062 | | if ( ! YY_CURRENT_BUFFER ) { |
---|
3063 | | yyensure_buffer_stack (); |
---|
3064 | | YY_CURRENT_BUFFER_LVALUE = |
---|
3065 | | yy_create_buffer(yyin,YY_BUF_SIZE ); |
---|
3066 | | } |
---|
3067 | | |
---|
3068 | | yy_load_buffer_state( ); |
---|
3069 | | } |
---|
3070 | | |
---|
3071 | | while ( 1 ) /* loops until end-of-file is reached */ |
---|
3072 | | { |
---|
3073 | | (yy_more_len) = 0; |
---|
3074 | | if ( (yy_more_flag) ) |
---|
3075 | | { |
---|
3076 | | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); |
---|
3077 | | (yy_more_flag) = 0; |
---|
3078 | | } |
---|
3079 | | yy_cp = (yy_c_buf_p); |
---|
3080 | | |
---|
3081 | | /* Support of yytext. */ |
---|
3082 | | *yy_cp = (yy_hold_char); |
---|
3083 | | |
---|
3084 | | /* yy_bp points to the position in yy_ch_buf of the start of |
---|
3085 | | * the current run. |
---|
3086 | | */ |
---|
3087 | | yy_bp = yy_cp; |
---|
3088 | | |
---|
3089 | | yy_current_state = (yy_start); |
---|
3090 | | |
---|
3091 | | (yy_state_ptr) = (yy_state_buf); |
---|
3092 | | *(yy_state_ptr)++ = yy_current_state; |
---|
3093 | | |
---|
3094 | | yy_match: |
---|
3095 | | do |
---|
3096 | | { |
---|
3097 | | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; |
---|
3098 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
3099 | | { |
---|
3100 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
3101 | | if ( yy_current_state >= 13 ) |
---|
3102 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
3103 | | } |
---|
3104 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
3105 | | *(yy_state_ptr)++ = yy_current_state; |
---|
3106 | | ++yy_cp; |
---|
3107 | | } |
---|
3108 | | while ( yy_base[yy_current_state] != 10 ); |
---|
3109 | | |
---|
3110 | | yy_find_action: |
---|
3111 | | yy_current_state = *--(yy_state_ptr); |
---|
3112 | | (yy_lp) = yy_accept[yy_current_state]; |
---|
3113 | | goto find_rule; /* Shut up GCC warning -Wall */ |
---|
3114 | | find_rule: /* we branch to this label when backing up */ |
---|
3115 | | for ( ; ; ) /* until we find what rule we matched */ |
---|
3116 | | { |
---|
3117 | | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) |
---|
3118 | | { |
---|
3119 | | yy_act = yy_acclist[(yy_lp)]; |
---|
3120 | | { |
---|
3121 | | (yy_full_match) = yy_cp; |
---|
3122 | | break; |
---|
3123 | | } |
---|
3124 | | } |
---|
3125 | | --yy_cp; |
---|
3126 | | yy_current_state = *--(yy_state_ptr); |
---|
3127 | | (yy_lp) = yy_accept[yy_current_state]; |
---|
3128 | | } |
---|
3129 | | |
---|
3130 | | YY_DO_BEFORE_ACTION; |
---|
3131 | | |
---|
3132 | | do_action: /* This label is used only to access EOF actions. */ |
---|
3133 | | |
---|
3134 | | switch ( yy_act ) |
---|
3135 | | { /* beginning of action switch */ |
---|
3136 | | case 1: |
---|
3137 | | YY_RULE_SETUP |
---|
3138 | | #line 2 "conftest.l" |
---|
3139 | | { ECHO; } |
---|
3140 | | YY_BREAK |
---|
3141 | | case 2: |
---|
3142 | | YY_RULE_SETUP |
---|
3143 | | #line 3 "conftest.l" |
---|
3144 | | { REJECT; } |
---|
3145 | | YY_BREAK |
---|
3146 | | case 3: |
---|
3147 | | YY_RULE_SETUP |
---|
3148 | | #line 4 "conftest.l" |
---|
3149 | | { yymore (); } |
---|
3150 | | YY_BREAK |
---|
3151 | | case 4: |
---|
3152 | | YY_RULE_SETUP |
---|
3153 | | #line 5 "conftest.l" |
---|
3154 | | { yyless (1); } |
---|
3155 | | YY_BREAK |
---|
3156 | | case 5: |
---|
3157 | | YY_RULE_SETUP |
---|
3158 | | #line 6 "conftest.l" |
---|
3159 | | { yyless (input () != 0); } |
---|
3160 | | YY_BREAK |
---|
3161 | | case 6: |
---|
3162 | | YY_RULE_SETUP |
---|
3163 | | #line 7 "conftest.l" |
---|
3164 | | { unput (yytext[0]); } |
---|
3165 | | YY_BREAK |
---|
3166 | | case 7: |
---|
3167 | | YY_RULE_SETUP |
---|
3168 | | #line 8 "conftest.l" |
---|
3169 | | { BEGIN INITIAL; } |
---|
3170 | | YY_BREAK |
---|
3171 | | case 8: |
---|
3172 | | YY_RULE_SETUP |
---|
3173 | | #line 9 "conftest.l" |
---|
3174 | | ECHO; |
---|
3175 | | YY_BREAK |
---|
3176 | | #line 792 "lex.yy.c" |
---|
3177 | | case YY_STATE_EOF(INITIAL): |
---|
3178 | | yyterminate(); |
---|
3179 | | |
---|
3180 | | case YY_END_OF_BUFFER: |
---|
3181 | | { |
---|
3182 | | /* Amount of text matched not including the EOB char. */ |
---|
3183 | | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; |
---|
3184 | | |
---|
3185 | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ |
---|
3186 | | *yy_cp = (yy_hold_char); |
---|
3187 | | YY_RESTORE_YY_MORE_OFFSET |
---|
3188 | | |
---|
3189 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) |
---|
3190 | | { |
---|
3191 | | /* We're scanning a new file or input source. It's |
---|
3192 | | * possible that this happened because the user |
---|
3193 | | * just pointed yyin at a new source and called |
---|
3194 | | * yylex(). If so, then we have to assure |
---|
3195 | | * consistency between YY_CURRENT_BUFFER and our |
---|
3196 | | * globals. Here is the right place to do so, because |
---|
3197 | | * this is the first action (other than possibly a |
---|
3198 | | * back-up) that will match for the new input source. |
---|
3199 | | */ |
---|
3200 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; |
---|
3201 | | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; |
---|
3202 | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; |
---|
3203 | | } |
---|
3204 | | |
---|
3205 | | /* Note that here we test for yy_c_buf_p "<=" to the position |
---|
3206 | | * of the first EOB in the buffer, since yy_c_buf_p will |
---|
3207 | | * already have been incremented past the NUL character |
---|
3208 | | * (since all states make transitions on EOB to the |
---|
3209 | | * end-of-buffer state). Contrast this with the test |
---|
3210 | | * in input(). |
---|
3211 | | */ |
---|
3212 | | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) |
---|
3213 | | { /* This was really a NUL. */ |
---|
3214 | | yy_state_type yy_next_state; |
---|
3215 | | |
---|
3216 | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; |
---|
3217 | | |
---|
3218 | | yy_current_state = yy_get_previous_state( ); |
---|
3219 | | |
---|
3220 | | /* Okay, we're now positioned to make the NUL |
---|
3221 | | * transition. We couldn't have |
---|
3222 | | * yy_get_previous_state() go ahead and do it |
---|
3223 | | * for us because it doesn't know how to deal |
---|
3224 | | * with the possibility of jamming (and we don't |
---|
3225 | | * want to build jamming into it because then it |
---|
3226 | | * will run more slowly). |
---|
3227 | | */ |
---|
3228 | | |
---|
3229 | | yy_next_state = yy_try_NUL_trans( yy_current_state ); |
---|
3230 | | |
---|
3231 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
3232 | | |
---|
3233 | | if ( yy_next_state ) |
---|
3234 | | { |
---|
3235 | | /* Consume the NUL. */ |
---|
3236 | | yy_cp = ++(yy_c_buf_p); |
---|
3237 | | yy_current_state = yy_next_state; |
---|
3238 | | goto yy_match; |
---|
3239 | | } |
---|
3240 | | |
---|
3241 | | else |
---|
3242 | | { |
---|
3243 | | yy_cp = (yy_c_buf_p); |
---|
3244 | | goto yy_find_action; |
---|
3245 | | } |
---|
3246 | | } |
---|
3247 | | |
---|
3248 | | else switch ( yy_get_next_buffer( ) ) |
---|
3249 | | { |
---|
3250 | | case EOB_ACT_END_OF_FILE: |
---|
3251 | | { |
---|
3252 | | (yy_did_buffer_switch_on_eof) = 0; |
---|
3253 | | |
---|
3254 | | if ( yywrap( ) ) |
---|
3255 | | { |
---|
3256 | | /* Note: because we've taken care in |
---|
3257 | | * yy_get_next_buffer() to have set up |
---|
3258 | | * yytext, we can now set up |
---|
3259 | | * yy_c_buf_p so that if some total |
---|
3260 | | * hoser (like flex itself) wants to |
---|
3261 | | * call the scanner after we return the |
---|
3262 | | * YY_NULL, it'll still work - another |
---|
3263 | | * YY_NULL will get returned. |
---|
3264 | | */ |
---|
3265 | | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; |
---|
3266 | | |
---|
3267 | | yy_act = YY_STATE_EOF(YY_START); |
---|
3268 | | goto do_action; |
---|
3269 | | } |
---|
3270 | | |
---|
3271 | | else |
---|
3272 | | { |
---|
3273 | | if ( ! (yy_did_buffer_switch_on_eof) ) |
---|
3274 | | YY_NEW_FILE; |
---|
3275 | | } |
---|
3276 | | break; |
---|
3277 | | } |
---|
3278 | | |
---|
3279 | | case EOB_ACT_CONTINUE_SCAN: |
---|
3280 | | (yy_c_buf_p) = |
---|
3281 | | (yytext_ptr) + yy_amount_of_matched_text; |
---|
3282 | | |
---|
3283 | | yy_current_state = yy_get_previous_state( ); |
---|
3284 | | |
---|
3285 | | yy_cp = (yy_c_buf_p); |
---|
3286 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
3287 | | goto yy_match; |
---|
3288 | | |
---|
3289 | | case EOB_ACT_LAST_MATCH: |
---|
3290 | | (yy_c_buf_p) = |
---|
3291 | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; |
---|
3292 | | |
---|
3293 | | yy_current_state = yy_get_previous_state( ); |
---|
3294 | | |
---|
3295 | | yy_cp = (yy_c_buf_p); |
---|
3296 | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; |
---|
3297 | | goto yy_find_action; |
---|
3298 | | } |
---|
3299 | | break; |
---|
3300 | | } |
---|
3301 | | |
---|
3302 | | default: |
---|
3303 | | YY_FATAL_ERROR( |
---|
3304 | | "fatal flex scanner internal error--no action found" ); |
---|
3305 | | } /* end of action switch */ |
---|
3306 | | } /* end of scanning one token */ |
---|
3307 | | } /* end of yylex */ |
---|
3308 | | |
---|
3309 | | /* yy_get_next_buffer - try to read in a new buffer |
---|
3310 | | * |
---|
3311 | | * Returns a code representing an action: |
---|
3312 | | * EOB_ACT_LAST_MATCH - |
---|
3313 | | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position |
---|
3314 | | * EOB_ACT_END_OF_FILE - end of file |
---|
3315 | | */ |
---|
3316 | | static int yy_get_next_buffer (void) |
---|
3317 | | { |
---|
3318 | | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; |
---|
3319 | | register char *source = (yytext_ptr); |
---|
3320 | | register int number_to_move, i; |
---|
3321 | | int ret_val; |
---|
3322 | | |
---|
3323 | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) |
---|
3324 | | YY_FATAL_ERROR( |
---|
3325 | | "fatal flex scanner internal error--end of buffer missed" ); |
---|
3326 | | |
---|
3327 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) |
---|
3328 | | { /* Don't try to fill the buffer, so this is an EOF. */ |
---|
3329 | | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) |
---|
3330 | | { |
---|
3331 | | /* We matched a single character, the EOB, so |
---|
3332 | | * treat this as a final EOF. |
---|
3333 | | */ |
---|
3334 | | return EOB_ACT_END_OF_FILE; |
---|
3335 | | } |
---|
3336 | | |
---|
3337 | | else |
---|
3338 | | { |
---|
3339 | | /* We matched some text prior to the EOB, first |
---|
3340 | | * process it. |
---|
3341 | | */ |
---|
3342 | | return EOB_ACT_LAST_MATCH; |
---|
3343 | | } |
---|
3344 | | } |
---|
3345 | | |
---|
3346 | | /* Try to read more data. */ |
---|
3347 | | |
---|
3348 | | /* First move last chars to start of buffer. */ |
---|
3349 | | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; |
---|
3350 | | |
---|
3351 | | for ( i = 0; i < number_to_move; ++i ) |
---|
3352 | | *(dest++) = *(source++); |
---|
3353 | | |
---|
3354 | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) |
---|
3355 | | /* don't do the read, it's not guaranteed to return an EOF, |
---|
3356 | | * just force an EOF |
---|
3357 | | */ |
---|
3358 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; |
---|
3359 | | |
---|
3360 | | else |
---|
3361 | | { |
---|
3362 | | yy_size_t num_to_read = |
---|
3363 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; |
---|
3364 | | |
---|
3365 | | while ( num_to_read <= 0 ) |
---|
3366 | | { /* Not enough room in the buffer - grow it. */ |
---|
3367 | | |
---|
3368 | | YY_FATAL_ERROR( |
---|
3369 | | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); |
---|
3370 | | |
---|
3371 | | } |
---|
3372 | | |
---|
3373 | | if ( num_to_read > YY_READ_BUF_SIZE ) |
---|
3374 | | num_to_read = YY_READ_BUF_SIZE; |
---|
3375 | | |
---|
3376 | | /* Read in more data. */ |
---|
3377 | | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), |
---|
3378 | | (yy_n_chars), num_to_read ); |
---|
3379 | | |
---|
3380 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
3381 | | } |
---|
3382 | | |
---|
3383 | | if ( (yy_n_chars) == 0 ) |
---|
3384 | | { |
---|
3385 | | if ( number_to_move == YY_MORE_ADJ ) |
---|
3386 | | { |
---|
3387 | | ret_val = EOB_ACT_END_OF_FILE; |
---|
3388 | | yyrestart(yyin ); |
---|
3389 | | } |
---|
3390 | | |
---|
3391 | | else |
---|
3392 | | { |
---|
3393 | | ret_val = EOB_ACT_LAST_MATCH; |
---|
3394 | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = |
---|
3395 | | YY_BUFFER_EOF_PENDING; |
---|
3396 | | } |
---|
3397 | | } |
---|
3398 | | |
---|
3399 | | else |
---|
3400 | | ret_val = EOB_ACT_CONTINUE_SCAN; |
---|
3401 | | |
---|
3402 | | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { |
---|
3403 | | /* Extend the array by 50%, plus the number we really need. */ |
---|
3404 | | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); |
---|
3405 | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); |
---|
3406 | | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) |
---|
3407 | | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); |
---|
3408 | | } |
---|
3409 | | |
---|
3410 | | (yy_n_chars) += number_to_move; |
---|
3411 | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; |
---|
3412 | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; |
---|
3413 | | |
---|
3414 | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; |
---|
3415 | | |
---|
3416 | | return ret_val; |
---|
3417 | | } |
---|
3418 | | |
---|
3419 | | /* yy_get_previous_state - get the state just before the EOB char was reached */ |
---|
3420 | | |
---|
3421 | | static yy_state_type yy_get_previous_state (void) |
---|
3422 | | { |
---|
3423 | | register yy_state_type yy_current_state; |
---|
3424 | | register char *yy_cp; |
---|
3425 | | |
---|
3426 | | yy_current_state = (yy_start); |
---|
3427 | | |
---|
3428 | | (yy_state_ptr) = (yy_state_buf); |
---|
3429 | | *(yy_state_ptr)++ = yy_current_state; |
---|
3430 | | |
---|
3431 | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) |
---|
3432 | | { |
---|
3433 | | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); |
---|
3434 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
3435 | | { |
---|
3436 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
3437 | | if ( yy_current_state >= 13 ) |
---|
3438 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
3439 | | } |
---|
3440 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
3441 | | *(yy_state_ptr)++ = yy_current_state; |
---|
3442 | | } |
---|
3443 | | |
---|
3444 | | return yy_current_state; |
---|
3445 | | } |
---|
3446 | | |
---|
3447 | | /* yy_try_NUL_trans - try to make a transition on the NUL character |
---|
3448 | | * |
---|
3449 | | * synopsis |
---|
3450 | | * next_state = yy_try_NUL_trans( current_state ); |
---|
3451 | | */ |
---|
3452 | | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) |
---|
3453 | | { |
---|
3454 | | register int yy_is_jam; |
---|
3455 | | |
---|
3456 | | register YY_CHAR yy_c = 1; |
---|
3457 | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
---|
3458 | | { |
---|
3459 | | yy_current_state = (int) yy_def[yy_current_state]; |
---|
3460 | | if ( yy_current_state >= 13 ) |
---|
3461 | | yy_c = yy_meta[(unsigned int) yy_c]; |
---|
3462 | | } |
---|
3463 | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
---|
3464 | | yy_is_jam = (yy_current_state == 12); |
---|
3465 | | if ( ! yy_is_jam ) |
---|
3466 | | *(yy_state_ptr)++ = yy_current_state; |
---|
3467 | | |
---|
3468 | | return yy_is_jam ? 0 : yy_current_state; |
---|
3469 | | } |
---|
3470 | | |
---|
3471 | | static void yyunput (int c, register char * yy_bp ) |
---|
3472 | | { |
---|
3473 | | register char *yy_cp; |
---|
3474 | | |
---|
3475 | | yy_cp = (yy_c_buf_p); |
---|
3476 | | |
---|
3477 | | /* undo effects of setting up yytext */ |
---|
3478 | | *yy_cp = (yy_hold_char); |
---|
3479 | | |
---|
3480 | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) |
---|
3481 | | { /* need to shift things up to make room */ |
---|
3482 | | /* +2 for EOB chars. */ |
---|
3483 | | register yy_size_t number_to_move = (yy_n_chars) + 2; |
---|
3484 | | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ |
---|
3485 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; |
---|
3486 | | register char *source = |
---|
3487 | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; |
---|
3488 | | |
---|
3489 | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) |
---|
3490 | | *--dest = *--source; |
---|
3491 | | |
---|
3492 | | yy_cp += (int) (dest - source); |
---|
3493 | | yy_bp += (int) (dest - source); |
---|
3494 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = |
---|
3495 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; |
---|
3496 | | |
---|
3497 | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) |
---|
3498 | | YY_FATAL_ERROR( "flex scanner push-back overflow" ); |
---|
3499 | | } |
---|
3500 | | |
---|
3501 | | *--yy_cp = (char) c; |
---|
3502 | | |
---|
3503 | | (yytext_ptr) = yy_bp; |
---|
3504 | | (yy_hold_char) = *yy_cp; |
---|
3505 | | (yy_c_buf_p) = yy_cp; |
---|
3506 | | } |
---|
3507 | | |
---|
3508 | | #ifndef YY_NO_INPUT |
---|
3509 | | #ifdef __cplusplus |
---|
3510 | | static int yyinput (void) |
---|
3511 | | #else |
---|
3512 | | static int input (void) |
---|
3513 | | #endif |
---|
3514 | | |
---|
3515 | | { |
---|
3516 | | int c; |
---|
3517 | | |
---|
3518 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
3519 | | |
---|
3520 | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) |
---|
3521 | | { |
---|
3522 | | /* yy_c_buf_p now points to the character we want to return. |
---|
3523 | | * If this occurs *before* the EOB characters, then it's a |
---|
3524 | | * valid NUL; if not, then we've hit the end of the buffer. |
---|
3525 | | */ |
---|
3526 | | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) |
---|
3527 | | /* This was really a NUL. */ |
---|
3528 | | *(yy_c_buf_p) = '\0'; |
---|
3529 | | |
---|
3530 | | else |
---|
3531 | | { /* need more input */ |
---|
3532 | | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); |
---|
3533 | | ++(yy_c_buf_p); |
---|
3534 | | |
---|
3535 | | switch ( yy_get_next_buffer( ) ) |
---|
3536 | | { |
---|
3537 | | case EOB_ACT_LAST_MATCH: |
---|
3538 | | /* This happens because yy_g_n_b() |
---|
3539 | | * sees that we've accumulated a |
---|
3540 | | * token and flags that we need to |
---|
3541 | | * try matching the token before |
---|
3542 | | * proceeding. But for input(), |
---|
3543 | | * there's no matching to consider. |
---|
3544 | | * So convert the EOB_ACT_LAST_MATCH |
---|
3545 | | * to EOB_ACT_END_OF_FILE. |
---|
3546 | | */ |
---|
3547 | | |
---|
3548 | | /* Reset buffer status. */ |
---|
3549 | | yyrestart(yyin ); |
---|
3550 | | |
---|
3551 | | /*FALLTHROUGH*/ |
---|
3552 | | |
---|
3553 | | case EOB_ACT_END_OF_FILE: |
---|
3554 | | { |
---|
3555 | | if ( yywrap( ) ) |
---|
3556 | | return 0; |
---|
3557 | | |
---|
3558 | | if ( ! (yy_did_buffer_switch_on_eof) ) |
---|
3559 | | YY_NEW_FILE; |
---|
3560 | | #ifdef __cplusplus |
---|
3561 | | return yyinput(); |
---|
3562 | | #else |
---|
3563 | | return input(); |
---|
3564 | | #endif |
---|
3565 | | } |
---|
3566 | | |
---|
3567 | | case EOB_ACT_CONTINUE_SCAN: |
---|
3568 | | (yy_c_buf_p) = (yytext_ptr) + offset; |
---|
3569 | | break; |
---|
3570 | | } |
---|
3571 | | } |
---|
3572 | | } |
---|
3573 | | |
---|
3574 | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ |
---|
3575 | | *(yy_c_buf_p) = '\0'; /* preserve yytext */ |
---|
3576 | | (yy_hold_char) = *++(yy_c_buf_p); |
---|
3577 | | |
---|
3578 | | return c; |
---|
3579 | | } |
---|
3580 | | #endif /* ifndef YY_NO_INPUT */ |
---|
3581 | | |
---|
3582 | | /** Immediately switch to a different input stream. |
---|
3583 | | * @param input_file A readable stream. |
---|
3584 | | * |
---|
3585 | | * @note This function does not reset the start condition to @c INITIAL . |
---|
3586 | | */ |
---|
3587 | | void yyrestart (FILE * input_file ) |
---|
3588 | | { |
---|
3589 | | |
---|
3590 | | if ( ! YY_CURRENT_BUFFER ){ |
---|
3591 | | yyensure_buffer_stack (); |
---|
3592 | | YY_CURRENT_BUFFER_LVALUE = |
---|
3593 | | yy_create_buffer(yyin,YY_BUF_SIZE ); |
---|
3594 | | } |
---|
3595 | | |
---|
3596 | | yy_init_buffer(YY_CURRENT_BUFFER,input_file ); |
---|
3597 | | yy_load_buffer_state( ); |
---|
3598 | | } |
---|
3599 | | |
---|
3600 | | /** Switch to a different input buffer. |
---|
3601 | | * @param new_buffer The new input buffer. |
---|
3602 | | * |
---|
3603 | | */ |
---|
3604 | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) |
---|
3605 | | { |
---|
3606 | | |
---|
3607 | | /* TODO. We should be able to replace this entire function body |
---|
3608 | | * with |
---|
3609 | | * yypop_buffer_state(); |
---|
3610 | | * yypush_buffer_state(new_buffer); |
---|
3611 | | */ |
---|
3612 | | yyensure_buffer_stack (); |
---|
3613 | | if ( YY_CURRENT_BUFFER == new_buffer ) |
---|
3614 | | return; |
---|
3615 | | |
---|
3616 | | if ( YY_CURRENT_BUFFER ) |
---|
3617 | | { |
---|
3618 | | /* Flush out information for old buffer. */ |
---|
3619 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
3620 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); |
---|
3621 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
3622 | | } |
---|
3623 | | |
---|
3624 | | YY_CURRENT_BUFFER_LVALUE = new_buffer; |
---|
3625 | | yy_load_buffer_state( ); |
---|
3626 | | |
---|
3627 | | /* We don't actually know whether we did this switch during |
---|
3628 | | * EOF (yywrap()) processing, but the only time this flag |
---|
3629 | | * is looked at is after yywrap() is called, so it's safe |
---|
3630 | | * to go ahead and always set it. |
---|
3631 | | */ |
---|
3632 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
3633 | | } |
---|
3634 | | |
---|
3635 | | static void yy_load_buffer_state (void) |
---|
3636 | | { |
---|
3637 | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; |
---|
3638 | | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; |
---|
3639 | | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; |
---|
3640 | | (yy_hold_char) = *(yy_c_buf_p); |
---|
3641 | | } |
---|
3642 | | |
---|
3643 | | /** Allocate and initialize an input buffer state. |
---|
3644 | | * @param file A readable stream. |
---|
3645 | | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. |
---|
3646 | | * |
---|
3647 | | * @return the allocated buffer state. |
---|
3648 | | */ |
---|
3649 | | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) |
---|
3650 | | { |
---|
3651 | | YY_BUFFER_STATE b; |
---|
3652 | | |
---|
3653 | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); |
---|
3654 | | if ( ! b ) |
---|
3655 | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
---|
3656 | | |
---|
3657 | | b->yy_buf_size = size; |
---|
3658 | | |
---|
3659 | | /* yy_ch_buf has to be 2 characters longer than the size given because |
---|
3660 | | * we need to put in 2 end-of-buffer characters. |
---|
3661 | | */ |
---|
3662 | | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); |
---|
3663 | | if ( ! b->yy_ch_buf ) |
---|
3664 | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
---|
3665 | | |
---|
3666 | | b->yy_is_our_buffer = 1; |
---|
3667 | | |
---|
3668 | | yy_init_buffer(b,file ); |
---|
3669 | | |
---|
3670 | | return b; |
---|
3671 | | } |
---|
3672 | | |
---|
3673 | | /** Destroy the buffer. |
---|
3674 | | * @param b a buffer created with yy_create_buffer() |
---|
3675 | | * |
---|
3676 | | */ |
---|
3677 | | void yy_delete_buffer (YY_BUFFER_STATE b ) |
---|
3678 | | { |
---|
3679 | | |
---|
3680 | | if ( ! b ) |
---|
3681 | | return; |
---|
3682 | | |
---|
3683 | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ |
---|
3684 | | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; |
---|
3685 | | |
---|
3686 | | if ( b->yy_is_our_buffer ) |
---|
3687 | | yyfree((void *) b->yy_ch_buf ); |
---|
3688 | | |
---|
3689 | | yyfree((void *) b ); |
---|
3690 | | } |
---|
3691 | | |
---|
3692 | | #ifndef __cplusplus |
---|
3693 | | extern int isatty (int ); |
---|
3694 | | #endif /* __cplusplus */ |
---|
3695 | | |
---|
3696 | | /* Initializes or reinitializes a buffer. |
---|
3697 | | * This function is sometimes called more than once on the same buffer, |
---|
3698 | | * such as during a yyrestart() or at EOF. |
---|
3699 | | */ |
---|
3700 | | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) |
---|
3701 | | |
---|
3702 | | { |
---|
3703 | | int oerrno = errno; |
---|
3704 | | |
---|
3705 | | yy_flush_buffer(b ); |
---|
3706 | | |
---|
3707 | | b->yy_input_file = file; |
---|
3708 | | b->yy_fill_buffer = 1; |
---|
3709 | | |
---|
3710 | | /* If b is the current buffer, then yy_init_buffer was _probably_ |
---|
3711 | | * called from yyrestart() or through yy_get_next_buffer. |
---|
3712 | | * In that case, we don't want to reset the lineno or column. |
---|
3713 | | */ |
---|
3714 | | if (b != YY_CURRENT_BUFFER){ |
---|
3715 | | b->yy_bs_lineno = 1; |
---|
3716 | | b->yy_bs_column = 0; |
---|
3717 | | } |
---|
3718 | | |
---|
3719 | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; |
---|
3720 | | |
---|
3721 | | errno = oerrno; |
---|
3722 | | } |
---|
3723 | | |
---|
3724 | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. |
---|
3725 | | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. |
---|
3726 | | * |
---|
3727 | | */ |
---|
3728 | | void yy_flush_buffer (YY_BUFFER_STATE b ) |
---|
3729 | | { |
---|
3730 | | if ( ! b ) |
---|
3731 | | return; |
---|
3732 | | |
---|
3733 | | b->yy_n_chars = 0; |
---|
3734 | | |
---|
3735 | | /* We always need two end-of-buffer characters. The first causes |
---|
3736 | | * a transition to the end-of-buffer state. The second causes |
---|
3737 | | * a jam in that state. |
---|
3738 | | */ |
---|
3739 | | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; |
---|
3740 | | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; |
---|
3741 | | |
---|
3742 | | b->yy_buf_pos = &b->yy_ch_buf[0]; |
---|
3743 | | |
---|
3744 | | b->yy_at_bol = 1; |
---|
3745 | | b->yy_buffer_status = YY_BUFFER_NEW; |
---|
3746 | | |
---|
3747 | | if ( b == YY_CURRENT_BUFFER ) |
---|
3748 | | yy_load_buffer_state( ); |
---|
3749 | | } |
---|
3750 | | |
---|
3751 | | /** Pushes the new state onto the stack. The new state becomes |
---|
3752 | | * the current state. This function will allocate the stack |
---|
3753 | | * if necessary. |
---|
3754 | | * @param new_buffer The new state. |
---|
3755 | | * |
---|
3756 | | */ |
---|
3757 | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) |
---|
3758 | | { |
---|
3759 | | if (new_buffer == NULL) |
---|
3760 | | return; |
---|
3761 | | |
---|
3762 | | yyensure_buffer_stack(); |
---|
3763 | | |
---|
3764 | | /* This block is copied from yy_switch_to_buffer. */ |
---|
3765 | | if ( YY_CURRENT_BUFFER ) |
---|
3766 | | { |
---|
3767 | | /* Flush out information for old buffer. */ |
---|
3768 | | *(yy_c_buf_p) = (yy_hold_char); |
---|
3769 | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); |
---|
3770 | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); |
---|
3771 | | } |
---|
3772 | | |
---|
3773 | | /* Only push if top exists. Otherwise, replace top. */ |
---|
3774 | | if (YY_CURRENT_BUFFER) |
---|
3775 | | (yy_buffer_stack_top)++; |
---|
3776 | | YY_CURRENT_BUFFER_LVALUE = new_buffer; |
---|
3777 | | |
---|
3778 | | /* copied from yy_switch_to_buffer. */ |
---|
3779 | | yy_load_buffer_state( ); |
---|
3780 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
3781 | | } |
---|
3782 | | |
---|
3783 | | /** Removes and deletes the top of the stack, if present. |
---|
3784 | | * The next element becomes the new top. |
---|
3785 | | * |
---|
3786 | | */ |
---|
3787 | | void yypop_buffer_state (void) |
---|
3788 | | { |
---|
3789 | | if (!YY_CURRENT_BUFFER) |
---|
3790 | | return; |
---|
3791 | | |
---|
3792 | | yy_delete_buffer(YY_CURRENT_BUFFER ); |
---|
3793 | | YY_CURRENT_BUFFER_LVALUE = NULL; |
---|
3794 | | if ((yy_buffer_stack_top) > 0) |
---|
3795 | | --(yy_buffer_stack_top); |
---|
3796 | | |
---|
3797 | | if (YY_CURRENT_BUFFER) { |
---|
3798 | | yy_load_buffer_state( ); |
---|
3799 | | (yy_did_buffer_switch_on_eof) = 1; |
---|
3800 | | } |
---|
3801 | | } |
---|
3802 | | |
---|
3803 | | /* Allocates the stack if it does not exist. |
---|
3804 | | * Guarantees space for at least one push. |
---|
3805 | | */ |
---|
3806 | | static void yyensure_buffer_stack (void) |
---|
3807 | | { |
---|
3808 | | yy_size_t num_to_alloc; |
---|
3809 | | |
---|
3810 | | if (!(yy_buffer_stack)) { |
---|
3811 | | |
---|
3812 | | /* First allocation is just for 2 elements, since we don't know if this |
---|
3813 | | * scanner will even need a stack. We use 2 instead of 1 to avoid an |
---|
3814 | | * immediate realloc on the next call. |
---|
3815 | | */ |
---|
3816 | | num_to_alloc = 1; |
---|
3817 | | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc |
---|
3818 | | (num_to_alloc * sizeof(struct yy_buffer_state*) |
---|
3819 | | ); |
---|
3820 | | if ( ! (yy_buffer_stack) ) |
---|
3821 | | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); |
---|
3822 | | |
---|
3823 | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); |
---|
3824 | | |
---|
3825 | | (yy_buffer_stack_max) = num_to_alloc; |
---|
3826 | | (yy_buffer_stack_top) = 0; |
---|
3827 | | return; |
---|
3828 | | } |
---|
3829 | | |
---|
3830 | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ |
---|
3831 | | |
---|
3832 | | /* Increase the buffer to prepare for a possible push. */ |
---|
3833 | | int grow_size = 8 /* arbitrary grow size */; |
---|
3834 | | |
---|
3835 | | num_to_alloc = (yy_buffer_stack_max) + grow_size; |
---|
3836 | | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc |
---|
3837 | | ((yy_buffer_stack), |
---|
3838 | | num_to_alloc * sizeof(struct yy_buffer_state*) |
---|
3839 | | ); |
---|
3840 | | if ( ! (yy_buffer_stack) ) |
---|
3841 | | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); |
---|
3842 | | |
---|
3843 | | /* zero only the new slots.*/ |
---|
3844 | | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); |
---|
3845 | | (yy_buffer_stack_max) = num_to_alloc; |
---|
3846 | | } |
---|
3847 | | } |
---|
3848 | | |
---|
3849 | | /** Setup the input buffer state to scan directly from a user-specified character buffer. |
---|
3850 | | * @param base the character buffer |
---|
3851 | | * @param size the size in bytes of the character buffer |
---|
3852 | | * |
---|
3853 | | * @return the newly allocated buffer state object. |
---|
3854 | | */ |
---|
3855 | | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) |
---|
3856 | | { |
---|
3857 | | YY_BUFFER_STATE b; |
---|
3858 | | |
---|
3859 | | if ( size < 2 || |
---|
3860 | | base[size-2] != YY_END_OF_BUFFER_CHAR || |
---|
3861 | | base[size-1] != YY_END_OF_BUFFER_CHAR ) |
---|
3862 | | /* They forgot to leave room for the EOB's. */ |
---|
3863 | | return 0; |
---|
3864 | | |
---|
3865 | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); |
---|
3866 | | if ( ! b ) |
---|
3867 | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); |
---|
3868 | | |
---|
3869 | | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ |
---|
3870 | | b->yy_buf_pos = b->yy_ch_buf = base; |
---|
3871 | | b->yy_is_our_buffer = 0; |
---|
3872 | | b->yy_input_file = 0; |
---|
3873 | | b->yy_n_chars = b->yy_buf_size; |
---|
3874 | | b->yy_is_interactive = 0; |
---|
3875 | | b->yy_at_bol = 1; |
---|
3876 | | b->yy_fill_buffer = 0; |
---|
3877 | | b->yy_buffer_status = YY_BUFFER_NEW; |
---|
3878 | | |
---|
3879 | | yy_switch_to_buffer(b ); |
---|
3880 | | |
---|
3881 | | return b; |
---|
3882 | | } |
---|
3883 | | |
---|
3884 | | /** Setup the input buffer state to scan a string. The next call to yylex() will |
---|
3885 | | * scan from a @e copy of @a str. |
---|
3886 | | * @param yystr a NUL-terminated string to scan |
---|
3887 | | * |
---|
3888 | | * @return the newly allocated buffer state object. |
---|
3889 | | * @note If you want to scan bytes that may contain NUL values, then use |
---|
3890 | | * yy_scan_bytes() instead. |
---|
3891 | | */ |
---|
3892 | | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) |
---|
3893 | | { |
---|
3894 | | |
---|
3895 | | return yy_scan_bytes(yystr,strlen(yystr) ); |
---|
3896 | | } |
---|
3897 | | |
---|
3898 | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will |
---|
3899 | | * scan from a @e copy of @a bytes. |
---|
3900 | | * @param bytes the byte buffer to scan |
---|
3901 | | * @param len the number of bytes in the buffer pointed to by @a bytes. |
---|
3902 | | * |
---|
3903 | | * @return the newly allocated buffer state object. |
---|
3904 | | */ |
---|
3905 | | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) |
---|
3906 | | { |
---|
3907 | | YY_BUFFER_STATE b; |
---|
3908 | | char *buf; |
---|
3909 | | yy_size_t n, i; |
---|
3910 | | |
---|
3911 | | /* Get memory for full buffer, including space for trailing EOB's. */ |
---|
3912 | | n = _yybytes_len + 2; |
---|
3913 | | buf = (char *) yyalloc(n ); |
---|
3914 | | if ( ! buf ) |
---|
3915 | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); |
---|
3916 | | |
---|
3917 | | for ( i = 0; i < _yybytes_len; ++i ) |
---|
3918 | | buf[i] = yybytes[i]; |
---|
3919 | | |
---|
3920 | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; |
---|
3921 | | |
---|
3922 | | b = yy_scan_buffer(buf,n ); |
---|
3923 | | if ( ! b ) |
---|
3924 | | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); |
---|
3925 | | |
---|
3926 | | /* It's okay to grow etc. this buffer, and we should throw it |
---|
3927 | | * away when we're done. |
---|
3928 | | */ |
---|
3929 | | b->yy_is_our_buffer = 1; |
---|
3930 | | |
---|
3931 | | return b; |
---|
3932 | | } |
---|
3933 | | |
---|
3934 | | #ifndef YY_EXIT_FAILURE |
---|
3935 | | #define YY_EXIT_FAILURE 2 |
---|
3936 | | #endif |
---|
3937 | | |
---|
3938 | | static void yy_fatal_error (yyconst char* msg ) |
---|
3939 | | { |
---|
3940 | | (void) fprintf( stderr, "%s\n", msg ); |
---|
3941 | | exit( YY_EXIT_FAILURE ); |
---|
3942 | | } |
---|
3943 | | |
---|
3944 | | /* Redefine yyless() so it works in section 3 code. */ |
---|
3945 | | |
---|
3946 | | #undef yyless |
---|
3947 | | #define yyless(n) \ |
---|
3948 | | do \ |
---|
3949 | | { \ |
---|
3950 | | /* Undo effects of setting up yytext. */ \ |
---|
3951 | | int yyless_macro_arg = (n); \ |
---|
3952 | | YY_LESS_LINENO(yyless_macro_arg);\ |
---|
3953 | | yytext[yyleng] = (yy_hold_char); \ |
---|
3954 | | (yy_c_buf_p) = yytext + yyless_macro_arg; \ |
---|
3955 | | (yy_hold_char) = *(yy_c_buf_p); \ |
---|
3956 | | *(yy_c_buf_p) = '\0'; \ |
---|
3957 | | yyleng = yyless_macro_arg; \ |
---|
3958 | | } \ |
---|
3959 | | while ( 0 ) |
---|
3960 | | |
---|
3961 | | /* Accessor methods (get/set functions) to struct members. */ |
---|
3962 | | |
---|
3963 | | /** Get the current line number. |
---|
3964 | | * |
---|
3965 | | */ |
---|
3966 | | int yyget_lineno (void) |
---|
3967 | | { |
---|
3968 | | |
---|
3969 | | return yylineno; |
---|
3970 | | } |
---|
3971 | | |
---|
3972 | | /** Get the input stream. |
---|
3973 | | * |
---|
3974 | | */ |
---|
3975 | | FILE *yyget_in (void) |
---|
3976 | | { |
---|
3977 | | return yyin; |
---|
3978 | | } |
---|
3979 | | |
---|
3980 | | /** Get the output stream. |
---|
3981 | | * |
---|
3982 | | */ |
---|
3983 | | FILE *yyget_out (void) |
---|
3984 | | { |
---|
3985 | | return yyout; |
---|
3986 | | } |
---|
3987 | | |
---|
3988 | | /** Get the length of the current token. |
---|
3989 | | * |
---|
3990 | | */ |
---|
3991 | | yy_size_t yyget_leng (void) |
---|
3992 | | { |
---|
3993 | | return yyleng; |
---|
3994 | | } |
---|
3995 | | |
---|
3996 | | /** Get the current token. |
---|
3997 | | * |
---|
3998 | | */ |
---|
3999 | | |
---|
4000 | | char *yyget_text (void) |
---|
4001 | | { |
---|
4002 | | return yytext; |
---|
4003 | | } |
---|
4004 | | |
---|
4005 | | /** Set the current line number. |
---|
4006 | | * @param line_number |
---|
4007 | | * |
---|
4008 | | */ |
---|
4009 | | void yyset_lineno (int line_number ) |
---|
4010 | | { |
---|
4011 | | |
---|
4012 | | yylineno = line_number; |
---|
4013 | | } |
---|
4014 | | |
---|
4015 | | /** Set the input stream. This does not discard the current |
---|
4016 | | * input buffer. |
---|
4017 | | * @param in_str A readable stream. |
---|
4018 | | * |
---|
4019 | | * @see yy_switch_to_buffer |
---|
4020 | | */ |
---|
4021 | | void yyset_in (FILE * in_str ) |
---|
4022 | | { |
---|
4023 | | yyin = in_str ; |
---|
4024 | | } |
---|
4025 | | |
---|
4026 | | void yyset_out (FILE * out_str ) |
---|
4027 | | { |
---|
4028 | | yyout = out_str ; |
---|
4029 | | } |
---|
4030 | | |
---|
4031 | | int yyget_debug (void) |
---|
4032 | | { |
---|
4033 | | return yy_flex_debug; |
---|
4034 | | } |
---|
4035 | | |
---|
4036 | | void yyset_debug (int bdebug ) |
---|
4037 | | { |
---|
4038 | | yy_flex_debug = bdebug ; |
---|
4039 | | } |
---|
4040 | | |
---|
4041 | | static int yy_init_globals (void) |
---|
4042 | | { |
---|
4043 | | /* Initialization is the same as for the non-reentrant scanner. |
---|
4044 | | * This function is called from yylex_destroy(), so don't allocate here. |
---|
4045 | | */ |
---|
4046 | | |
---|
4047 | | (yy_buffer_stack) = 0; |
---|
4048 | | (yy_buffer_stack_top) = 0; |
---|
4049 | | (yy_buffer_stack_max) = 0; |
---|
4050 | | (yy_c_buf_p) = (char *) 0; |
---|
4051 | | (yy_init) = 0; |
---|
4052 | | (yy_start) = 0; |
---|
4053 | | |
---|
4054 | | (yy_state_buf) = 0; |
---|
4055 | | (yy_state_ptr) = 0; |
---|
4056 | | (yy_full_match) = 0; |
---|
4057 | | (yy_lp) = 0; |
---|
4058 | | |
---|
4059 | | /* Defined in main.c */ |
---|
4060 | | #ifdef YY_STDINIT |
---|
4061 | | yyin = stdin; |
---|
4062 | | yyout = stdout; |
---|
4063 | | #else |
---|
4064 | | yyin = (FILE *) 0; |
---|
4065 | | yyout = (FILE *) 0; |
---|
4066 | | #endif |
---|
4067 | | |
---|
4068 | | /* For future reference: Set errno on error, since we are called by |
---|
4069 | | * yylex_init() |
---|
4070 | | */ |
---|
4071 | | return 0; |
---|
4072 | | } |
---|
4073 | | |
---|
4074 | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ |
---|
4075 | | int yylex_destroy (void) |
---|
4076 | | { |
---|
4077 | | |
---|
4078 | | /* Pop the buffer stack, destroying each element. */ |
---|
4079 | | while(YY_CURRENT_BUFFER){ |
---|
4080 | | yy_delete_buffer(YY_CURRENT_BUFFER ); |
---|
4081 | | YY_CURRENT_BUFFER_LVALUE = NULL; |
---|
4082 | | yypop_buffer_state(); |
---|
4083 | | } |
---|
4084 | | |
---|
4085 | | /* Destroy the stack itself. */ |
---|
4086 | | yyfree((yy_buffer_stack) ); |
---|
4087 | | (yy_buffer_stack) = NULL; |
---|
4088 | | |
---|
4089 | | yyfree ( (yy_state_buf) ); |
---|
4090 | | (yy_state_buf) = NULL; |
---|
4091 | | |
---|
4092 | | /* Reset the globals. This is important in a non-reentrant scanner so the next time |
---|
4093 | | * yylex() is called, initialization will occur. */ |
---|
4094 | | yy_init_globals( ); |
---|
4095 | | |
---|
4096 | | return 0; |
---|
4097 | | } |
---|
4098 | | |
---|
4099 | | /* |
---|
4100 | | * Internal utility routines. |
---|
4101 | | */ |
---|
4102 | | |
---|
4103 | | #ifndef yytext_ptr |
---|
4104 | | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) |
---|
4105 | | { |
---|
4106 | | register int i; |
---|
4107 | | for ( i = 0; i < n; ++i ) |
---|
4108 | | s1[i] = s2[i]; |
---|
4109 | | } |
---|
4110 | | #endif |
---|
4111 | | |
---|
4112 | | #ifdef YY_NEED_STRLEN |
---|
4113 | | static int yy_flex_strlen (yyconst char * s ) |
---|
4114 | | { |
---|
4115 | | register int n; |
---|
4116 | | for ( n = 0; s[n]; ++n ) |
---|
4117 | | ; |
---|
4118 | | |
---|
4119 | | return n; |
---|
4120 | | } |
---|
4121 | | #endif |
---|
4122 | | |
---|
4123 | | void *yyalloc (yy_size_t size ) |
---|
4124 | | { |
---|
4125 | | return (void *) malloc( size ); |
---|
4126 | | } |
---|
4127 | | |
---|
4128 | | void *yyrealloc (void * ptr, yy_size_t size ) |
---|
4129 | | { |
---|
4130 | | /* The cast to (char *) in the following accommodates both |
---|
4131 | | * implementations that use char* generic pointers, and those |
---|
4132 | | * that use void* generic pointers. It works with the latter |
---|
4133 | | * because both ANSI C and C++ allow castless assignment from |
---|
4134 | | * any pointer type to void*, and deal with argument conversions |
---|
4135 | | * as though doing an assignment. |
---|
4136 | | */ |
---|
4137 | | return (void *) realloc( (char *) ptr, size ); |
---|
4138 | | } |
---|
4139 | | |
---|
4140 | | void yyfree (void * ptr ) |
---|
4141 | | { |
---|
4142 | | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ |
---|
4143 | | } |
---|
4144 | | |
---|
4145 | | #define YYTABLES_NAME "yytables" |
---|
4146 | | |
---|
4147 | | #line 9 "conftest.l" |
---|
4148 | | |
---|
4149 | | |
---|
4150 | | #ifdef YYTEXT_POINTER |
---|
4151 | | extern char *yytext; |
---|
4152 | | #endif |
---|
4153 | | int |
---|
4154 | | main (void) |
---|
4155 | | { |
---|
4156 | | return ! yylex () + ! yywrap (); |
---|
4157 | | } |
---|
4158 | configure:15997: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c -ll >&5 |
---|
4159 | configure:15997: $? = 0 |
---|
4160 | configure:16007: result: -ll |
---|
4161 | configure:16013: checking whether yytext is a pointer |
---|
4162 | configure:16030: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 conftest.c -ll >&5 |
---|
4163 | configure:16030: $? = 0 |
---|
4164 | configure:16038: result: yes |
---|
4165 | configure:16053: checking for flex |
---|
4166 | configure:16071: found /usr/bin/flex |
---|
4167 | configure:16083: result: /usr/bin/flex |
---|
4168 | configure:16097: checking for pod2man |
---|
4169 | configure:16115: found /opt/local/bin/pod2man |
---|
4170 | configure:16127: result: /opt/local/bin/pod2man |
---|
4171 | configure:16144: checking for pod2html |
---|
4172 | configure:16162: found /opt/local/bin/pod2html |
---|
4173 | configure:16174: result: /opt/local/bin/pod2html |
---|
4174 | configure:16198: checking for xdg-open |
---|
4175 | configure:16231: result: no |
---|
4176 | configure:16259: checking for htmlview |
---|
4177 | configure:16292: result: no |
---|
4178 | configure:16363: checking for doxygen |
---|
4179 | configure:16396: result: no |
---|
4180 | configure:16403: checking for doxygen |
---|
4181 | configure:16431: result: no |
---|
4182 | configure:16510: checking for pkg-config |
---|
4183 | configure:16528: found /opt/local/bin/pkg-config |
---|
4184 | configure:16540: result: /opt/local/bin/pkg-config |
---|
4185 | configure:16565: checking pkg-config is at least version 0.9.0 |
---|
4186 | configure:16568: result: yes |
---|
4187 | configure:16666: checking whether we can build for OS X 10.9 |
---|
4188 | configure:16708: result: no |
---|
4189 | configure:16710: error: We couldn't find the SDK for OS X 10.9 |
---|
4190 | |
---|
4191 | ## ---------------- ## |
---|
4192 | ## Cache variables. ## |
---|
4193 | ## ---------------- ## |
---|
4194 | |
---|
4195 | ac_cv_build=x86_64-apple-darwin13.0.0 |
---|
4196 | ac_cv_c_compiler_gnu=yes |
---|
4197 | ac_cv_cxx_compiler_gnu=yes |
---|
4198 | ac_cv_env_CCC_set= |
---|
4199 | ac_cv_env_CCC_value= |
---|
4200 | ac_cv_env_CC_set=set |
---|
4201 | ac_cv_env_CC_value=/usr/bin/clang |
---|
4202 | ac_cv_env_CFLAGS_set=set |
---|
4203 | ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64' |
---|
4204 | ac_cv_env_CPPFLAGS_set=set |
---|
4205 | ac_cv_env_CPPFLAGS_value=-I/opt/local/include |
---|
4206 | ac_cv_env_CPP_set= |
---|
4207 | ac_cv_env_CPP_value= |
---|
4208 | ac_cv_env_CXXCPP_set= |
---|
4209 | ac_cv_env_CXXCPP_value= |
---|
4210 | ac_cv_env_CXXFLAGS_set=set |
---|
4211 | ac_cv_env_CXXFLAGS_value='-pipe -Os -arch x86_64' |
---|
4212 | ac_cv_env_CXX_set=set |
---|
4213 | ac_cv_env_CXX_value=/usr/bin/clang++ |
---|
4214 | ac_cv_env_LDFLAGS_set=set |
---|
4215 | ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64' |
---|
4216 | ac_cv_env_LIBGNUTLS_CFLAGS_set= |
---|
4217 | ac_cv_env_LIBGNUTLS_CFLAGS_value= |
---|
4218 | ac_cv_env_LIBGNUTLS_LIBS_set= |
---|
4219 | ac_cv_env_LIBGNUTLS_LIBS_value= |
---|
4220 | ac_cv_env_LIBNL1_CFLAGS_set= |
---|
4221 | ac_cv_env_LIBNL1_CFLAGS_value= |
---|
4222 | ac_cv_env_LIBNL1_LIBS_set= |
---|
4223 | ac_cv_env_LIBNL1_LIBS_value= |
---|
4224 | ac_cv_env_LIBNL2_CFLAGS_set= |
---|
4225 | ac_cv_env_LIBNL2_CFLAGS_value= |
---|
4226 | ac_cv_env_LIBNL2_LIBS_set= |
---|
4227 | ac_cv_env_LIBNL2_LIBS_value= |
---|
4228 | ac_cv_env_LIBNL3_CFLAGS_set= |
---|
4229 | ac_cv_env_LIBNL3_CFLAGS_value= |
---|
4230 | ac_cv_env_LIBNL3_LIBS_set= |
---|
4231 | ac_cv_env_LIBNL3_LIBS_value= |
---|
4232 | ac_cv_env_LIBS_set= |
---|
4233 | ac_cv_env_LIBS_value= |
---|
4234 | ac_cv_env_PKG_CONFIG_LIBDIR_set= |
---|
4235 | ac_cv_env_PKG_CONFIG_LIBDIR_value= |
---|
4236 | ac_cv_env_PKG_CONFIG_PATH_set= |
---|
4237 | ac_cv_env_PKG_CONFIG_PATH_value= |
---|
4238 | ac_cv_env_PKG_CONFIG_set= |
---|
4239 | ac_cv_env_PKG_CONFIG_value= |
---|
4240 | ac_cv_env_YACC_set= |
---|
4241 | ac_cv_env_YACC_value= |
---|
4242 | ac_cv_env_YFLAGS_set= |
---|
4243 | ac_cv_env_YFLAGS_value= |
---|
4244 | ac_cv_env_build_alias_set= |
---|
4245 | ac_cv_env_build_alias_value= |
---|
4246 | ac_cv_env_host_alias_set= |
---|
4247 | ac_cv_env_host_alias_value= |
---|
4248 | ac_cv_env_target_alias_set= |
---|
4249 | ac_cv_env_target_alias_value= |
---|
4250 | ac_cv_header_dlfcn_h=yes |
---|
4251 | ac_cv_header_inttypes_h=yes |
---|
4252 | ac_cv_header_memory_h=yes |
---|
4253 | ac_cv_header_stdc=yes |
---|
4254 | ac_cv_header_stdint_h=yes |
---|
4255 | ac_cv_header_stdlib_h=yes |
---|
4256 | ac_cv_header_string_h=yes |
---|
4257 | ac_cv_header_strings_h=yes |
---|
4258 | ac_cv_header_sys_stat_h=yes |
---|
4259 | ac_cv_header_sys_types_h=yes |
---|
4260 | ac_cv_header_unistd_h=yes |
---|
4261 | ac_cv_host=x86_64-apple-darwin13.0.0 |
---|
4262 | ac_cv_lib_dl_dlopen=yes |
---|
4263 | ac_cv_lib_lex=-ll |
---|
4264 | ac_cv_objext=o |
---|
4265 | ac_cv_path_EGREP='/usr/bin/grep -E' |
---|
4266 | ac_cv_path_FGREP='/usr/bin/grep -F' |
---|
4267 | ac_cv_path_GREP=/usr/bin/grep |
---|
4268 | ac_cv_path_LEX=/usr/bin/flex |
---|
4269 | ac_cv_path_PERL=/opt/local/bin/perl |
---|
4270 | ac_cv_path_POD2HTML=/opt/local/bin/pod2html |
---|
4271 | ac_cv_path_POD2MAN=/opt/local/bin/pod2man |
---|
4272 | ac_cv_path_PYTHON=/usr/bin/python |
---|
4273 | ac_cv_path_SED=/usr/bin/sed |
---|
4274 | ac_cv_path_YACCDUMMY=/usr/bin/bison |
---|
4275 | ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config |
---|
4276 | ac_cv_prog_AWK=awk |
---|
4277 | ac_cv_prog_CPP='/usr/bin/clang -E' |
---|
4278 | ac_cv_prog_CXXCPP='/usr/bin/clang++ -E' |
---|
4279 | ac_cv_prog_HAVE_DOXYGEN=no |
---|
4280 | ac_cv_prog_LEX=flex |
---|
4281 | ac_cv_prog_YACC='bison -y' |
---|
4282 | ac_cv_prog_ac_ct_AR=ar |
---|
4283 | ac_cv_prog_ac_ct_CC=/usr/bin/clang |
---|
4284 | ac_cv_prog_ac_ct_DSYMUTIL=dsymutil |
---|
4285 | ac_cv_prog_ac_ct_LIPO=lipo |
---|
4286 | ac_cv_prog_ac_ct_NMEDIT=nmedit |
---|
4287 | ac_cv_prog_ac_ct_OTOOL=otool |
---|
4288 | ac_cv_prog_ac_ct_RANLIB=ranlib |
---|
4289 | ac_cv_prog_ac_ct_STRIP=strip |
---|
4290 | ac_cv_prog_cc__usr_bin_clang_c_o=yes |
---|
4291 | ac_cv_prog_cc_c89= |
---|
4292 | ac_cv_prog_cc_g=yes |
---|
4293 | ac_cv_prog_cxx_g=yes |
---|
4294 | ac_cv_prog_lex_root=lex.yy |
---|
4295 | ac_cv_prog_lex_yytext_pointer=yes |
---|
4296 | ac_cv_prog_make_make_set=yes |
---|
4297 | ac_cv_target=x86_64-apple-darwin13.0.0 |
---|
4298 | am_cv_CC_dependencies_compiler_type=gcc3 |
---|
4299 | am_cv_CXX_dependencies_compiler_type=gcc3 |
---|
4300 | am_cv_prog_tar_ustar=gnutar |
---|
4301 | lt_cv_apple_cc_single_mod=yes |
---|
4302 | lt_cv_ar_at_file=no |
---|
4303 | lt_cv_deplibs_check_method=pass_all |
---|
4304 | lt_cv_dlopen=dlopen |
---|
4305 | lt_cv_dlopen_libs=-ldl |
---|
4306 | lt_cv_dlopen_self=yes |
---|
4307 | lt_cv_dlopen_self_static=yes |
---|
4308 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
---|
4309 | lt_cv_file_magic_test_file= |
---|
4310 | lt_cv_ld_exported_symbols_list=yes |
---|
4311 | lt_cv_ld_force_load=yes |
---|
4312 | lt_cv_ld_reload_flag=-r |
---|
4313 | lt_cv_nm_interface='BSD nm' |
---|
4314 | lt_cv_objdir=.libs |
---|
4315 | lt_cv_path_LD=/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld |
---|
4316 | lt_cv_path_LDCXX=/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld |
---|
4317 | lt_cv_path_NM=/usr/bin/nm |
---|
4318 | lt_cv_path_mainfest_tool=no |
---|
4319 | lt_cv_prog_compiler_c_o=yes |
---|
4320 | lt_cv_prog_compiler_c_o_CXX=yes |
---|
4321 | lt_cv_prog_compiler_pic='-fno-common -DPIC' |
---|
4322 | lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC' |
---|
4323 | lt_cv_prog_compiler_pic_works=yes |
---|
4324 | lt_cv_prog_compiler_pic_works_CXX=yes |
---|
4325 | lt_cv_prog_compiler_rtti_exceptions=yes |
---|
4326 | lt_cv_prog_compiler_static_works=no |
---|
4327 | lt_cv_prog_compiler_static_works_CXX=no |
---|
4328 | lt_cv_prog_gnu_ld=no |
---|
4329 | lt_cv_prog_gnu_ldcxx=no |
---|
4330 | lt_cv_sharedlib_from_linklib_cmd='printf %s\n' |
---|
4331 | lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' |
---|
4332 | lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' |
---|
4333 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' |
---|
4334 | lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' |
---|
4335 | lt_cv_sys_max_cmd_len=196608 |
---|
4336 | lt_cv_to_host_file_cmd=func_convert_file_noop |
---|
4337 | lt_cv_to_tool_file_cmd=func_convert_file_noop |
---|
4338 | |
---|
4339 | ## ----------------- ## |
---|
4340 | ## Output variables. ## |
---|
4341 | ## ----------------- ## |
---|
4342 | |
---|
4343 | A2X='' |
---|
4344 | ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.2/missing --run aclocal-1.11' |
---|
4345 | AC_MIN_VERSION='2.60' |
---|
4346 | ADNS_LIBS='' |
---|
4347 | AMDEPBACKSLASH='\' |
---|
4348 | AMDEP_FALSE='#' |
---|
4349 | AMDEP_TRUE='' |
---|
4350 | AMTAR='$${TAR-tar}' |
---|
4351 | AM_BACKSLASH='' |
---|
4352 | AM_DEFAULT_V='' |
---|
4353 | AM_DEFAULT_VERBOSITY='' |
---|
4354 | AM_V='' |
---|
4355 | APPLICATIONSERVICES_FRAMEWORKS='' |
---|
4356 | AR='ar' |
---|
4357 | AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.2/missing --run autoconf' |
---|
4358 | AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.2/missing --run autoheader' |
---|
4359 | AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.2/missing --run automake-1.11' |
---|
4360 | AWK='awk' |
---|
4361 | CC='/usr/bin/clang' |
---|
4362 | CCDEPMODE='depmode=gcc3' |
---|
4363 | CC_FOR_BUILD='/usr/bin/clang' |
---|
4364 | CFLAGS='-pipe -Os -arch x86_64' |
---|
4365 | CFLAGS_FOR_BUILD='' |
---|
4366 | COREFOUNDATION_FRAMEWORKS='' |
---|
4367 | CPP='/usr/bin/clang -E' |
---|
4368 | CPPFLAGS='-I/opt/local/include' |
---|
4369 | CXX='/usr/bin/clang++' |
---|
4370 | CXXCPP='/usr/bin/clang++ -E' |
---|
4371 | CXXDEPMODE='depmode=gcc3' |
---|
4372 | CXXFLAGS='-pipe -Os -arch x86_64' |
---|
4373 | CYGPATH_W='echo' |
---|
4374 | C_ARES_LIBS='' |
---|
4375 | DEFS='' |
---|
4376 | DEPDIR='.deps' |
---|
4377 | DESKTOP_FILE_INSTALL='' |
---|
4378 | DLLTOOL='false' |
---|
4379 | DOXYGEN='' |
---|
4380 | DSYMUTIL='dsymutil' |
---|
4381 | DUMPBIN='' |
---|
4382 | DUMPCAP_GROUP='' |
---|
4383 | ECHO_C='\c' |
---|
4384 | ECHO_N='' |
---|
4385 | ECHO_T='' |
---|
4386 | EGREP='/usr/bin/grep -E' |
---|
4387 | ELINKS='' |
---|
4388 | ENABLE_STATIC='' |
---|
4389 | ENABLE_STATIC_FALSE='' |
---|
4390 | ENABLE_STATIC_TRUE='' |
---|
4391 | EXEEXT='' |
---|
4392 | FGREP='/usr/bin/grep -F' |
---|
4393 | FOP='' |
---|
4394 | GEOIP_LIBS='' |
---|
4395 | GETOPT_LO='' |
---|
4396 | GLIB_CFLAGS='' |
---|
4397 | GLIB_GENMARSHAL='' |
---|
4398 | GLIB_LIBS='' |
---|
4399 | GLIB_MIN_VERSION='' |
---|
4400 | GLIB_MKENUMS='' |
---|
4401 | GOBJECT_QUERY='' |
---|
4402 | GREP='/usr/bin/grep' |
---|
4403 | GTK2_MIN_VERSION='' |
---|
4404 | GTK3_MIN_VERSION='' |
---|
4405 | GTK_CFLAGS='' |
---|
4406 | GTK_LIBS='' |
---|
4407 | HAVE_A2X='' |
---|
4408 | HAVE_A2X_FALSE='' |
---|
4409 | HAVE_A2X_TRUE='' |
---|
4410 | HAVE_BLESS='' |
---|
4411 | HAVE_DOXYGEN='no' |
---|
4412 | HAVE_DOXYGEN_FALSE='' |
---|
4413 | HAVE_DOXYGEN_TRUE='#' |
---|
4414 | HAVE_DPKG_BUILDPACKAGE='' |
---|
4415 | HAVE_DUMPCAP_GROUP_FALSE='' |
---|
4416 | HAVE_DUMPCAP_GROUP_TRUE='' |
---|
4417 | HAVE_ELINKS='' |
---|
4418 | HAVE_ELINKS_FALSE='' |
---|
4419 | HAVE_ELINKS_TRUE='' |
---|
4420 | HAVE_FOP='' |
---|
4421 | HAVE_FOP_FALSE='' |
---|
4422 | HAVE_FOP_TRUE='' |
---|
4423 | HAVE_HDIUTIL='' |
---|
4424 | HAVE_LIBLUA_FALSE='' |
---|
4425 | HAVE_LIBLUA_TRUE='' |
---|
4426 | HAVE_LIBPORTAUDIO_FALSE='' |
---|
4427 | HAVE_LIBPORTAUDIO_TRUE='' |
---|
4428 | HAVE_LIBPY_FALSE='' |
---|
4429 | HAVE_LIBPY_TRUE='' |
---|
4430 | HAVE_LYNX='' |
---|
4431 | HAVE_LYNX_FALSE='' |
---|
4432 | HAVE_LYNX_TRUE='' |
---|
4433 | HAVE_OSX_PACKAGING='' |
---|
4434 | HAVE_PKGMK='' |
---|
4435 | HAVE_PKGPROTO='' |
---|
4436 | HAVE_PKGTRANS='' |
---|
4437 | HAVE_PLUGINS_FALSE='' |
---|
4438 | HAVE_PLUGINS_TRUE='' |
---|
4439 | HAVE_Qt_FALSE='' |
---|
4440 | HAVE_Qt_TRUE='' |
---|
4441 | HAVE_RPM='' |
---|
4442 | HAVE_SVR4_PACKAGING='' |
---|
4443 | HAVE_W3M='' |
---|
4444 | HAVE_W3M_FALSE='' |
---|
4445 | HAVE_W3M_TRUE='' |
---|
4446 | HAVE_WARNINGS_AS_ERRORS_FALSE='' |
---|
4447 | HAVE_WARNINGS_AS_ERRORS_TRUE='' |
---|
4448 | HAVE_WIRESHARK_CXX_FALSE='' |
---|
4449 | HAVE_WIRESHARK_CXX_TRUE='' |
---|
4450 | HAVE_XCODEBUILD='' |
---|
4451 | HAVE_XMLLINT='' |
---|
4452 | HAVE_XMLLINT_FALSE='' |
---|
4453 | HAVE_XMLLINT_TRUE='' |
---|
4454 | HAVE_XSLTPROC='' |
---|
4455 | HAVE_XSLTPROC_FALSE='' |
---|
4456 | HAVE_XSLTPROC_TRUE='' |
---|
4457 | HTML_VIEWER='' |
---|
4458 | INET_ATON_LO='' |
---|
4459 | INET_NTOP_LO='' |
---|
4460 | INET_PTON_LO='' |
---|
4461 | INSTALL_DATA='${INSTALL} -m 644' |
---|
4462 | INSTALL_PROGRAM='${INSTALL}' |
---|
4463 | INSTALL_SCRIPT='${INSTALL}' |
---|
4464 | INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' |
---|
4465 | KRB5_CONFIG='' |
---|
4466 | KRB5_LIBS='' |
---|
4467 | LD='/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' |
---|
4468 | LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64' |
---|
4469 | LDFLAGS_SHAREDLIB='' |
---|
4470 | LEX='/usr/bin/flex' |
---|
4471 | LEXLIB='-ll' |
---|
4472 | LEX_OUTPUT_ROOT='lex.yy' |
---|
4473 | LIBCAP_LIBS='' |
---|
4474 | LIBGCRYPT_CFLAGS='' |
---|
4475 | LIBGCRYPT_CONFIG='' |
---|
4476 | LIBGCRYPT_LIBS='' |
---|
4477 | LIBGNUTLS_CFLAGS='' |
---|
4478 | LIBGNUTLS_LIBS='' |
---|
4479 | LIBNL1_CFLAGS='' |
---|
4480 | LIBNL1_LIBS='' |
---|
4481 | LIBNL2_CFLAGS='' |
---|
4482 | LIBNL2_LIBS='' |
---|
4483 | LIBNL3_CFLAGS='' |
---|
4484 | LIBNL3_LIBS='' |
---|
4485 | LIBOBJS='' |
---|
4486 | LIBS='' |
---|
4487 | LIBSMI_CFLAGS='' |
---|
4488 | LIBSMI_LDFLAGS='' |
---|
4489 | LIBSMI_VERSION='' |
---|
4490 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
---|
4491 | LIBTOOL_DEPS='./ltmain.sh' |
---|
4492 | LIPO='lipo' |
---|
4493 | LN_S='ln -s' |
---|
4494 | LTLIBOBJS='' |
---|
4495 | LUA_INCLUDES='' |
---|
4496 | LUA_LIBS='' |
---|
4497 | LYNX='' |
---|
4498 | MAKEINFO='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.2/missing --run makeinfo' |
---|
4499 | MANIFEST_TOOL=':' |
---|
4500 | MKDIR_P='./install-sh -c -d' |
---|
4501 | MOC='' |
---|
4502 | NEED_GETOPT_LO_FALSE='' |
---|
4503 | NEED_GETOPT_LO_TRUE='' |
---|
4504 | NEED_INET_ATON_LO_FALSE='' |
---|
4505 | NEED_INET_ATON_LO_TRUE='' |
---|
4506 | NEED_INET_NTOP_LO_FALSE='' |
---|
4507 | NEED_INET_NTOP_LO_TRUE='' |
---|
4508 | NEED_INET_PTON_LO_FALSE='' |
---|
4509 | NEED_INET_PTON_LO_TRUE='' |
---|
4510 | NEED_STRNCASECMP_LO_FALSE='' |
---|
4511 | NEED_STRNCASECMP_LO_TRUE='' |
---|
4512 | NEED_STRPTIME_LO_FALSE='' |
---|
4513 | NEED_STRPTIME_LO_TRUE='' |
---|
4514 | NM='/usr/bin/nm' |
---|
4515 | NMEDIT='nmedit' |
---|
4516 | NSL_LIBS='' |
---|
4517 | OBJDUMP='false' |
---|
4518 | OBJEXT='o' |
---|
4519 | OSX_APP_FLAGS='' |
---|
4520 | OSX_MIN_VERSION='' |
---|
4521 | OTOOL64=':' |
---|
4522 | OTOOL='otool' |
---|
4523 | PACKAGE='wireshark' |
---|
4524 | PACKAGE_BUGREPORT='http://bugs.wireshark.org/' |
---|
4525 | PACKAGE_NAME='wireshark' |
---|
4526 | PACKAGE_STRING='wireshark 1.10.2' |
---|
4527 | PACKAGE_TARNAME='wireshark' |
---|
4528 | PACKAGE_URL='http://www.wireshark.org/' |
---|
4529 | PACKAGE_VERSION='1.10.2' |
---|
4530 | PATH_SEPARATOR=':' |
---|
4531 | PCAP_CONFIG='' |
---|
4532 | PCAP_LIBS='' |
---|
4533 | PERL='/opt/local/bin/perl' |
---|
4534 | PIE_CFLAGS='' |
---|
4535 | PIE_LDFLAGS='' |
---|
4536 | PKG_CONFIG='/opt/local/bin/pkg-config' |
---|
4537 | PKG_CONFIG_LIBDIR='' |
---|
4538 | PKG_CONFIG_PATH='' |
---|
4539 | PLUGIN_LIBS='' |
---|
4540 | POD2HTML='/opt/local/bin/pod2html' |
---|
4541 | POD2MAN='/opt/local/bin/pod2man' |
---|
4542 | PORTAUDIO_INCLUDES='' |
---|
4543 | PORTAUDIO_LIBS='' |
---|
4544 | PYTHON='/usr/bin/python' |
---|
4545 | PY_CFLAGS='' |
---|
4546 | PY_LIBS='' |
---|
4547 | QT_MIN_VERSION='' |
---|
4548 | Qt_LIBS='' |
---|
4549 | RANLIB='ranlib' |
---|
4550 | SED='/usr/bin/sed' |
---|
4551 | SETCAP='' |
---|
4552 | SETCAP_INSTALL_FALSE='' |
---|
4553 | SETCAP_INSTALL_TRUE='' |
---|
4554 | SETUID_INSTALL_FALSE='' |
---|
4555 | SETUID_INSTALL_TRUE='' |
---|
4556 | SET_MAKE='' |
---|
4557 | SHELL='/bin/sh' |
---|
4558 | SOCKET_LIBS='' |
---|
4559 | SSL_LIBS='' |
---|
4560 | STRIP='strip' |
---|
4561 | STRNCASECMP_LO='' |
---|
4562 | STRPTIME_C='' |
---|
4563 | STRPTIME_LO='' |
---|
4564 | SYSTEMCONFIGURATION_FRAMEWORKS='' |
---|
4565 | UIC='' |
---|
4566 | USE_PROFILE_BUILD_FALSE='' |
---|
4567 | USE_PROFILE_BUILD_TRUE='' |
---|
4568 | VERSION='1.10.2' |
---|
4569 | W3M='' |
---|
4570 | XMLLINT='' |
---|
4571 | XSLTPROC='' |
---|
4572 | YACC='bison -y' |
---|
4573 | YACCDUMMY='/usr/bin/bison' |
---|
4574 | YFLAGS='' |
---|
4575 | ac_ct_AR='ar' |
---|
4576 | ac_ct_CC='/usr/bin/clang' |
---|
4577 | ac_ct_CXX='' |
---|
4578 | ac_ct_DUMPBIN='' |
---|
4579 | ac_cv_wireshark_have_rpm='' |
---|
4580 | am__EXEEXT_FALSE='' |
---|
4581 | am__EXEEXT_TRUE='' |
---|
4582 | am__fastdepCC_FALSE='#' |
---|
4583 | am__fastdepCC_TRUE='' |
---|
4584 | am__fastdepCXX_FALSE='#' |
---|
4585 | am__fastdepCXX_TRUE='' |
---|
4586 | am__include='include' |
---|
4587 | am__isrc='' |
---|
4588 | am__leading_dot='.' |
---|
4589 | am__nodep='_no' |
---|
4590 | am__quote='' |
---|
4591 | am__tar='tar --format=ustar -chf - "$$tardir"' |
---|
4592 | am__untar='tar -xf -' |
---|
4593 | bindir='${exec_prefix}/bin' |
---|
4594 | build='x86_64-apple-darwin13.0.0' |
---|
4595 | build_alias='' |
---|
4596 | build_cpu='x86_64' |
---|
4597 | build_os='darwin13.0.0' |
---|
4598 | build_vendor='apple' |
---|
4599 | capinfos_bin='' |
---|
4600 | capinfos_man='' |
---|
4601 | datadir='${datarootdir}' |
---|
4602 | datarootdir='${prefix}/share' |
---|
4603 | dftest_bin='' |
---|
4604 | dftest_man='' |
---|
4605 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
4606 | dumpcap_bin='' |
---|
4607 | dumpcap_man='' |
---|
4608 | dvidir='${docdir}' |
---|
4609 | editcap_bin='' |
---|
4610 | editcap_man='' |
---|
4611 | exec_prefix='NONE' |
---|
4612 | host='x86_64-apple-darwin13.0.0' |
---|
4613 | host_alias='' |
---|
4614 | host_cpu='x86_64' |
---|
4615 | host_os='darwin13.0.0' |
---|
4616 | host_vendor='apple' |
---|
4617 | htmldir='${docdir}' |
---|
4618 | includedir='${prefix}/include' |
---|
4619 | infodir='${prefix}/share/info' |
---|
4620 | install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.2/install-sh' |
---|
4621 | libdir='${exec_prefix}/lib' |
---|
4622 | libexecdir='${exec_prefix}/libexec' |
---|
4623 | localedir='${datarootdir}/locale' |
---|
4624 | localstatedir='${prefix}/var' |
---|
4625 | mandir='${prefix}/share/man' |
---|
4626 | mergecap_bin='' |
---|
4627 | mergecap_man='' |
---|
4628 | mkdir_p='$(top_builddir)/./install-sh -c -d' |
---|
4629 | oldincludedir='/usr/include' |
---|
4630 | pdfdir='${docdir}' |
---|
4631 | plugindir='' |
---|
4632 | prefix='/opt/local' |
---|
4633 | program_transform_name='s,x,x,' |
---|
4634 | psdir='${docdir}' |
---|
4635 | pythondir='' |
---|
4636 | randpkt_bin='' |
---|
4637 | randpkt_man='' |
---|
4638 | rawshark_bin='' |
---|
4639 | rawshark_man='' |
---|
4640 | reordercap_bin='' |
---|
4641 | reordercap_man='' |
---|
4642 | sbindir='${exec_prefix}/sbin' |
---|
4643 | sharedstatedir='${prefix}/com' |
---|
4644 | sysconfdir='${prefix}/etc' |
---|
4645 | target='x86_64-apple-darwin13.0.0' |
---|
4646 | target_alias='' |
---|
4647 | target_cpu='x86_64' |
---|
4648 | target_os='darwin13.0.0' |
---|
4649 | target_vendor='apple' |
---|
4650 | text2pcap_bin='' |
---|
4651 | text2pcap_man='' |
---|
4652 | tshark_bin='' |
---|
4653 | tshark_man='' |
---|
4654 | wireshark_SUBDIRS='' |
---|
4655 | wireshark_bin='' |
---|
4656 | wireshark_man='' |
---|
4657 | wiresharkfilter_man='' |
---|
4658 | |
---|
4659 | ## ----------- ## |
---|
4660 | ## confdefs.h. ## |
---|
4661 | ## ----------- ## |
---|
4662 | |
---|
4663 | /* confdefs.h */ |
---|
4664 | #define PACKAGE_NAME "wireshark" |
---|
4665 | #define PACKAGE_TARNAME "wireshark" |
---|
4666 | #define PACKAGE_VERSION "1.10.2" |
---|
4667 | #define PACKAGE_STRING "wireshark 1.10.2" |
---|
4668 | #define PACKAGE_BUGREPORT "http://bugs.wireshark.org/" |
---|
4669 | #define PACKAGE_URL "http://www.wireshark.org/" |
---|
4670 | #define PACKAGE "wireshark" |
---|
4671 | #define VERSION "1.10.2" |
---|
4672 | #define VERSION_MAJOR 1 |
---|
4673 | #define VERSION_MINOR 10 |
---|
4674 | #define VERSION_MICRO 2 |
---|
4675 | #define STDC_HEADERS 1 |
---|
4676 | #define HAVE_SYS_TYPES_H 1 |
---|
4677 | #define HAVE_SYS_STAT_H 1 |
---|
4678 | #define HAVE_STDLIB_H 1 |
---|
4679 | #define HAVE_STRING_H 1 |
---|
4680 | #define HAVE_MEMORY_H 1 |
---|
4681 | #define HAVE_STRINGS_H 1 |
---|
4682 | #define HAVE_INTTYPES_H 1 |
---|
4683 | #define HAVE_STDINT_H 1 |
---|
4684 | #define HAVE_UNISTD_H 1 |
---|
4685 | #define HAVE_DLFCN_H 1 |
---|
4686 | #define LT_OBJDIR ".libs/" |
---|
4687 | #define YYTEXT_POINTER 1 |
---|
4688 | #define HTML_VIEWER "mozilla" |
---|
4689 | |
---|
4690 | configure: exit 1 |
---|