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