Ticket #38960: splint_config.log

File splint_config.log, 64.4 KB (added by cooljeanius (Eric Gallager), 11 years ago)

config.log for splint

Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by Splint configure 3.1.2, which was
5generated by GNU Autoconf 2.59.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --disable-dependency-tracking --infodir=/opt/local/share/info --mandir=/opt/local/share/man
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = gl00b05046.cats.gwu.edu
14uname -m = x86_64
15uname -r = 12.3.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/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
25hostinfo               = Mach kernel version:
26         Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
27Kernel configured for up to 4 processors.
284 processors are physically available.
294 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3
32Primary memory available: 4.00 gigabytes
33Default processor set: 150 tasks, 861 threads, 4 processors
34Load average: 1.14, Mach factor: 2.87
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /opt/local/bin
40PATH: /opt/local/sbin
41PATH: /bin
42PATH: /sbin
43PATH: /usr/bin
44PATH: /usr/sbin
45
46
47## ----------- ##
48## Core tests. ##
49## ----------- ##
50
51configure:1321: checking build system type
52configure:1339: result: i386-apple-darwin12.3.0
53configure:1347: checking host system type
54configure:1361: result: i386-apple-darwin12.3.0
55configure:1369: checking target system type
56configure:1383: result: i386-apple-darwin12.3.0
57configure:1412: checking for a BSD-compatible install
58configure:1467: result: /usr/bin/install -c
59configure:1478: checking whether build environment is sane
60configure:1521: result: yes
61configure:1554: checking for gawk
62configure:1570: found /opt/local/bin/gawk
63configure:1580: result: gawk
64configure:1590: checking whether make sets $(MAKE)
65configure:1610: result: yes
66configure:1806: checking for gcc
67configure:1832: result: /usr/bin/clang
68configure:2076: checking for C compiler version
69configure:2079: /usr/bin/clang --version </dev/null >&5
70Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
71Target: x86_64-apple-darwin12.3.0
72Thread model: posix
73configure:2082: $? = 0
74configure:2084: /usr/bin/clang -v </dev/null >&5
75Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
76Target: x86_64-apple-darwin12.3.0
77Thread model: posix
78configure:2087: $? = 0
79configure:2089: /usr/bin/clang -V </dev/null >&5
80clang: error: argument to '-V' is missing (expected 1 value)
81clang: error: no input files
82configure:2092: $? = 1
83configure:2115: checking for C compiler default output file name
84configure:2118: /usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -L/opt/local/lib -arch x86_64 -arch i386 conftest.c  >&5
85configure:2121: $? = 0
86configure:2167: result: a.out
87configure:2172: checking whether the C compiler works
88configure:2178: ./a.out
89configure:2181: $? = 0
90configure:2198: result: yes
91configure:2205: checking whether we are cross compiling
92configure:2207: result: no
93configure:2210: checking for suffix of executables
94configure:2212: /usr/bin/clang -o conftest -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -L/opt/local/lib -arch x86_64 -arch i386 conftest.c  >&5
95configure:2215: $? = 0
96configure:2240: result:
97configure:2246: checking for suffix of object files
98configure:2267: /usr/bin/clang -c -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include conftest.c >&5
99configure:2270: $? = 0
100configure:2292: result: o
101configure:2296: checking whether we are using the GNU C compiler
102configure:2320: /usr/bin/clang -c -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include conftest.c >&5
103configure:2326: $? = 0
104configure:2330: test -z
105                         || test ! -s conftest.err
106configure:2333: $? = 0
107configure:2336: test -s conftest.o
108configure:2339: $? = 0
109configure:2352: result: yes
110configure:2358: checking whether /usr/bin/clang accepts -g
111configure:2379: /usr/bin/clang -c -g -I/opt/local/include conftest.c >&5
112configure:2385: $? = 0
113configure:2389: test -z
114                         || test ! -s conftest.err
115configure:2392: $? = 0
116configure:2395: test -s conftest.o
117configure:2398: $? = 0
118configure:2409: result: yes
119configure:2426: checking for /usr/bin/clang option to accept ANSI C
120configure:2496: /usr/bin/clang  -c -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include conftest.c >&5
121configure:2502: $? = 0
122configure:2506: test -z
123                         || test ! -s conftest.err
124configure:2509: $? = 0
125configure:2512: test -s conftest.o
126configure:2515: $? = 0
127configure:2533: result: none needed
128configure:2551: /usr/bin/clang -c -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include conftest.c >&5
129conftest.c:2:3: error: unknown type name 'choke'
130  choke me
131  ^
132conftest.c:2:11: error: expected ';' after top level declarator
133  choke me
134          ^
135          ;
1362 errors generated.
137configure:2557: $? = 1
138configure: failed program was:
139| #ifndef __cplusplus
140|   choke me
141| #endif
142configure:2709: checking for style of include used by make
143configure:2737: result: GNU
144configure:2765: checking dependency style of /usr/bin/clang
145configure:2827: result: none
146configure:2837: checking how to run the C preprocessor
147configure:2872: /usr/bin/clang -E -I/opt/local/include conftest.c
148configure:2878: $? = 0
149configure:2910: /usr/bin/clang -E -I/opt/local/include conftest.c
150conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
151#include <ac_nonexistent.h>
152         ^
1531 error generated.
154configure:2916: $? = 1
155configure: failed program was:
156| /* confdefs.h.  */
157|
158| #define PACKAGE_NAME "Splint"
159| #define PACKAGE_TARNAME "splint"
160| #define PACKAGE_VERSION "3.1.2"
161| #define PACKAGE_STRING "Splint 3.1.2"
162| #define PACKAGE_BUGREPORT "splint-bug@splint.org"
163| /* end confdefs.h.  */
164| #include <ac_nonexistent.h>
165configure:2955: result: /usr/bin/clang -E
166configure:2979: /usr/bin/clang -E -I/opt/local/include conftest.c
167configure:2985: $? = 0
168configure:3017: /usr/bin/clang -E -I/opt/local/include conftest.c
169conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
170#include <ac_nonexistent.h>
171         ^
1721 error generated.
173configure:3023: $? = 1
174configure: failed program was:
175| /* confdefs.h.  */
176|
177| #define PACKAGE_NAME "Splint"
178| #define PACKAGE_TARNAME "splint"
179| #define PACKAGE_VERSION "3.1.2"
180| #define PACKAGE_STRING "Splint 3.1.2"
181| #define PACKAGE_BUGREPORT "splint-bug@splint.org"
182| /* end confdefs.h.  */
183| #include <ac_nonexistent.h>
184configure:3071: checking for flex
185configure:3087: found /usr/bin/flex
186configure:3097: result: flex
187configure:3110: checking for yywrap in -lfl
188configure:3140: /usr/bin/clang -o conftest -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -L/opt/local/lib -arch x86_64 -arch i386 conftest.c -lfl   >&5
189ld: library not found for -lfl
190clang: error: linker command failed with exit code 1 (use -v to see invocation)
191configure:3146: $? = 1
192configure: failed program was:
193| /* confdefs.h.  */
194|
195| #define PACKAGE_NAME "Splint"
196| #define PACKAGE_TARNAME "splint"
197| #define PACKAGE_VERSION "3.1.2"
198| #define PACKAGE_STRING "Splint 3.1.2"
199| #define PACKAGE_BUGREPORT "splint-bug@splint.org"
200| /* end confdefs.h.  */
201|
202| /* Override any gcc2 internal prototype to avoid an error.  */
203| #ifdef __cplusplus
204| extern "C"
205| #endif
206| /* We use char because int might match the return type of a gcc2
207|    builtin and then its argument prototype would still apply.  */
208| char yywrap ();
209| int
210| main ()
211| {
212| yywrap ();
213|   ;
214|   return 0;
215| }
216configure:3172: result: no
217configure:3177: checking for yywrap in -ll
218configure:3207: /usr/bin/clang -o conftest -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -L/opt/local/lib -arch x86_64 -arch i386 conftest.c -ll   >&5
219ld: warning: ignoring file /usr/lib/libl.a, file was built for archive which is not the architecture being linked (i386): /usr/lib/libl.a
220Undefined symbols for architecture i386:
221  "_yywrap", referenced from:
222      _main in conftest-4g2lta.o
223ld: symbol(s) not found for architecture i386
224clang: error: linker command failed with exit code 1 (use -v to see invocation)
225configure:3213: $? = 1
226configure: failed program was:
227| /* confdefs.h.  */
228|
229| #define PACKAGE_NAME "Splint"
230| #define PACKAGE_TARNAME "splint"
231| #define PACKAGE_VERSION "3.1.2"
232| #define PACKAGE_STRING "Splint 3.1.2"
233| #define PACKAGE_BUGREPORT "splint-bug@splint.org"
234| /* end confdefs.h.  */
235|
236| /* Override any gcc2 internal prototype to avoid an error.  */
237| #ifdef __cplusplus
238| extern "C"
239| #endif
240| /* We use char because int might match the return type of a gcc2
241|    builtin and then its argument prototype would still apply.  */
242| char yywrap ();
243| int
244| main ()
245| {
246| yywrap ();
247|   ;
248|   return 0;
249| }
250configure:3239: result: no
251configure:3250: checking lex output file root
252configure:3261: flex conftest.l
253configure:3264: $? = 0
254configure:3276: result: lex.yy
255configure:3281: checking whether yytext is a pointer
256configure:3297: /usr/bin/clang -o conftest -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -L/opt/local/lib -arch x86_64 -arch i386 conftest.c   >&5
257Undefined symbols for architecture x86_64:
258  "_main", referenced from:
259     implicit entry/start for main executable
260  "_yywrap", referenced from:
261      _yylex in conftest-YmkklY.o
262ld: symbol(s) not found for architecture x86_64
263clang: error: linker command failed with exit code 1 (use -v to see invocation)
264configure:3303: $? = 1
265configure: failed program was:
266|
267| #line 3 "lex.yy.c"
268|
269| #define  YY_INT_ALIGNED short int
270|
271| /* A lexical scanner generated by flex */
272|
273| #define FLEX_SCANNER
274| #define YY_FLEX_MAJOR_VERSION 2
275| #define YY_FLEX_MINOR_VERSION 5
276| #define YY_FLEX_SUBMINOR_VERSION 35
277| #if YY_FLEX_SUBMINOR_VERSION > 0
278| #define FLEX_BETA
279| #endif
280|
281| /* First, we deal with  platform-specific or compiler-specific issues. */
282|
283| /* begin standard C headers. */
284| #include <stdio.h>
285| #include <string.h>
286| #include <errno.h>
287| #include <stdlib.h>
288|
289| /* end standard C headers. */
290|
291| /* flex integer type definitions */
292|
293| #ifndef FLEXINT_H
294| #define FLEXINT_H
295|
296| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
297|
298| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
299|
300| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
301|  * if you want the limit (max/min) macros for int types.
302|  */
303| #ifndef __STDC_LIMIT_MACROS
304| #define __STDC_LIMIT_MACROS 1
305| #endif
306|
307| #include <inttypes.h>
308| typedef int8_t flex_int8_t;
309| typedef uint8_t flex_uint8_t;
310| typedef int16_t flex_int16_t;
311| typedef uint16_t flex_uint16_t;
312| typedef int32_t flex_int32_t;
313| typedef uint32_t flex_uint32_t;
314| typedef uint64_t flex_uint64_t;
315| #else
316| typedef signed char flex_int8_t;
317| typedef short int flex_int16_t;
318| typedef int flex_int32_t;
319| typedef unsigned char flex_uint8_t;
320| typedef unsigned short int flex_uint16_t;
321| typedef unsigned int flex_uint32_t;
322| #endif /* ! C99 */
323|
324| /* Limits of integral types. */
325| #ifndef INT8_MIN
326| #define INT8_MIN               (-128)
327| #endif
328| #ifndef INT16_MIN
329| #define INT16_MIN              (-32767-1)
330| #endif
331| #ifndef INT32_MIN
332| #define INT32_MIN              (-2147483647-1)
333| #endif
334| #ifndef INT8_MAX
335| #define INT8_MAX               (127)
336| #endif
337| #ifndef INT16_MAX
338| #define INT16_MAX              (32767)
339| #endif
340| #ifndef INT32_MAX
341| #define INT32_MAX              (2147483647)
342| #endif
343| #ifndef UINT8_MAX
344| #define UINT8_MAX              (255U)
345| #endif
346| #ifndef UINT16_MAX
347| #define UINT16_MAX             (65535U)
348| #endif
349| #ifndef UINT32_MAX
350| #define UINT32_MAX             (4294967295U)
351| #endif
352|
353| #endif /* ! FLEXINT_H */
354|
355| #ifdef __cplusplus
356|
357| /* The "const" storage-class-modifier is valid. */
358| #define YY_USE_CONST
359|
360| #else /* ! __cplusplus */
361|
362| /* C99 requires __STDC__ to be defined as 1. */
363| #if defined (__STDC__)
364|
365| #define YY_USE_CONST
366|
367| #endif        /* defined (__STDC__) */
368| #endif        /* ! __cplusplus */
369|
370| #ifdef YY_USE_CONST
371| #define yyconst const
372| #else
373| #define yyconst
374| #endif
375|
376| /* Returned upon end-of-file. */
377| #define YY_NULL 0
378|
379| /* Promotes a possibly negative, possibly signed char to an unsigned
380|  * integer for use as an array index.  If the signed char is negative,
381|  * we want to instead treat it as an 8-bit unsigned char, hence the
382|  * double cast.
383|  */
384| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
385|
386| /* Enter a start condition.  This macro really ought to take a parameter,
387|  * but we do it the disgusting crufty way forced on us by the ()-less
388|  * definition of BEGIN.
389|  */
390| #define BEGIN (yy_start) = 1 + 2 *
391|
392| /* Translate the current start state into a value that can be later handed
393|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
394|  * compatibility.
395|  */
396| #define YY_START (((yy_start) - 1) / 2)
397| #define YYSTATE YY_START
398|
399| /* Action number for EOF rule of a given start state. */
400| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
401|
402| /* Special action meaning "start processing a new file". */
403| #define YY_NEW_FILE yyrestart(yyin  )
404|
405| #define YY_END_OF_BUFFER_CHAR 0
406|
407| /* Size of default input buffer. */
408| #ifndef YY_BUF_SIZE
409| #define YY_BUF_SIZE 16384
410| #endif
411|
412| /* The state buf must be large enough to hold one state per character in the main buffer.
413|  */
414| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
415|
416| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
417| #define YY_TYPEDEF_YY_BUFFER_STATE
418| typedef struct yy_buffer_state *YY_BUFFER_STATE;
419| #endif
420|
421| #ifndef YY_TYPEDEF_YY_SIZE_T
422| #define YY_TYPEDEF_YY_SIZE_T
423| typedef size_t yy_size_t;
424| #endif
425|
426| extern yy_size_t yyleng;
427|
428| extern FILE *yyin, *yyout;
429|
430| #define EOB_ACT_CONTINUE_SCAN 0
431| #define EOB_ACT_END_OF_FILE 1
432| #define EOB_ACT_LAST_MATCH 2
433|
434|     #define YY_LESS_LINENO(n)
435|     
436| /* Return all but the first "n" matched characters back to the input stream. */
437| #define yyless(n) \
438|       do \
439|               { \
440|               /* Undo effects of setting up yytext. */ \
441|         int yyless_macro_arg = (n); \
442|         YY_LESS_LINENO(yyless_macro_arg);\
443|               *yy_cp = (yy_hold_char); \
444|               YY_RESTORE_YY_MORE_OFFSET \
445|               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
446|               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
447|               } \
448|       while ( 0 )
449|
450| #define unput(c) yyunput( c, (yytext_ptr)  )
451|
452| #ifndef YY_STRUCT_YY_BUFFER_STATE
453| #define YY_STRUCT_YY_BUFFER_STATE
454| struct yy_buffer_state
455|       {
456|       FILE *yy_input_file;
457|
458|       char *yy_ch_buf;                /* input buffer */
459|       char *yy_buf_pos;               /* current position in input buffer */
460|
461|       /* Size of input buffer in bytes, not including room for EOB
462|        * characters.
463|        */
464|       yy_size_t yy_buf_size;
465|
466|       /* Number of characters read into yy_ch_buf, not including EOB
467|        * characters.
468|        */
469|       yy_size_t yy_n_chars;
470|
471|       /* Whether we "own" the buffer - i.e., we know we created it,
472|        * and can realloc() it to grow it, and should free() it to
473|        * delete it.
474|        */
475|       int yy_is_our_buffer;
476|
477|       /* Whether this is an "interactive" input source; if so, and
478|        * if we're using stdio for input, then we want to use getc()
479|        * instead of fread(), to make sure we stop fetching input after
480|        * each newline.
481|        */
482|       int yy_is_interactive;
483|
484|       /* Whether we're considered to be at the beginning of a line.
485|        * If so, '^' rules will be active on the next match, otherwise
486|        * not.
487|        */
488|       int yy_at_bol;
489|
490|     int yy_bs_lineno; /**< The line count. */
491|     int yy_bs_column; /**< The column count. */
492|     
493|       /* Whether to try to fill the input buffer when we reach the
494|        * end of it.
495|        */
496|       int yy_fill_buffer;
497|
498|       int yy_buffer_status;
499|
500| #define YY_BUFFER_NEW 0
501| #define YY_BUFFER_NORMAL 1
502|       /* When an EOF's been seen but there's still some text to process
503|        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
504|        * shouldn't try reading from the input source any more.  We might
505|        * still have a bunch of tokens to match, though, because of
506|        * possible backing-up.
507|        *
508|        * When we actually see the EOF, we change the status to "new"
509|        * (via yyrestart()), so that the user can continue scanning by
510|        * just pointing yyin at a new input file.
511|        */
512| #define YY_BUFFER_EOF_PENDING 2
513|
514|       };
515| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
516|
517| /* Stack of input buffers. */
518| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
519| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
520| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
521|
522| /* We provide macros for accessing buffer states in case in the
523|  * future we want to put the buffer states in a more general
524|  * "scanner state".
525|  *
526|  * Returns the top of the stack, or NULL.
527|  */
528| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
529|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
530|                           : NULL)
531|
532| /* Same as previous macro, but useful when we know that the buffer stack is not
533|  * NULL or when we need an lvalue. For internal use only.
534|  */
535| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
536|
537| /* yy_hold_char holds the character lost when yytext is formed. */
538| static char yy_hold_char;
539| static yy_size_t yy_n_chars;          /* number of characters read into yy_ch_buf */
540| yy_size_t yyleng;
541|
542| /* Points to current character in buffer. */
543| static char *yy_c_buf_p = (char *) 0;
544| static int yy_init = 0;               /* whether we need to initialize */
545| static int yy_start = 0;      /* start state number */
546|
547| /* Flag which is used to allow yywrap()'s to do buffer switches
548|  * instead of setting up a fresh yyin.  A bit of a hack ...
549|  */
550| static int yy_did_buffer_switch_on_eof;
551|
552| void yyrestart (FILE *input_file  );
553| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
554| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
555| void yy_delete_buffer (YY_BUFFER_STATE b  );
556| void yy_flush_buffer (YY_BUFFER_STATE b  );
557| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
558| void yypop_buffer_state (void );
559|
560| static void yyensure_buffer_stack (void );
561| static void yy_load_buffer_state (void );
562| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
563|
564| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
565|
566| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
567| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
568| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
569|
570| void *yyalloc (yy_size_t  );
571| void *yyrealloc (void *,yy_size_t  );
572| void yyfree (void *  );
573|
574| #define yy_new_buffer yy_create_buffer
575|
576| #define yy_set_interactive(is_interactive) \
577|       { \
578|       if ( ! YY_CURRENT_BUFFER ){ \
579|         yyensure_buffer_stack (); \
580|               YY_CURRENT_BUFFER_LVALUE =    \
581|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
582|       } \
583|       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
584|       }
585|
586| #define yy_set_bol(at_bol) \
587|       { \
588|       if ( ! YY_CURRENT_BUFFER ){\
589|         yyensure_buffer_stack (); \
590|               YY_CURRENT_BUFFER_LVALUE =    \
591|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
592|       } \
593|       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
594|       }
595|
596| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
597|
598| /* Begin user sect3 */
599|
600| typedef unsigned char YY_CHAR;
601|
602| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
603|
604| typedef int yy_state_type;
605|
606| extern int yylineno;
607|
608| int yylineno = 1;
609|
610| extern char *yytext;
611| #define yytext_ptr yytext
612|
613| static yy_state_type yy_get_previous_state (void );
614| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
615| static int yy_get_next_buffer (void );
616| static void yy_fatal_error (yyconst char msg[]  );
617|
618| /* Done after the current pattern has been matched and before the
619|  * corresponding action - sets up yytext.
620|  */
621| #define YY_DO_BEFORE_ACTION \
622|       (yytext_ptr) = yy_bp; \
623|       yyleng = (yy_size_t) (yy_cp - yy_bp); \
624|       (yy_hold_char) = *yy_cp; \
625|       *yy_cp = '\0'; \
626|       (yy_c_buf_p) = yy_cp;
627|
628| #define YY_NUM_RULES 1
629| #define YY_END_OF_BUFFER 2
630| /* This struct is not used in this scanner,
631|    but its presence is necessary. */
632| struct yy_trans_info
633|       {
634|       flex_int32_t yy_verify;
635|       flex_int32_t yy_nxt;
636|       };
637| static yyconst flex_int16_t yy_accept[6] =
638|     {   0,
639|         0,    0,    2,    1,    0
640|     } ;
641|
642| static yyconst flex_int32_t yy_ec[256] =
643|     {   0,
644|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
645|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
646|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
647|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
648|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
649|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
650|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
651|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
652|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
653|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
654|
655|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
656|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
657|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
658|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
659|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
660|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
661|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
662|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
663|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
664|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
665|
666|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
667|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
668|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
669|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
670|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
671|         1,    1,    1,    1,    1
672|     } ;
673|
674| static yyconst flex_int32_t yy_meta[2] =
675|     {   0,
676|         1
677|     } ;
678|
679| static yyconst flex_int16_t yy_base[7] =
680|     {   0,
681|         0,    0,    2,    3,    3,    0
682|     } ;
683|
684| static yyconst flex_int16_t yy_def[7] =
685|     {   0,
686|         6,    6,    5,    5,    0,    5
687|     } ;
688|
689| static yyconst flex_int16_t yy_nxt[5] =
690|     {   0,
691|         4,    5,    3,    5
692|     } ;
693|
694| static yyconst flex_int16_t yy_chk[5] =
695|     {   0,
696|         6,    3,    5,    5
697|     } ;
698|
699| static yy_state_type yy_last_accepting_state;
700| static char *yy_last_accepting_cpos;
701|
702| extern int yy_flex_debug;
703| int yy_flex_debug = 0;
704|
705| /* The intent behind this definition is that it'll catch
706|  * any uses of REJECT which flex missed.
707|  */
708| #define REJECT reject_used_but_not_detected
709| #define yymore() yymore_used_but_not_detected
710| #define YY_MORE_ADJ 0
711| #define YY_RESTORE_YY_MORE_OFFSET
712| char *yytext;
713| #line 1 "conftest.l"
714| #line 450 "lex.yy.c"
715|
716| #define INITIAL 0
717|
718| #ifndef YY_NO_UNISTD_H
719| /* Special case for "unistd.h", since it is non-ANSI. We include it way
720|  * down here because we want the user's section 1 to have been scanned first.
721|  * The user has a chance to override it with an option.
722|  */
723| #include <unistd.h>
724| #endif
725|
726| #ifndef YY_EXTRA_TYPE
727| #define YY_EXTRA_TYPE void *
728| #endif
729|
730| static int yy_init_globals (void );
731|
732| /* Accessor methods to globals.
733|    These are made visible to non-reentrant scanners for convenience. */
734|
735| int yylex_destroy (void );
736|
737| int yyget_debug (void );
738|
739| void yyset_debug (int debug_flag  );
740|
741| YY_EXTRA_TYPE yyget_extra (void );
742|
743| void yyset_extra (YY_EXTRA_TYPE user_defined  );
744|
745| FILE *yyget_in (void );
746|
747| void yyset_in  (FILE * in_str  );
748|
749| FILE *yyget_out (void );
750|
751| void yyset_out  (FILE * out_str  );
752|
753| yy_size_t yyget_leng (void );
754|
755| char *yyget_text (void );
756|
757| int yyget_lineno (void );
758|
759| void yyset_lineno (int line_number  );
760|
761| /* Macros after this point can all be overridden by user definitions in
762|  * section 1.
763|  */
764|
765| #ifndef YY_SKIP_YYWRAP
766| #ifdef __cplusplus
767| extern "C" int yywrap (void );
768| #else
769| extern int yywrap (void );
770| #endif
771| #endif
772|
773|     static void yyunput (int c,char *buf_ptr  );
774|     
775| #ifndef yytext_ptr
776| static void yy_flex_strncpy (char *,yyconst char *,int );
777| #endif
778|
779| #ifdef YY_NEED_STRLEN
780| static int yy_flex_strlen (yyconst char * );
781| #endif
782|
783| #ifndef YY_NO_INPUT
784|
785| #ifdef __cplusplus
786| static int yyinput (void );
787| #else
788| static int input (void );
789| #endif
790|
791| #endif
792|
793| /* Amount of stuff to slurp up with each read. */
794| #ifndef YY_READ_BUF_SIZE
795| #define YY_READ_BUF_SIZE 8192
796| #endif
797|
798| /* Copy whatever the last rule matched to the standard output. */
799| #ifndef ECHO
800| /* This used to be an fputs(), but since the string might contain NUL's,
801|  * we now use fwrite().
802|  */
803| #define ECHO fwrite( yytext, yyleng, 1, yyout )
804| #endif
805|
806| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
807|  * is returned in "result".
808|  */
809| #ifndef YY_INPUT
810| #define YY_INPUT(buf,result,max_size) \
811|       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
812|               { \
813|               int c = '*'; \
814|               yy_size_t n; \
815|               for ( n = 0; n < max_size && \
816|                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
817|                       buf[n] = (char) c; \
818|               if ( c == '\n' ) \
819|                       buf[n++] = (char) c; \
820|               if ( c == EOF && ferror( yyin ) ) \
821|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
822|               result = n; \
823|               } \
824|       else \
825|               { \
826|               errno=0; \
827|               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
828|                       { \
829|                       if( errno != EINTR) \
830|                               { \
831|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
832|                               break; \
833|                               } \
834|                       errno=0; \
835|                       clearerr(yyin); \
836|                       } \
837|               }\
838| \
839|
840| #endif
841|
842| /* No semi-colon after return; correct usage is to write "yyterminate();" -
843|  * we don't want an extra ';' after the "return" because that will cause
844|  * some compilers to complain about unreachable statements.
845|  */
846| #ifndef yyterminate
847| #define yyterminate() return YY_NULL
848| #endif
849|
850| /* Number of entries by which start-condition stack grows. */
851| #ifndef YY_START_STACK_INCR
852| #define YY_START_STACK_INCR 25
853| #endif
854|
855| /* Report a fatal error. */
856| #ifndef YY_FATAL_ERROR
857| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
858| #endif
859|
860| /* end tables serialization structures and prototypes */
861|
862| /* Default declaration of generated scanner - a define so the user can
863|  * easily add parameters.
864|  */
865| #ifndef YY_DECL
866| #define YY_DECL_IS_OURS 1
867|
868| extern int yylex (void);
869|
870| #define YY_DECL int yylex (void)
871| #endif /* !YY_DECL */
872|
873| /* Code executed at the beginning of each rule, after yytext and yyleng
874|  * have been set up.
875|  */
876| #ifndef YY_USER_ACTION
877| #define YY_USER_ACTION
878| #endif
879|
880| /* Code executed at the end of each rule. */
881| #ifndef YY_BREAK
882| #define YY_BREAK break;
883| #endif
884|
885| #define YY_RULE_SETUP \
886|       YY_USER_ACTION
887|
888| /** The main scanner function which does all the work.
889|  */
890| YY_DECL
891| {
892|       register yy_state_type yy_current_state;
893|       register char *yy_cp, *yy_bp;
894|       register int yy_act;
895|     
896| #line 1 "conftest.l"
897|
898| #line 634 "lex.yy.c"
899|
900|       if ( !(yy_init) )
901|               {
902|               (yy_init) = 1;
903|
904| #ifdef YY_USER_INIT
905|               YY_USER_INIT;
906| #endif
907|
908|               if ( ! (yy_start) )
909|                       (yy_start) = 1; /* first start state */
910|
911|               if ( ! yyin )
912|                       yyin = stdin;
913|
914|               if ( ! yyout )
915|                       yyout = stdout;
916|
917|               if ( ! YY_CURRENT_BUFFER ) {
918|                       yyensure_buffer_stack ();
919|                       YY_CURRENT_BUFFER_LVALUE =
920|                               yy_create_buffer(yyin,YY_BUF_SIZE );
921|               }
922|
923|               yy_load_buffer_state( );
924|               }
925|
926|       while ( 1 )             /* loops until end-of-file is reached */
927|               {
928|               yy_cp = (yy_c_buf_p);
929|
930|               /* Support of yytext. */
931|               *yy_cp = (yy_hold_char);
932|
933|               /* yy_bp points to the position in yy_ch_buf of the start of
934|                * the current run.
935|                */
936|               yy_bp = yy_cp;
937|
938|               yy_current_state = (yy_start);
939| yy_match:
940|               do
941|                       {
942|                       register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
943|                       if ( yy_accept[yy_current_state] )
944|                               {
945|                               (yy_last_accepting_state) = yy_current_state;
946|                               (yy_last_accepting_cpos) = yy_cp;
947|                               }
948|                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
949|                               {
950|                               yy_current_state = (int) yy_def[yy_current_state];
951|                               if ( yy_current_state >= 6 )
952|                                       yy_c = yy_meta[(unsigned int) yy_c];
953|                               }
954|                       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
955|                       ++yy_cp;
956|                       }
957|               while ( yy_base[yy_current_state] != 3 );
958|
959| yy_find_action:
960|               yy_act = yy_accept[yy_current_state];
961|               if ( yy_act == 0 )
962|                       { /* have to back up */
963|                       yy_cp = (yy_last_accepting_cpos);
964|                       yy_current_state = (yy_last_accepting_state);
965|                       yy_act = yy_accept[yy_current_state];
966|                       }
967|
968|               YY_DO_BEFORE_ACTION;
969|
970| do_action:    /* This label is used only to access EOF actions. */
971|
972|               switch ( yy_act )
973|       { /* beginning of action switch */
974|                       case 0: /* must back up */
975|                       /* undo the effects of YY_DO_BEFORE_ACTION */
976|                       *yy_cp = (yy_hold_char);
977|                       yy_cp = (yy_last_accepting_cpos);
978|                       yy_current_state = (yy_last_accepting_state);
979|                       goto yy_find_action;
980|
981| case 1:
982| YY_RULE_SETUP
983| #line 2 "conftest.l"
984| ECHO;
985|       YY_BREAK
986| #line 722 "lex.yy.c"
987| case YY_STATE_EOF(INITIAL):
988|       yyterminate();
989|
990|       case YY_END_OF_BUFFER:
991|               {
992|               /* Amount of text matched not including the EOB char. */
993|               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
994|
995|               /* Undo the effects of YY_DO_BEFORE_ACTION. */
996|               *yy_cp = (yy_hold_char);
997|               YY_RESTORE_YY_MORE_OFFSET
998|
999|               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1000|                       {
1001|                       /* We're scanning a new file or input source.  It's
1002|                        * possible that this happened because the user
1003|                        * just pointed yyin at a new source and called
1004|                        * yylex().  If so, then we have to assure
1005|                        * consistency between YY_CURRENT_BUFFER and our
1006|                        * globals.  Here is the right place to do so, because
1007|                        * this is the first action (other than possibly a
1008|                        * back-up) that will match for the new input source.
1009|                        */
1010|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1011|                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1012|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1013|                       }
1014|
1015|               /* Note that here we test for yy_c_buf_p "<=" to the position
1016|                * of the first EOB in the buffer, since yy_c_buf_p will
1017|                * already have been incremented past the NUL character
1018|                * (since all states make transitions on EOB to the
1019|                * end-of-buffer state).  Contrast this with the test
1020|                * in input().
1021|                */
1022|               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1023|                       { /* This was really a NUL. */
1024|                       yy_state_type yy_next_state;
1025|
1026|                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1027|
1028|                       yy_current_state = yy_get_previous_state(  );
1029|
1030|                       /* Okay, we're now positioned to make the NUL
1031|                        * transition.  We couldn't have
1032|                        * yy_get_previous_state() go ahead and do it
1033|                        * for us because it doesn't know how to deal
1034|                        * with the possibility of jamming (and we don't
1035|                        * want to build jamming into it because then it
1036|                        * will run more slowly).
1037|                        */
1038|
1039|                       yy_next_state = yy_try_NUL_trans( yy_current_state );
1040|
1041|                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1042|
1043|                       if ( yy_next_state )
1044|                               {
1045|                               /* Consume the NUL. */
1046|                               yy_cp = ++(yy_c_buf_p);
1047|                               yy_current_state = yy_next_state;
1048|                               goto yy_match;
1049|                               }
1050|
1051|                       else
1052|                               {
1053|                               yy_cp = (yy_c_buf_p);
1054|                               goto yy_find_action;
1055|                               }
1056|                       }
1057|
1058|               else switch ( yy_get_next_buffer(  ) )
1059|                       {
1060|                       case EOB_ACT_END_OF_FILE:
1061|                               {
1062|                               (yy_did_buffer_switch_on_eof) = 0;
1063|
1064|                               if ( yywrap( ) )
1065|                                       {
1066|                                       /* Note: because we've taken care in
1067|                                        * yy_get_next_buffer() to have set up
1068|                                        * yytext, we can now set up
1069|                                        * yy_c_buf_p so that if some total
1070|                                        * hoser (like flex itself) wants to
1071|                                        * call the scanner after we return the
1072|                                        * YY_NULL, it'll still work - another
1073|                                        * YY_NULL will get returned.
1074|                                        */
1075|                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1076|
1077|                                       yy_act = YY_STATE_EOF(YY_START);
1078|                                       goto do_action;
1079|                                       }
1080|
1081|                               else
1082|                                       {
1083|                                       if ( ! (yy_did_buffer_switch_on_eof) )
1084|                                               YY_NEW_FILE;
1085|                                       }
1086|                               break;
1087|                               }
1088|
1089|                       case EOB_ACT_CONTINUE_SCAN:
1090|                               (yy_c_buf_p) =
1091|                                       (yytext_ptr) + yy_amount_of_matched_text;
1092|
1093|                               yy_current_state = yy_get_previous_state(  );
1094|
1095|                               yy_cp = (yy_c_buf_p);
1096|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1097|                               goto yy_match;
1098|
1099|                       case EOB_ACT_LAST_MATCH:
1100|                               (yy_c_buf_p) =
1101|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1102|
1103|                               yy_current_state = yy_get_previous_state(  );
1104|
1105|                               yy_cp = (yy_c_buf_p);
1106|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1107|                               goto yy_find_action;
1108|                       }
1109|               break;
1110|               }
1111|
1112|       default:
1113|               YY_FATAL_ERROR(
1114|                       "fatal flex scanner internal error--no action found" );
1115|       } /* end of action switch */
1116|               } /* end of scanning one token */
1117| } /* end of yylex */
1118|
1119| /* yy_get_next_buffer - try to read in a new buffer
1120|  *
1121|  * Returns a code representing an action:
1122|  *    EOB_ACT_LAST_MATCH -
1123|  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1124|  *    EOB_ACT_END_OF_FILE - end of file
1125|  */
1126| static int yy_get_next_buffer (void)
1127| {
1128|       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1129|       register char *source = (yytext_ptr);
1130|       register int number_to_move, i;
1131|       int ret_val;
1132|
1133|       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1134|               YY_FATAL_ERROR(
1135|               "fatal flex scanner internal error--end of buffer missed" );
1136|
1137|       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1138|               { /* Don't try to fill the buffer, so this is an EOF. */
1139|               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1140|                       {
1141|                       /* We matched a single character, the EOB, so
1142|                        * treat this as a final EOF.
1143|                        */
1144|                       return EOB_ACT_END_OF_FILE;
1145|                       }
1146|
1147|               else
1148|                       {
1149|                       /* We matched some text prior to the EOB, first
1150|                        * process it.
1151|                        */
1152|                       return EOB_ACT_LAST_MATCH;
1153|                       }
1154|               }
1155|
1156|       /* Try to read more data. */
1157|
1158|       /* First move last chars to start of buffer. */
1159|       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
1160|
1161|       for ( i = 0; i < number_to_move; ++i )
1162|               *(dest++) = *(source++);
1163|
1164|       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1165|               /* don't do the read, it's not guaranteed to return an EOF,
1166|                * just force an EOF
1167|                */
1168|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1169|
1170|       else
1171|               {
1172|                       yy_size_t num_to_read =
1173|                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1174|
1175|               while ( num_to_read <= 0 )
1176|                       { /* Not enough room in the buffer - grow it. */
1177|
1178|                       /* just a shorter name for the current buffer */
1179|                       YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
1180|
1181|                       int yy_c_buf_p_offset =
1182|                               (int) ((yy_c_buf_p) - b->yy_ch_buf);
1183|
1184|                       if ( b->yy_is_our_buffer )
1185|                               {
1186|                               yy_size_t new_size = b->yy_buf_size * 2;
1187|
1188|                               if ( new_size <= 0 )
1189|                                       b->yy_buf_size += b->yy_buf_size / 8;
1190|                               else
1191|                                       b->yy_buf_size *= 2;
1192|
1193|                               b->yy_ch_buf = (char *)
1194|                                       /* Include room in for 2 EOB chars. */
1195|                                       yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2  );
1196|                               }
1197|                       else
1198|                               /* Can't grow it, we don't own it. */
1199|                               b->yy_ch_buf = 0;
1200|
1201|                       if ( ! b->yy_ch_buf )
1202|                               YY_FATAL_ERROR(
1203|                               "fatal error - scanner input buffer overflow" );
1204|
1205|                       (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1206|
1207|                       num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1208|                                               number_to_move - 1;
1209|
1210|                       }
1211|
1212|               if ( num_to_read > YY_READ_BUF_SIZE )
1213|                       num_to_read = YY_READ_BUF_SIZE;
1214|
1215|               /* Read in more data. */
1216|               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1217|                       (yy_n_chars), num_to_read );
1218|
1219|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1220|               }
1221|
1222|       if ( (yy_n_chars) == 0 )
1223|               {
1224|               if ( number_to_move == YY_MORE_ADJ )
1225|                       {
1226|                       ret_val = EOB_ACT_END_OF_FILE;
1227|                       yyrestart(yyin  );
1228|                       }
1229|
1230|               else
1231|                       {
1232|                       ret_val = EOB_ACT_LAST_MATCH;
1233|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1234|                               YY_BUFFER_EOF_PENDING;
1235|                       }
1236|               }
1237|
1238|       else
1239|               ret_val = EOB_ACT_CONTINUE_SCAN;
1240|
1241|       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1242|               /* Extend the array by 50%, plus the number we really need. */
1243|               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1244|               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
1245|               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1246|                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1247|       }
1248|
1249|       (yy_n_chars) += number_to_move;
1250|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1251|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1252|
1253|       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1254|
1255|       return ret_val;
1256| }
1257|
1258| /* yy_get_previous_state - get the state just before the EOB char was reached */
1259|
1260|     static yy_state_type yy_get_previous_state (void)
1261| {
1262|       register yy_state_type yy_current_state;
1263|       register char *yy_cp;
1264|     
1265|       yy_current_state = (yy_start);
1266|
1267|       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1268|               {
1269|               register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1270|               if ( yy_accept[yy_current_state] )
1271|                       {
1272|                       (yy_last_accepting_state) = yy_current_state;
1273|                       (yy_last_accepting_cpos) = yy_cp;
1274|                       }
1275|               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1276|                       {
1277|                       yy_current_state = (int) yy_def[yy_current_state];
1278|                       if ( yy_current_state >= 6 )
1279|                               yy_c = yy_meta[(unsigned int) yy_c];
1280|                       }
1281|               yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1282|               }
1283|
1284|       return yy_current_state;
1285| }
1286|
1287| /* yy_try_NUL_trans - try to make a transition on the NUL character
1288|  *
1289|  * synopsis
1290|  *    next_state = yy_try_NUL_trans( current_state );
1291|  */
1292|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
1293| {
1294|       register int yy_is_jam;
1295|       register char *yy_cp = (yy_c_buf_p);
1296|
1297|       register YY_CHAR yy_c = 1;
1298|       if ( yy_accept[yy_current_state] )
1299|               {
1300|               (yy_last_accepting_state) = yy_current_state;
1301|               (yy_last_accepting_cpos) = yy_cp;
1302|               }
1303|       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1304|               {
1305|               yy_current_state = (int) yy_def[yy_current_state];
1306|               if ( yy_current_state >= 6 )
1307|                       yy_c = yy_meta[(unsigned int) yy_c];
1308|               }
1309|       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1310|       yy_is_jam = (yy_current_state == 5);
1311|
1312|       return yy_is_jam ? 0 : yy_current_state;
1313| }
1314|
1315|     static void yyunput (int c, register char * yy_bp )
1316| {
1317|       register char *yy_cp;
1318|     
1319|     yy_cp = (yy_c_buf_p);
1320|
1321|       /* undo effects of setting up yytext */
1322|       *yy_cp = (yy_hold_char);
1323|
1324|       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1325|               { /* need to shift things up to make room */
1326|               /* +2 for EOB chars. */
1327|               register yy_size_t number_to_move = (yy_n_chars) + 2;
1328|               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
1329|                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
1330|               register char *source =
1331|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
1332|
1333|               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1334|                       *--dest = *--source;
1335|
1336|               yy_cp += (int) (dest - source);
1337|               yy_bp += (int) (dest - source);
1338|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
1339|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
1340|
1341|               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1342|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
1343|               }
1344|
1345|       *--yy_cp = (char) c;
1346|
1347|       (yytext_ptr) = yy_bp;
1348|       (yy_hold_char) = *yy_cp;
1349|       (yy_c_buf_p) = yy_cp;
1350| }
1351|
1352| #ifndef YY_NO_INPUT
1353| #ifdef __cplusplus
1354|     static int yyinput (void)
1355| #else
1356|     static int input  (void)
1357| #endif
1358|
1359| {
1360|       int c;
1361|     
1362|       *(yy_c_buf_p) = (yy_hold_char);
1363|
1364|       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1365|               {
1366|               /* yy_c_buf_p now points to the character we want to return.
1367|                * If this occurs *before* the EOB characters, then it's a
1368|                * valid NUL; if not, then we've hit the end of the buffer.
1369|                */
1370|               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1371|                       /* This was really a NUL. */
1372|                       *(yy_c_buf_p) = '\0';
1373|
1374|               else
1375|                       { /* need more input */
1376|                       yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
1377|                       ++(yy_c_buf_p);
1378|
1379|                       switch ( yy_get_next_buffer(  ) )
1380|                               {
1381|                               case EOB_ACT_LAST_MATCH:
1382|                                       /* This happens because yy_g_n_b()
1383|                                        * sees that we've accumulated a
1384|                                        * token and flags that we need to
1385|                                        * try matching the token before
1386|                                        * proceeding.  But for input(),
1387|                                        * there's no matching to consider.
1388|                                        * So convert the EOB_ACT_LAST_MATCH
1389|                                        * to EOB_ACT_END_OF_FILE.
1390|                                        */
1391|
1392|                                       /* Reset buffer status. */
1393|                                       yyrestart(yyin );
1394|
1395|                                       /*FALLTHROUGH*/
1396|
1397|                               case EOB_ACT_END_OF_FILE:
1398|                                       {
1399|                                       if ( yywrap( ) )
1400|                                               return 0;
1401|
1402|                                       if ( ! (yy_did_buffer_switch_on_eof) )
1403|                                               YY_NEW_FILE;
1404| #ifdef __cplusplus
1405|                                       return yyinput();
1406| #else
1407|                                       return input();
1408| #endif
1409|                                       }
1410|
1411|                               case EOB_ACT_CONTINUE_SCAN:
1412|                                       (yy_c_buf_p) = (yytext_ptr) + offset;
1413|                                       break;
1414|                               }
1415|                       }
1416|               }
1417|
1418|       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
1419|       *(yy_c_buf_p) = '\0';   /* preserve yytext */
1420|       (yy_hold_char) = *++(yy_c_buf_p);
1421|
1422|       return c;
1423| }
1424| #endif        /* ifndef YY_NO_INPUT */
1425|
1426| /** Immediately switch to a different input stream.
1427|  * @param input_file A readable stream.
1428|  *
1429|  * @note This function does not reset the start condition to @c INITIAL .
1430|  */
1431|     void yyrestart  (FILE * input_file )
1432| {
1433|     
1434|       if ( ! YY_CURRENT_BUFFER ){
1435|         yyensure_buffer_stack ();
1436|               YY_CURRENT_BUFFER_LVALUE =
1437|             yy_create_buffer(yyin,YY_BUF_SIZE );
1438|       }
1439|
1440|       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
1441|       yy_load_buffer_state( );
1442| }
1443|
1444| /** Switch to a different input buffer.
1445|  * @param new_buffer The new input buffer.
1446|  *
1447|  */
1448|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
1449| {
1450|     
1451|       /* TODO. We should be able to replace this entire function body
1452|        * with
1453|        *              yypop_buffer_state();
1454|        *              yypush_buffer_state(new_buffer);
1455|      */
1456|       yyensure_buffer_stack ();
1457|       if ( YY_CURRENT_BUFFER == new_buffer )
1458|               return;
1459|
1460|       if ( YY_CURRENT_BUFFER )
1461|               {
1462|               /* Flush out information for old buffer. */
1463|               *(yy_c_buf_p) = (yy_hold_char);
1464|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1465|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1466|               }
1467|
1468|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
1469|       yy_load_buffer_state( );
1470|
1471|       /* We don't actually know whether we did this switch during
1472|        * EOF (yywrap()) processing, but the only time this flag
1473|        * is looked at is after yywrap() is called, so it's safe
1474|        * to go ahead and always set it.
1475|        */
1476|       (yy_did_buffer_switch_on_eof) = 1;
1477| }
1478|
1479| static void yy_load_buffer_state  (void)
1480| {
1481|       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1482|       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1483|       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1484|       (yy_hold_char) = *(yy_c_buf_p);
1485| }
1486|
1487| /** Allocate and initialize an input buffer state.
1488|  * @param file A readable stream.
1489|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1490|  *
1491|  * @return the allocated buffer state.
1492|  */
1493|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
1494| {
1495|       YY_BUFFER_STATE b;
1496|     
1497|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
1498|       if ( ! b )
1499|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1500|
1501|       b->yy_buf_size = size;
1502|
1503|       /* yy_ch_buf has to be 2 characters longer than the size given because
1504|        * we need to put in 2 end-of-buffer characters.
1505|        */
1506|       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
1507|       if ( ! b->yy_ch_buf )
1508|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1509|
1510|       b->yy_is_our_buffer = 1;
1511|
1512|       yy_init_buffer(b,file );
1513|
1514|       return b;
1515| }
1516|
1517| /** Destroy the buffer.
1518|  * @param b a buffer created with yy_create_buffer()
1519|  *
1520|  */
1521|     void yy_delete_buffer (YY_BUFFER_STATE  b )
1522| {
1523|     
1524|       if ( ! b )
1525|               return;
1526|
1527|       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1528|               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
1529|
1530|       if ( b->yy_is_our_buffer )
1531|               yyfree((void *) b->yy_ch_buf  );
1532|
1533|       yyfree((void *) b  );
1534| }
1535|
1536| #ifndef __cplusplus
1537| extern int isatty (int );
1538| #endif /* __cplusplus */
1539|     
1540| /* Initializes or reinitializes a buffer.
1541|  * This function is sometimes called more than once on the same buffer,
1542|  * such as during a yyrestart() or at EOF.
1543|  */
1544|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
1545|
1546| {
1547|       int oerrno = errno;
1548|     
1549|       yy_flush_buffer(b );
1550|
1551|       b->yy_input_file = file;
1552|       b->yy_fill_buffer = 1;
1553|
1554|     /* If b is the current buffer, then yy_init_buffer was _probably_
1555|      * called from yyrestart() or through yy_get_next_buffer.
1556|      * In that case, we don't want to reset the lineno or column.
1557|      */
1558|     if (b != YY_CURRENT_BUFFER){
1559|         b->yy_bs_lineno = 1;
1560|         b->yy_bs_column = 0;
1561|     }
1562|
1563|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1564|     
1565|       errno = oerrno;
1566| }
1567|
1568| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1569|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1570|  *
1571|  */
1572|     void yy_flush_buffer (YY_BUFFER_STATE  b )
1573| {
1574|       if ( ! b )
1575|               return;
1576|
1577|       b->yy_n_chars = 0;
1578|
1579|       /* We always need two end-of-buffer characters.  The first causes
1580|        * a transition to the end-of-buffer state.  The second causes
1581|        * a jam in that state.
1582|        */
1583|       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
1584|       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1585|
1586|       b->yy_buf_pos = &b->yy_ch_buf[0];
1587|
1588|       b->yy_at_bol = 1;
1589|       b->yy_buffer_status = YY_BUFFER_NEW;
1590|
1591|       if ( b == YY_CURRENT_BUFFER )
1592|               yy_load_buffer_state( );
1593| }
1594|
1595| /** Pushes the new state onto the stack. The new state becomes
1596|  *  the current state. This function will allocate the stack
1597|  *  if necessary.
1598|  *  @param new_buffer The new state.
1599|  * 
1600|  */
1601| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1602| {
1603|       if (new_buffer == NULL)
1604|               return;
1605|
1606|       yyensure_buffer_stack();
1607|
1608|       /* This block is copied from yy_switch_to_buffer. */
1609|       if ( YY_CURRENT_BUFFER )
1610|               {
1611|               /* Flush out information for old buffer. */
1612|               *(yy_c_buf_p) = (yy_hold_char);
1613|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1614|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1615|               }
1616|
1617|       /* Only push if top exists. Otherwise, replace top. */
1618|       if (YY_CURRENT_BUFFER)
1619|               (yy_buffer_stack_top)++;
1620|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
1621|
1622|       /* copied from yy_switch_to_buffer. */
1623|       yy_load_buffer_state( );
1624|       (yy_did_buffer_switch_on_eof) = 1;
1625| }
1626|
1627| /** Removes and deletes the top of the stack, if present.
1628|  *  The next element becomes the new top.
1629|  * 
1630|  */
1631| void yypop_buffer_state (void)
1632| {
1633|       if (!YY_CURRENT_BUFFER)
1634|               return;
1635|
1636|       yy_delete_buffer(YY_CURRENT_BUFFER );
1637|       YY_CURRENT_BUFFER_LVALUE = NULL;
1638|       if ((yy_buffer_stack_top) > 0)
1639|               --(yy_buffer_stack_top);
1640|
1641|       if (YY_CURRENT_BUFFER) {
1642|               yy_load_buffer_state( );
1643|               (yy_did_buffer_switch_on_eof) = 1;
1644|       }
1645| }
1646|
1647| /* Allocates the stack if it does not exist.
1648|  *  Guarantees space for at least one push.
1649|  */
1650| static void yyensure_buffer_stack (void)
1651| {
1652|       yy_size_t num_to_alloc;
1653|     
1654|       if (!(yy_buffer_stack)) {
1655|
1656|               /* First allocation is just for 2 elements, since we don't know if this
1657|                * scanner will even need a stack. We use 2 instead of 1 to avoid an
1658|                * immediate realloc on the next call.
1659|          */
1660|               num_to_alloc = 1;
1661|               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
1662|                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
1663|                                                               );
1664|               if ( ! (yy_buffer_stack) )
1665|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1666|                                                                 
1667|               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1668|                               
1669|               (yy_buffer_stack_max) = num_to_alloc;
1670|               (yy_buffer_stack_top) = 0;
1671|               return;
1672|       }
1673|
1674|       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1675|
1676|               /* Increase the buffer to prepare for a possible push. */
1677|               int grow_size = 8 /* arbitrary grow size */;
1678|
1679|               num_to_alloc = (yy_buffer_stack_max) + grow_size;
1680|               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
1681|                                                               ((yy_buffer_stack),
1682|                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
1683|                                                               );
1684|               if ( ! (yy_buffer_stack) )
1685|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1686|
1687|               /* zero only the new slots.*/
1688|               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
1689|               (yy_buffer_stack_max) = num_to_alloc;
1690|       }
1691| }
1692|
1693| /** Setup the input buffer state to scan directly from a user-specified character buffer.
1694|  * @param base the character buffer
1695|  * @param size the size in bytes of the character buffer
1696|  *
1697|  * @return the newly allocated buffer state object.
1698|  */
1699| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
1700| {
1701|       YY_BUFFER_STATE b;
1702|     
1703|       if ( size < 2 ||
1704|            base[size-2] != YY_END_OF_BUFFER_CHAR ||
1705|            base[size-1] != YY_END_OF_BUFFER_CHAR )
1706|               /* They forgot to leave room for the EOB's. */
1707|               return 0;
1708|
1709|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
1710|       if ( ! b )
1711|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
1712|
1713|       b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
1714|       b->yy_buf_pos = b->yy_ch_buf = base;
1715|       b->yy_is_our_buffer = 0;
1716|       b->yy_input_file = 0;
1717|       b->yy_n_chars = b->yy_buf_size;
1718|       b->yy_is_interactive = 0;
1719|       b->yy_at_bol = 1;
1720|       b->yy_fill_buffer = 0;
1721|       b->yy_buffer_status = YY_BUFFER_NEW;
1722|
1723|       yy_switch_to_buffer(b  );
1724|
1725|       return b;
1726| }
1727|
1728| /** Setup the input buffer state to scan a string. The next call to yylex() will
1729|  * scan from a @e copy of @a str.
1730|  * @param yystr a NUL-terminated string to scan
1731|  *
1732|  * @return the newly allocated buffer state object.
1733|  * @note If you want to scan bytes that may contain NUL values, then use
1734|  *       yy_scan_bytes() instead.
1735|  */
1736| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
1737| {
1738|     
1739|       return yy_scan_bytes(yystr,strlen(yystr) );
1740| }
1741|
1742| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
1743|  * scan from a @e copy of @a bytes.
1744|  * @param bytes the byte buffer to scan
1745|  * @param len the number of bytes in the buffer pointed to by @a bytes.
1746|  *
1747|  * @return the newly allocated buffer state object.
1748|  */
1749| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
1750| {
1751|       YY_BUFFER_STATE b;
1752|       char *buf;
1753|       yy_size_t n, i;
1754|     
1755|       /* Get memory for full buffer, including space for trailing EOB's. */
1756|       n = _yybytes_len + 2;
1757|       buf = (char *) yyalloc(n  );
1758|       if ( ! buf )
1759|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
1760|
1761|       for ( i = 0; i < _yybytes_len; ++i )
1762|               buf[i] = yybytes[i];
1763|
1764|       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
1765|
1766|       b = yy_scan_buffer(buf,n );
1767|       if ( ! b )
1768|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
1769|
1770|       /* It's okay to grow etc. this buffer, and we should throw it
1771|        * away when we're done.
1772|        */
1773|       b->yy_is_our_buffer = 1;
1774|
1775|       return b;
1776| }
1777|
1778| #ifndef YY_EXIT_FAILURE
1779| #define YY_EXIT_FAILURE 2
1780| #endif
1781|
1782| static void yy_fatal_error (yyconst char* msg )
1783| {
1784|       (void) fprintf( stderr, "%s\n", msg );
1785|       exit( YY_EXIT_FAILURE );
1786| }
1787|
1788| /* Redefine yyless() so it works in section 3 code. */
1789|
1790| #undef yyless
1791| #define yyless(n) \
1792|       do \
1793|               { \
1794|               /* Undo effects of setting up yytext. */ \
1795|         int yyless_macro_arg = (n); \
1796|         YY_LESS_LINENO(yyless_macro_arg);\
1797|               yytext[yyleng] = (yy_hold_char); \
1798|               (yy_c_buf_p) = yytext + yyless_macro_arg; \
1799|               (yy_hold_char) = *(yy_c_buf_p); \
1800|               *(yy_c_buf_p) = '\0'; \
1801|               yyleng = yyless_macro_arg; \
1802|               } \
1803|       while ( 0 )
1804|
1805| /* Accessor  methods (get/set functions) to struct members. */
1806|
1807| /** Get the current line number.
1808|  *
1809|  */
1810| int yyget_lineno  (void)
1811| {
1812|         
1813|     return yylineno;
1814| }
1815|
1816| /** Get the input stream.
1817|  *
1818|  */
1819| FILE *yyget_in  (void)
1820| {
1821|         return yyin;
1822| }
1823|
1824| /** Get the output stream.
1825|  *
1826|  */
1827| FILE *yyget_out  (void)
1828| {
1829|         return yyout;
1830| }
1831|
1832| /** Get the length of the current token.
1833|  *
1834|  */
1835| yy_size_t yyget_leng  (void)
1836| {
1837|         return yyleng;
1838| }
1839|
1840| /** Get the current token.
1841|  *
1842|  */
1843|
1844| char *yyget_text  (void)
1845| {
1846|         return yytext;
1847| }
1848|
1849| /** Set the current line number.
1850|  * @param line_number
1851|  *
1852|  */
1853| void yyset_lineno (int  line_number )
1854| {
1855|     
1856|     yylineno = line_number;
1857| }
1858|
1859| /** Set the input stream. This does not discard the current
1860|  * input buffer.
1861|  * @param in_str A readable stream.
1862|  *
1863|  * @see yy_switch_to_buffer
1864|  */
1865| void yyset_in (FILE *  in_str )
1866| {
1867|         yyin = in_str ;
1868| }
1869|
1870| void yyset_out (FILE *  out_str )
1871| {
1872|         yyout = out_str ;
1873| }
1874|
1875| int yyget_debug  (void)
1876| {
1877|         return yy_flex_debug;
1878| }
1879|
1880| void yyset_debug (int  bdebug )
1881| {
1882|         yy_flex_debug = bdebug ;
1883| }
1884|
1885| static int yy_init_globals (void)
1886| {
1887|         /* Initialization is the same as for the non-reentrant scanner.
1888|      * This function is called from yylex_destroy(), so don't allocate here.
1889|      */
1890|
1891|     (yy_buffer_stack) = 0;
1892|     (yy_buffer_stack_top) = 0;
1893|     (yy_buffer_stack_max) = 0;
1894|     (yy_c_buf_p) = (char *) 0;
1895|     (yy_init) = 0;
1896|     (yy_start) = 0;
1897|
1898| /* Defined in main.c */
1899| #ifdef YY_STDINIT
1900|     yyin = stdin;
1901|     yyout = stdout;
1902| #else
1903|     yyin = (FILE *) 0;
1904|     yyout = (FILE *) 0;
1905| #endif
1906|
1907|     /* For future reference: Set errno on error, since we are called by
1908|      * yylex_init()
1909|      */
1910|     return 0;
1911| }
1912|
1913| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
1914| int yylex_destroy  (void)
1915| {
1916|     
1917|     /* Pop the buffer stack, destroying each element. */
1918|       while(YY_CURRENT_BUFFER){
1919|               yy_delete_buffer(YY_CURRENT_BUFFER  );
1920|               YY_CURRENT_BUFFER_LVALUE = NULL;
1921|               yypop_buffer_state();
1922|       }
1923|
1924|       /* Destroy the stack itself. */
1925|       yyfree((yy_buffer_stack) );
1926|       (yy_buffer_stack) = NULL;
1927|
1928|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
1929|      * yylex() is called, initialization will occur. */
1930|     yy_init_globals( );
1931|
1932|     return 0;
1933| }
1934|
1935| /*
1936|  * Internal utility routines.
1937|  */
1938|
1939| #ifndef yytext_ptr
1940| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
1941| {
1942|       register int i;
1943|       for ( i = 0; i < n; ++i )
1944|               s1[i] = s2[i];
1945| }
1946| #endif
1947|
1948| #ifdef YY_NEED_STRLEN
1949| static int yy_flex_strlen (yyconst char * s )
1950| {
1951|       register int n;
1952|       for ( n = 0; s[n]; ++n )
1953|               ;
1954|
1955|       return n;
1956| }
1957| #endif
1958|
1959| void *yyalloc (yy_size_t  size )
1960| {
1961|       return (void *) malloc( size );
1962| }
1963|
1964| void *yyrealloc  (void * ptr, yy_size_t  size )
1965| {
1966|       /* The cast to (char *) in the following accommodates both
1967|        * implementations that use char* generic pointers, and those
1968|        * that use void* generic pointers.  It works with the latter
1969|        * because both ANSI C and C++ allow castless assignment from
1970|        * any pointer type to void*, and deal with argument conversions
1971|        * as though doing an assignment.
1972|        */
1973|       return (void *) realloc( (char *) ptr, size );
1974| }
1975|
1976| void yyfree (void * ptr )
1977| {
1978|       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
1979| }
1980|
1981| #define YYTABLES_NAME "yytables"
1982|
1983| #line 2 "conftest.l"
1984|
1985|
1986|
1987| extern char *yytext;
1988configure:3330: result: no
1989configure:3357: checking for a BSD-compatible install
1990configure:3412: result: /usr/bin/install -c
1991configure:3423: checking whether make sets $(MAKE)
1992configure:3443: result: yes
1993configure:3452: checking whether ln -s works
1994configure:3456: result: yes
1995configure:3465: checking for bison
1996configure:3481: found /usr/bin/bison
1997configure:3492: result: bison
1998configure:3501: checking for grep
1999configure:3517: found /usr/bin/grep
2000configure:3528: result: grep
2001configure:3537: checking for diff
2002configure:3553: found /usr/bin/diff
2003configure:3564: result: diff
2004configure:3573: checking for cat
2005configure:3589: found /bin/cat
2006configure:3600: result: cat
2007configure:3609: checking for rm
2008configure:3625: found /bin/rm
2009configure:3636: result: rm
2010configure:3645: checking for mv
2011configure:3661: found /bin/mv
2012configure:3672: result: mv
2013configure:3681: checking for cp
2014configure:3697: found /bin/cp
2015configure:3708: result: cp
2016configure:3717: checking for sed
2017configure:3733: found /usr/bin/sed
2018configure:3744: result: sed
2019configure:3756: checking whether we need _ALL_SOURCE to expose mode_t
2020configure:3778: /usr/bin/clang -c -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include conftest.c >&5
2021conftest.c:11:1: error: unknown type name 'mode_t'
2022mode_t x;
2023^
20241 error generated.
2025configure:3784: $? = 1
2026configure: failed program was:
2027| /* confdefs.h.  */
2028|
2029| #define PACKAGE_NAME "Splint"
2030| #define PACKAGE_TARNAME "splint"
2031| #define PACKAGE_VERSION "3.1.2"
2032| #define PACKAGE_STRING "Splint 3.1.2"
2033| #define PACKAGE_BUGREPORT "splint-bug@splint.org"
2034| /* end confdefs.h.  */
2035|
2036| #include <stdio.h>
2037| mode_t x;
2038|
2039| int
2040| main ()
2041| {
2042|
2043|   ;
2044|   return 0;
2045| }
2046configure:3828: /usr/bin/clang -c -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include conftest.c >&5
2047conftest.c:12:1: error: unknown type name 'mode_t'
2048mode_t x;
2049^
20501 error generated.
2051configure:3834: $? = 1
2052configure: failed program was:
2053| /* confdefs.h.  */
2054|
2055| #define PACKAGE_NAME "Splint"
2056| #define PACKAGE_TARNAME "splint"
2057| #define PACKAGE_VERSION "3.1.2"
2058| #define PACKAGE_STRING "Splint 3.1.2"
2059| #define PACKAGE_BUGREPORT "splint-bug@splint.org"
2060| /* end confdefs.h.  */
2061|
2062| #define _ALL_SOURCE
2063| #include <stdio.h>
2064| mode_t x;
2065|
2066| int
2067| main ()
2068| {
2069|
2070|   ;
2071|   return 0;
2072| }
2073configure:3861: result: no
2074configure:3873: checking whether to include support for LCL files
2075configure:3880: result: yes
2076configure:4169: creating ./config.status
2077
2078## ---------------------- ##
2079## Running config.status. ##
2080## ---------------------- ##
2081
2082This file was extended by Splint config.status 3.1.2, which was
2083generated by GNU Autoconf 2.59.  Invocation command line was
2084
2085  CONFIG_FILES    =
2086  CONFIG_HEADERS  =
2087  CONFIG_LINKS    =
2088  CONFIG_COMMANDS =
2089  $ ./config.status
2090
2091on gl00b05046.cats.gwu.edu
2092
2093config.status:712: creating Makefile
2094config.status:712: creating imports/Makefile
2095config.status:712: creating lib/Makefile
2096config.status:712: creating src/Makefile
2097config.status:712: creating test/Makefile
2098config.status:712: creating doc/Makefile
2099config.status:712: creating bin/Makefile
2100config.status:816: creating config.h
2101config.status:1112: executing depfiles commands
2102
2103## ---------------- ##
2104## Cache variables. ##
2105## ---------------- ##
2106
2107ac_cv_build=i386-apple-darwin12.3.0
2108ac_cv_build_alias=i386-apple-darwin12.3.0
2109ac_cv_c_compiler_gnu=yes
2110ac_cv_env_CC_set=set
2111ac_cv_env_CC_value=/usr/bin/clang
2112ac_cv_env_CFLAGS_set=set
2113ac_cv_env_CFLAGS_value='-pipe -O2 -arch x86_64 -arch i386'
2114ac_cv_env_CPPFLAGS_set=set
2115ac_cv_env_CPPFLAGS_value=-I/opt/local/include
2116ac_cv_env_CPP_set=
2117ac_cv_env_CPP_value=
2118ac_cv_env_LDFLAGS_set=set
2119ac_cv_env_LDFLAGS_value='-L/opt/local/lib -arch x86_64 -arch i386'
2120ac_cv_env_build_alias_set=
2121ac_cv_env_build_alias_value=
2122ac_cv_env_host_alias_set=
2123ac_cv_env_host_alias_value=
2124ac_cv_env_target_alias_set=
2125ac_cv_env_target_alias_value=
2126ac_cv_exeext=
2127ac_cv_host=i386-apple-darwin12.3.0
2128ac_cv_host_alias=i386-apple-darwin12.3.0
2129ac_cv_lib_fl_yywrap=no
2130ac_cv_lib_l_yywrap=no
2131ac_cv_objext=o
2132ac_cv_prog_AWK=gawk
2133ac_cv_prog_BISON=bison
2134ac_cv_prog_CAT=cat
2135ac_cv_prog_CP=cp
2136ac_cv_prog_CPP='/usr/bin/clang -E'
2137ac_cv_prog_DIFF=diff
2138ac_cv_prog_GREP=grep
2139ac_cv_prog_LEX=flex
2140ac_cv_prog_MV=mv
2141ac_cv_prog_RM=rm
2142ac_cv_prog_SED=sed
2143ac_cv_prog_ac_ct_CC=/usr/bin/clang
2144ac_cv_prog_cc_g=yes
2145ac_cv_prog_cc_stdc=
2146ac_cv_prog_lex_root=lex.yy
2147ac_cv_prog_lex_yytext_pointer=no
2148ac_cv_prog_make_make_set=yes
2149ac_cv_target=i386-apple-darwin12.3.0
2150ac_cv_target_alias=i386-apple-darwin12.3.0
2151ac_cv_use_lcl=yes
2152am_cv_CC_dependencies_compiler_type=none
2153
2154## ----------------- ##
2155## Output variables. ##
2156## ----------------- ##
2157
2158ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/config/missing --run aclocal-1.6'
2159AMDEPBACKSLASH=''
2160AMDEP_FALSE=''
2161AMDEP_TRUE='#'
2162AMTAR='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/config/missing --run tar'
2163AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/config/missing --run autoconf'
2164AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/config/missing --run autoheader'
2165AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/config/missing --run automake-1.6'
2166AWK='gawk'
2167BISON='bison'
2168CAT='cat'
2169CC='/usr/bin/clang'
2170CCDEPMODE='depmode=none'
2171CFLAGS='-pipe -O2 -arch x86_64 -arch i386'
2172CP='cp'
2173CPP='/usr/bin/clang -E'
2174CPPFLAGS='-I/opt/local/include'
2175DEFS='-DHAVE_CONFIG_H'
2176DEPDIR='.deps'
2177DIFF='diff'
2178ECHO_C='ECHO_N=''
2179ECHO_T=''
2180EXEEXT=''
2181GREP='grep'
2182INSTALL_DATA='${INSTALL} -m 644'
2183INSTALL_PROGRAM='${INSTALL}'
2184INSTALL_SCRIPT='${INSTALL}'
2185INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
2186LCLOBJ='$(lcl_OBJECTS)'
2187LDFLAGS='-L/opt/local/lib -arch x86_64 -arch i386'
2188LEX='flex'
2189LEXLIB=''
2190LEX_OUTPUT_ROOT='lex.yy'
2191LIBOBJS=''
2192LIBS=''
2193LN_S='ln -s'
2194LTLIBOBJS=''
2195MAKEINFO='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/config/missing --run makeinfo'
2196MV='mv'
2197OBJEXT='o'
2198PACKAGE='splint'
2199PACKAGE_BUGREPORT='splint-bug@splint.org'
2200PACKAGE_NAME='Splint'
2201PACKAGE_STRING='Splint 3.1.2'
2202PACKAGE_TARNAME='splint'
2203PACKAGE_VERSION='3.1.2'
2204PATH_SEPARATOR=':'
2205RM='rm'
2206SED='sed'
2207SET_MAKE=''
2208SHELL='/bin/sh'
2209STRIP=''
2210VERSION='3.1.2'
2211ac_ct_CC='/usr/bin/clang'
2212ac_ct_STRIP=''
2213am__include='include'
2214am__quote=''
2215bindir='${exec_prefix}/bin'
2216build='i386-apple-darwin12.3.0'
2217build_alias=''
2218build_cpu='i386'
2219build_os='darwin12.3.0'
2220build_vendor='apple'
2221datadir='${prefix}/share'
2222exec_prefix='${prefix}'
2223host='i386-apple-darwin12.3.0'
2224host_alias=''
2225host_cpu='i386'
2226host_os='darwin12.3.0'
2227host_vendor='apple'
2228includedir='${prefix}/include'
2229infodir='/opt/local/share/info'
2230install_sh='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/config/install-sh'
2231libdir='${exec_prefix}/lib'
2232libexecdir='${exec_prefix}/libexec'
2233localstatedir='${prefix}/var'
2234mandir='/opt/local/share/man'
2235oldincludedir='/usr/include'
2236prefix='/opt/local'
2237program_transform_name='s,x,x,'
2238sbindir='${exec_prefix}/sbin'
2239sharedstatedir='${prefix}/com'
2240sysconfdir='${prefix}/etc'
2241target='i386-apple-darwin12.3.0'
2242target_alias=''
2243target_cpu='i386'
2244target_os='darwin12.3.0'
2245target_vendor='apple'
2246
2247## ----------- ##
2248## confdefs.h. ##
2249## ----------- ##
2250
2251#define BUILD "i386-apple-darwin12.3.0"
2252#define BUILD_ALIAS ""
2253#define BUILD_CPU "i386"
2254#define BUILD_OS "darwin12.3.0"
2255#define BUILD_VENDOR "apple"
2256#define DEFAULT_LARCHPATH ".:/opt/local/share/splint/lib:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/lib:"
2257#define DEFAULT_LCLIMPORTDIR ".:/opt/local/share/splint/imports:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/imports"
2258#define GCC_INCLUDE_DIR "/usr/include"
2259#define GCC_INCLUDE_DIR2 "/opt/local/include"
2260#define HOST "i386-apple-darwin12.3.0"
2261#define HOST_ALIAS ""
2262#define HOST_CPU "i386"
2263#define HOST_OS "darwin12.3.0"
2264#define HOST_VENDOR "apple"
2265#define LCL_COMPILE "Compiled using /usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 on Darwin gl00b05046.cats.gwu.edu 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64 by macports"
2266#define LCL_PARSE_VERSION "Splint 3.1.2"
2267#define PACKAGE_BUGREPORT "splint-bug@splint.org"
2268#define PACKAGE_NAME "Splint"
2269#define PACKAGE_STRING "Splint 3.1.2"
2270#define PACKAGE_TARNAME "splint"
2271#define PACKAGE_VERSION "3.1.2"
2272#define SPLINT_VERSION "Splint 3.1.2 --- 28 Apr 2013"
2273#define SYSTEM_LIBDIR "/opt/local/include"
2274#define TARGET "i386-apple-darwin12.3.0"
2275#define TARGET_ALIAS ""
2276#define TARGET_CPU "i386"
2277#define TARGET_OS "darwin12.3.0"
2278#define TARGET_VENDOR "apple"
2279#define UNAME "Darwin"
2280#define UNIX 1
2281
2282configure: exit 0