Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
postproc.c
Go to the documentation of this file.
1/** @file postproc.c
2 */
3#line 2 "postproc.c"
4
5#line 4 "postproc.c"
6
7#define YY_INT_ALIGNED short int
8
9/* A lexical scanner generated by flex */
10
11#define yy_create_buffer post_create_buffer
12#define yy_delete_buffer post_delete_buffer
13#define yy_scan_buffer post_scan_buffer
14#define yy_scan_string post_scan_string
15#define yy_scan_bytes post_scan_bytes
16#define yy_init_buffer post_init_buffer
17#define yy_flush_buffer post_flush_buffer
18#define yy_load_buffer_state post_load_buffer_state
19#define yy_switch_to_buffer post_switch_to_buffer
20#define yypush_buffer_state postpush_buffer_state
21#define yypop_buffer_state postpop_buffer_state
22#define yyensure_buffer_stack postensure_buffer_stack
23#define yy_flex_debug post_flex_debug
24#define yyin postin
25#define yyleng postleng
26#define yylex postlex
27#define yylineno postlineno
28#define yyout postout
29#define yyrestart postrestart
30#define yytext posttext
31#define yywrap postwrap
32#define yyalloc postalloc
33#define yyrealloc postrealloc
34#define yyfree postfree
35
36#define FLEX_SCANNER
37#define YY_FLEX_MAJOR_VERSION 2
38#define YY_FLEX_MINOR_VERSION 6
39#define YY_FLEX_SUBMINOR_VERSION 4
40#if YY_FLEX_SUBMINOR_VERSION > 0
41#define FLEX_BETA
42#endif
43
44#ifdef yy_create_buffer
45#define post_create_buffer_ALREADY_DEFINED
46#else
47#define yy_create_buffer post_create_buffer
48#endif
49
50#ifdef yy_delete_buffer
51#define post_delete_buffer_ALREADY_DEFINED
52#else
53#define yy_delete_buffer post_delete_buffer
54#endif
55
56#ifdef yy_scan_buffer
57#define post_scan_buffer_ALREADY_DEFINED
58#else
59#define yy_scan_buffer post_scan_buffer
60#endif
61
62#ifdef yy_scan_string
63#define post_scan_string_ALREADY_DEFINED
64#else
65#define yy_scan_string post_scan_string
66#endif
67
68#ifdef yy_scan_bytes
69#define post_scan_bytes_ALREADY_DEFINED
70#else
71#define yy_scan_bytes post_scan_bytes
72#endif
73
74#ifdef yy_init_buffer
75#define post_init_buffer_ALREADY_DEFINED
76#else
77#define yy_init_buffer post_init_buffer
78#endif
79
80#ifdef yy_flush_buffer
81#define post_flush_buffer_ALREADY_DEFINED
82#else
83#define yy_flush_buffer post_flush_buffer
84#endif
85
86#ifdef yy_load_buffer_state
87#define post_load_buffer_state_ALREADY_DEFINED
88#else
89#define yy_load_buffer_state post_load_buffer_state
90#endif
91
92#ifdef yy_switch_to_buffer
93#define post_switch_to_buffer_ALREADY_DEFINED
94#else
95#define yy_switch_to_buffer post_switch_to_buffer
96#endif
97
98#ifdef yypush_buffer_state
99#define postpush_buffer_state_ALREADY_DEFINED
100#else
101#define yypush_buffer_state postpush_buffer_state
102#endif
103
104#ifdef yypop_buffer_state
105#define postpop_buffer_state_ALREADY_DEFINED
106#else
107#define yypop_buffer_state postpop_buffer_state
108#endif
109
110#ifdef yyensure_buffer_stack
111#define postensure_buffer_stack_ALREADY_DEFINED
112#else
113#define yyensure_buffer_stack postensure_buffer_stack
114#endif
115
116#ifdef yylex
117#define postlex_ALREADY_DEFINED
118#else
119#define yylex postlex
120#endif
121
122#ifdef yyrestart
123#define postrestart_ALREADY_DEFINED
124#else
125#define yyrestart postrestart
126#endif
127
128#ifdef yylex_init
129#define postlex_init_ALREADY_DEFINED
130#else
131#define yylex_init postlex_init
132#endif
133
134#ifdef yylex_init_extra
135#define postlex_init_extra_ALREADY_DEFINED
136#else
137#define yylex_init_extra postlex_init_extra
138#endif
139
140#ifdef yylex_destroy
141#define postlex_destroy_ALREADY_DEFINED
142#else
143#define yylex_destroy postlex_destroy
144#endif
145
146#ifdef yyget_debug
147#define postget_debug_ALREADY_DEFINED
148#else
149#define yyget_debug postget_debug
150#endif
151
152#ifdef yyset_debug
153#define postset_debug_ALREADY_DEFINED
154#else
155#define yyset_debug postset_debug
156#endif
157
158#ifdef yyget_extra
159#define postget_extra_ALREADY_DEFINED
160#else
161#define yyget_extra postget_extra
162#endif
163
164#ifdef yyset_extra
165#define postset_extra_ALREADY_DEFINED
166#else
167#define yyset_extra postset_extra
168#endif
169
170#ifdef yyget_in
171#define postget_in_ALREADY_DEFINED
172#else
173#define yyget_in postget_in
174#endif
175
176#ifdef yyset_in
177#define postset_in_ALREADY_DEFINED
178#else
179#define yyset_in postset_in
180#endif
181
182#ifdef yyget_out
183#define postget_out_ALREADY_DEFINED
184#else
185#define yyget_out postget_out
186#endif
187
188#ifdef yyset_out
189#define postset_out_ALREADY_DEFINED
190#else
191#define yyset_out postset_out
192#endif
193
194#ifdef yyget_leng
195#define postget_leng_ALREADY_DEFINED
196#else
197#define yyget_leng postget_leng
198#endif
199
200#ifdef yyget_text
201#define postget_text_ALREADY_DEFINED
202#else
203#define yyget_text postget_text
204#endif
205
206#ifdef yyget_lineno
207#define postget_lineno_ALREADY_DEFINED
208#else
209#define yyget_lineno postget_lineno
210#endif
211
212#ifdef yyset_lineno
213#define postset_lineno_ALREADY_DEFINED
214#else
215#define yyset_lineno postset_lineno
216#endif
217
218#ifdef yywrap
219#define postwrap_ALREADY_DEFINED
220#else
221#define yywrap postwrap
222#endif
223
224#ifdef yyalloc
225#define postalloc_ALREADY_DEFINED
226#else
227#define yyalloc postalloc
228#endif
229
230#ifdef yyrealloc
231#define postrealloc_ALREADY_DEFINED
232#else
233#define yyrealloc postrealloc
234#endif
235
236#ifdef yyfree
237#define postfree_ALREADY_DEFINED
238#else
239#define yyfree postfree
240#endif
241
242#ifdef yytext
243#define posttext_ALREADY_DEFINED
244#else
245#define yytext posttext
246#endif
247
248#ifdef yyleng
249#define postleng_ALREADY_DEFINED
250#else
251#define yyleng postleng
252#endif
253
254#ifdef yyin
255#define postin_ALREADY_DEFINED
256#else
257#define yyin postin
258#endif
259
260#ifdef yyout
261#define postout_ALREADY_DEFINED
262#else
263#define yyout postout
264#endif
265
266#ifdef yy_flex_debug
267#define post_flex_debug_ALREADY_DEFINED
268#else
269#define yy_flex_debug post_flex_debug
270#endif
271
272#ifdef yylineno
273#define postlineno_ALREADY_DEFINED
274#else
275#define yylineno postlineno
276#endif
277
278/* First, we deal with platform-specific or compiler-specific issues. */
279
280/* begin standard C headers. */
281#include <stdio.h>
282#include <string.h>
283#include <errno.h>
284#include <stdlib.h>
285
286/* end standard C headers. */
287
288/* flex integer type definitions */
289
290#ifndef FLEXINT_H
291#define FLEXINT_H
292
293/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
294
295#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
296
297/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
298 * if you want the limit (max/min) macros for int types.
299 */
300#ifndef __STDC_LIMIT_MACROS
301#define __STDC_LIMIT_MACROS 1
302#endif
303
304#include <inttypes.h>
305typedef int8_t flex_int8_t;
306typedef uint8_t flex_uint8_t;
307typedef int16_t flex_int16_t;
308typedef uint16_t flex_uint16_t;
309typedef int32_t flex_int32_t;
310typedef uint32_t flex_uint32_t;
311#else
312typedef signed char flex_int8_t;
313typedef short int flex_int16_t;
314typedef int flex_int32_t;
315typedef unsigned char flex_uint8_t;
316typedef unsigned short int flex_uint16_t;
317typedef unsigned int flex_uint32_t;
318
319/* Limits of integral types. */
320#ifndef INT8_MIN
321#define INT8_MIN (-128)
322#endif
323#ifndef INT16_MIN
324#define INT16_MIN (-32767-1)
325#endif
326#ifndef INT32_MIN
327#define INT32_MIN (-2147483647-1)
328#endif
329#ifndef INT8_MAX
330#define INT8_MAX (127)
331#endif
332#ifndef INT16_MAX
333#define INT16_MAX (32767)
334#endif
335#ifndef INT32_MAX
336#define INT32_MAX (2147483647)
337#endif
338#ifndef UINT8_MAX
339#define UINT8_MAX (255U)
340#endif
341#ifndef UINT16_MAX
342#define UINT16_MAX (65535U)
343#endif
344#ifndef UINT32_MAX
345#define UINT32_MAX (4294967295U)
346#endif
347
348#ifndef SIZE_MAX
349#define SIZE_MAX (~(size_t)0)
350#endif
351
352#endif /* ! C99 */
353
354#endif /* ! FLEXINT_H */
355
356/* begin standard C++ headers. */
357
358/* TODO: this is always defined, so inline it */
359#define yyconst const
360
361#if defined(__GNUC__) && __GNUC__ >= 3
362#define yynoreturn __attribute__((__noreturn__))
363#else
364#define yynoreturn
365#endif
366
367/* Returned upon end-of-file. */
368#define YY_NULL 0
369
370/* Promotes a possibly negative, possibly signed char to an
371 * integer in range [0..255] for use as an array index.
372 */
373#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
374
375/* Enter a start condition. This macro really ought to take a parameter,
376 * but we do it the disgusting crufty way forced on us by the ()-less
377 * definition of BEGIN.
378 */
379#define BEGIN (yy_start) = 1 + 2 *
380/* Translate the current start state into a value that can be later handed
381 * to BEGIN to return to the state. The YYSTATE alias is for lex
382 * compatibility.
383 */
384#define YY_START (((yy_start) - 1) / 2)
385#define YYSTATE YY_START
386/* Action number for EOF rule of a given start state. */
387#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
388/* Special action meaning "start processing a new file". */
389#define YY_NEW_FILE yyrestart( yyin )
390#define YY_END_OF_BUFFER_CHAR 0
391
392/* Size of default input buffer. */
393#ifndef YY_BUF_SIZE
394#ifdef __ia64__
395/* On IA-64, the buffer size is 16k, not 8k.
396 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
397 * Ditto for the __ia64__ case accordingly.
398 */
399#define YY_BUF_SIZE 32768
400#else
401#define YY_BUF_SIZE 16384
402#endif /* __ia64__ */
403#endif
404
405/* The state buf must be large enough to hold one state per character in the main buffer.
406 */
407#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
408
409#ifndef YY_TYPEDEF_YY_BUFFER_STATE
410#define YY_TYPEDEF_YY_BUFFER_STATE
412#endif
413
414#ifndef YY_TYPEDEF_YY_SIZE_T
415#define YY_TYPEDEF_YY_SIZE_T
416typedef size_t yy_size_t;
417#endif
418
419extern int yyleng;
420
421extern FILE *yyin, *yyout;
422
423#define EOB_ACT_CONTINUE_SCAN 0
424#define EOB_ACT_END_OF_FILE 1
425#define EOB_ACT_LAST_MATCH 2
426
427 #define YY_LESS_LINENO(n)
428 #define YY_LINENO_REWIND_TO(ptr)
429
430/* Return all but the first "n" matched characters back to the input stream. */
431#define yyless(n) \
432 do \
433 { \
434 /* Undo effects of setting up yytext. */ \
435 int yyless_macro_arg = (n); \
436 YY_LESS_LINENO(yyless_macro_arg);\
437 *yy_cp = (yy_hold_char); \
438 YY_RESTORE_YY_MORE_OFFSET \
439 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
440 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
441 } \
442 while ( 0 )
443#define unput(c) yyunput( c, (yytext_ptr) )
444
445#ifndef YY_STRUCT_YY_BUFFER_STATE
446#define YY_STRUCT_YY_BUFFER_STATE
447struct yy_buffer_state
448 {
450
451 char *yy_ch_buf; /* input buffer */
452 char *yy_buf_pos; /* current position in input buffer */
453
454 /* Size of input buffer in bytes, not including room for EOB
455 * characters.
456 */
457 int yy_buf_size;
458
459 /* Number of characters read into yy_ch_buf, not including EOB
460 * characters.
461 */
462 int yy_n_chars;
463
464 /* Whether we "own" the buffer - i.e., we know we created it,
465 * and can realloc() it to grow it, and should free() it to
466 * delete it.
467 */
469
470 /* Whether this is an "interactive" input source; if so, and
471 * if we're using stdio for input, then we want to use getc()
472 * instead of fread(), to make sure we stop fetching input after
473 * each newline.
474 */
476
477 /* Whether we're considered to be at the beginning of a line.
478 * If so, '^' rules will be active on the next match, otherwise
479 * not.
480 */
481 int yy_at_bol;
482
483 int yy_bs_lineno; /**< The line count. */
484 int yy_bs_column; /**< The column count. */
485
486 /* Whether to try to fill the input buffer when we reach the
487 * end of it.
488 */
489 int yy_fill_buffer;
490
492
493#define YY_BUFFER_NEW 0
494#define YY_BUFFER_NORMAL 1
495 /* When an EOF's been seen but there's still some text to process
496 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
497 * shouldn't try reading from the input source any more. We might
498 * still have a bunch of tokens to match, though, because of
499 * possible backing-up.
500 *
501 * When we actually see the EOF, we change the status to "new"
502 * (via yyrestart()), so that the user can continue scanning by
503 * just pointing yyin at a new input file.
504 */
505#define YY_BUFFER_EOF_PENDING 2
506
507 };
508#endif /* !YY_STRUCT_YY_BUFFER_STATE */
509
510/* Stack of input buffers. */
511static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
512static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
513static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
514
515/* We provide macros for accessing buffer states in case in the
516 * future we want to put the buffer states in a more general
517 * "scanner state".
518 *
519 * Returns the top of the stack, or NULL.
520 */
521#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
522 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
523 : NULL)
524/* Same as previous macro, but useful when we know that the buffer stack is not
525 * NULL or when we need an lvalue. For internal use only.
526 */
527#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
528
529/* yy_hold_char holds the character lost when yytext is formed. */
530static char yy_hold_char;
531static int yy_n_chars; /* number of characters read into yy_ch_buf */
533
534/* Points to current character in buffer. */
535static char *yy_c_buf_p = NULL;
536static int yy_init = 0; /* whether we need to initialize */
537static int yy_start = 0; /* start state number */
538
539/* Flag which is used to allow yywrap()'s to do buffer switches
540 * instead of setting up a fresh yyin. A bit of a hack ...
541 */
543
544void yyrestart ( FILE *input_file );
550void yypop_buffer_state ( void );
551
552static void yyensure_buffer_stack ( void );
553static void yy_load_buffer_state ( void );
554static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
555#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
556
559YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
560
561void *yyalloc ( yy_size_t );
562void *yyrealloc ( void *, yy_size_t );
563void yyfree ( void * );
564
565#define yy_new_buffer yy_create_buffer
566#define yy_set_interactive(is_interactive) \
567 { \
568 if ( ! YY_CURRENT_BUFFER ){ \
569 yyensure_buffer_stack (); \
570 YY_CURRENT_BUFFER_LVALUE = \
571 yy_create_buffer( yyin, YY_BUF_SIZE ); \
572 } \
573 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
574 }
575#define yy_set_bol(at_bol) \
576 { \
577 if ( ! YY_CURRENT_BUFFER ){\
578 yyensure_buffer_stack (); \
579 YY_CURRENT_BUFFER_LVALUE = \
580 yy_create_buffer( yyin, YY_BUF_SIZE ); \
581 } \
582 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
583 }
584#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
585
586/* Begin user sect3 */
587
588#define postwrap() (/*CONSTCOND*/1)
589#define YY_SKIP_YYWRAP
591
593
594typedef int yy_state_type;
595
596extern int yylineno;
597int yylineno = 1;
598
599extern char *yytext;
600#ifdef yytext_ptr
601#undef yytext_ptr
602#endif
603#define yytext_ptr yytext
604
607static int yy_get_next_buffer ( void );
608static void yynoreturn yy_fatal_error ( const char* msg );
609
610/* Done after the current pattern has been matched and before the
611 * corresponding action - sets up yytext.
612 */
613#define YY_DO_BEFORE_ACTION \
614 (yytext_ptr) = yy_bp; \
615 yyleng = (int) (yy_cp - yy_bp); \
616 (yy_hold_char) = *yy_cp; \
617 *yy_cp = '\0'; \
618 (yy_c_buf_p) = yy_cp;
619#define YY_NUM_RULES 15
620#define YY_END_OF_BUFFER 16
621/* This struct is not used in this scanner,
622 but its presence is necessary. */
623struct yy_trans_info
624 {
627 };
628static const flex_int16_t yy_acclist[48] =
629 { 0,
630 16, 14, 15, 13, 15, 14, 15, 14, 15, 7,
631 14, 15, 14, 15, 14, 15, 14, 15, 7, 14,
632 15, 12, 1, 2, 8, 8, 2, 8, 5, 5,
633 4, 5, 5, 5, 5, 10, 4, 5, 9, 6,
634 5, 5, 5, 11, 5, 6, 3
635 } ;
636
637static const flex_int16_t yy_accept[115] =
638 { 0,
639 1, 1, 1, 2, 4, 6, 8, 10, 13, 15,
640 17, 19, 22, 22, 23, 23, 24, 25, 25, 25,
641 25, 25, 25, 25, 26, 26, 26, 27, 27, 27,
642 27, 28, 28, 28, 28, 28, 28, 28, 29, 29,
643 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
644 29, 29, 29, 29, 29, 29, 29, 29, 30, 31,
645 31, 31, 31, 31, 32, 32, 32, 32, 33, 34,
646 35, 35, 35, 35, 35, 35, 35, 35, 35, 36,
647 37, 37, 37, 38, 38, 38, 38, 38, 39, 40,
648 40, 40, 40, 40, 41, 42, 42, 42, 43, 43,
649
650 43, 44, 45, 45, 47, 47, 47, 47, 47, 47,
651 47, 47, 48, 48
652 } ;
653
654static const YY_CHAR yy_ec[256] =
655 { 0,
656 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
657 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
658 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
659 1, 4, 1, 5, 6, 1, 1, 1, 7, 8,
660 1, 9, 1, 1, 1, 1, 10, 11, 11, 11,
661 11, 11, 11, 11, 11, 12, 12, 1, 1, 1,
662 1, 1, 7, 13, 14, 15, 15, 15, 16, 17,
663 18, 1, 19, 1, 1, 20, 1, 21, 22, 23,
664 1, 24, 25, 1, 1, 26, 1, 1, 1, 1,
665 1, 27, 1, 1, 28, 1, 29, 30, 15, 31,
666
667 32, 33, 34, 1, 35, 1, 36, 37, 38, 39,
668 40, 41, 1, 42, 1, 43, 44, 7, 1, 45,
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, 1, 1, 1, 1, 1,
672 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
673 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
674 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
675 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
676 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
677
678 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
679 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
680 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
681 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
682 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
683 1, 1, 1, 1, 1
684 } ;
685
686static const YY_CHAR yy_meta[46] =
687 { 0,
688 1, 1, 2, 1, 3, 1, 3, 1, 1, 1,
689 4, 5, 1, 5, 5, 5, 5, 1, 1, 1,
690 1, 1, 1, 1, 1, 1, 3, 1, 4, 4,
691 5, 5, 4, 1, 1, 1, 1, 1, 3, 1,
692 1, 3, 3, 1, 3
693 } ;
694
695static const flex_int16_t yy_base[126] =
696 { 0,
697 0, 24, 260, 261, 261, 4, 2, 261, 231, 2,
698 12, 15, 13, 253, 9, 261, 0, 4, 37, 19,
699 31, 40, 215, 252, 34, 43, 44, 50, 52, 0,
700 0, 236, 41, 57, 225, 249, 52, 60, 66, 67,
701 98, 231, 232, 236, 78, 215, 69, 67, 82, 80,
702 0, 232, 227, 218, 90, 207, 84, 240, 83, 222,
703 214, 211, 92, 87, 79, 189, 88, 209, 97, 94,
704 184, 173, 165, 130, 111, 0, 119, 104, 131, 261,
705 159, 168, 135, 138, 161, 150, 96, 136, 261, 156,
706 140, 0, 136, 170, 144, 143, 125, 140, 136, 119,
707
708 147, 261, 120, 149, 115, 66, 57, 154, 159, 4,
709 181, 261, 261, 194, 199, 204, 207, 211, 216, 218,
710 223, 228, 231, 232, 237
711 } ;
712
713static const flex_int16_t yy_def[126] =
714 { 0,
715 114, 114, 113, 113, 113, 115, 113, 113, 113, 113,
716 113, 116, 115, 113, 117, 113, 118, 113, 113, 113,
717 116, 113, 113, 119, 116, 116, 119, 115, 115, 120,
718 118, 113, 113, 113, 113, 119, 119, 119, 119, 115,
719 115, 113, 113, 113, 113, 113, 119, 119, 119, 115,
720 41, 113, 113, 113, 121, 113, 119, 122, 122, 113,
721 113, 113, 121, 113, 123, 113, 119, 122, 122, 122,
722 113, 113, 113, 113, 121, 124, 113, 119, 122, 113,
723 113, 113, 113, 121, 121, 113, 119, 122, 113, 113,
724 121, 85, 113, 119, 122, 113, 113, 122, 113, 113,
725
726 122, 113, 113, 122, 113, 113, 113, 113, 125, 125,
727 125, 113, 0, 113, 113, 113, 113, 113, 113, 113,
728 113, 113, 113, 113, 113
729 } ;
730
731static const flex_int16_t yy_nxt[307] =
732 { 0,
733 113, 113, 5, 19, 6, 19, 112, 20, 14, 7,
734 16, 17, 8, 22, 21, 22, 25, 14, 26, 29,
735 22, 113, 22, 32, 9, 10, 5, 10, 6, 11,
736 15, 33, 25, 7, 26, 25, 12, 26, 19, 15,
737 19, 22, 20, 22, 25, 27, 26, 37, 9, 21,
738 34, 34, 23, 30, 14, 37, 14, 43, 45, 23,
739 45, 27, 40, 37, 27, 38, 44, 34, 34, 37,
740 37, 14, 37, 27, 47, 39, 15, 50, 15, 45,
741 23, 45, 55, 58, 14, 59, 69, 37, 74, 75,
742 74, 37, 108, 15, 64, 57, 64, 69, 49, 37,
743
744 69, 48, 14, 94, 107, 70, 15, 37, 51, 51,
745 48, 51, 51, 51, 51, 64, 65, 67, 65, 70,
746 86, 84, 86, 76, 15, 78, 51, 51, 51, 51,
747 51, 74, 87, 74, 69, 79, 74, 65, 74, 69,
748 83, 83, 64, 69, 64, 83, 83, 69, 91, 106,
749 69, 86, 69, 86, 104, 109, 105, 109, 103, 88,
750 111, 112, 111, 102, 65, 64, 65, 100, 101, 95,
751 99, 92, 92, 37, 92, 92, 92, 92, 93, 97,
752 96, 98, 111, 112, 111, 90, 89, 65, 82, 92,
753 92, 92, 92, 92, 4, 4, 4, 4, 4, 13,
754
755 81, 13, 13, 13, 24, 80, 24, 24, 24, 13,
756 13, 31, 69, 31, 31, 31, 36, 77, 36, 36,
757 36, 41, 41, 63, 73, 63, 63, 63, 68, 72,
758 68, 68, 68, 63, 63, 85, 85, 110, 110, 110,
759 110, 110, 71, 69, 66, 62, 61, 60, 56, 54,
760 53, 52, 37, 46, 42, 37, 35, 28, 18, 113,
761 3, 113, 113, 113, 113, 113, 113, 113, 113, 113,
762 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
763 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
764 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
765
766 113, 113, 113, 113, 113, 113
767 } ;
768
769static const flex_int16_t yy_chk[307] =
770 { 0,
771 0, 0, 1, 10, 1, 10, 110, 10, 6, 1,
772 7, 7, 1, 11, 10, 11, 12, 13, 12, 15,
773 20, 0, 20, 18, 1, 2, 2, 2, 2, 2,
774 6, 18, 21, 2, 21, 25, 2, 25, 19, 13,
775 19, 22, 19, 22, 26, 12, 26, 27, 2, 19,
776 22, 22, 11, 15, 28, 37, 29, 33, 34, 20,
777 34, 21, 29, 38, 25, 26, 33, 34, 34, 39,
778 48, 40, 47, 26, 37, 27, 28, 40, 29, 45,
779 22, 45, 45, 49, 50, 49, 59, 57, 64, 65,
780 64, 67, 107, 40, 55, 48, 63, 70, 39, 87,
781
782 69, 38, 41, 87, 106, 59, 50, 78, 41, 41,
783 47, 41, 41, 41, 41, 75, 55, 57, 63, 69,
784 77, 75, 77, 65, 41, 67, 41, 41, 41, 41,
785 41, 74, 78, 74, 79, 70, 83, 75, 83, 88,
786 74, 74, 84, 98, 91, 83, 83, 95, 84, 105,
787 101, 86, 104, 86, 101, 108, 103, 108, 100, 79,
788 109, 109, 109, 99, 84, 85, 91, 97, 98, 88,
789 96, 85, 85, 94, 85, 85, 85, 85, 86, 93,
790 90, 95, 111, 111, 111, 82, 81, 85, 73, 85,
791 85, 85, 85, 85, 114, 114, 114, 114, 114, 115,
792
793 72, 115, 115, 115, 116, 71, 116, 116, 116, 117,
794 117, 118, 68, 118, 118, 118, 119, 66, 119, 119,
795 119, 120, 120, 121, 62, 121, 121, 121, 122, 61,
796 122, 122, 122, 123, 123, 124, 124, 125, 125, 125,
797 125, 125, 60, 58, 56, 54, 53, 52, 46, 44,
798 43, 42, 36, 35, 32, 24, 23, 14, 9, 3,
799 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
800 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
801 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
802 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
803
804 113, 113, 113, 113, 113, 113
805 } ;
806
807extern int yy_flex_debug;
809
811static char *yy_full_match;
812static int yy_lp;
813#define REJECT \
814{ \
815*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
816yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
817++(yy_lp); \
818goto find_rule; \
819}
820
821#define yymore() yymore_used_but_not_detected
822#define YY_MORE_ADJ 0
823#define YY_RESTORE_YY_MORE_OFFSET
824char *yytext;
825#line 1 "postproc.lex"
826#line 4 "postproc.lex"
827
828static int input (void);
829
830static void comment (void)
831{
832 int c;
833 while ((c = input()) != 0) {
834
835 if (c == '*') {
836 while ((c = input()) == '*')
837 ;
838
839 if (c == '/')
840 return;
841
842 if (c == 0)
843 break;
844 }
845 }
846}
847
848int getput(void)
849{
850 int c = input();
851 fputc (c, yyout);
852 return c;
853}
854
855static int line = 1, indef = 0, nolineno = 0;
856static char * autolink = NULL;
857
858#define nonspace(s) { while (strchr(" \t\v\n\f", *s)) s++; }
859#define space(s) { while (!strchr(" \t\v\n\f", *s)) s++; }
860
861static int input0 (FILE * yyin)
862{
863 static int buf[2] = {0}, n = 0;
864 int c;
865 if (n > 0)
866 c = buf[0], buf[0] = buf[1], n--;
867 else
868 c = fgetc (yyin);
869 switch (c) {
870
871 case EOF: return c;
872
873 case '\n': line++; return c;
874
875 case '\f$': // skip "code strings" i.e. \f$("...")
876 if (n == 0) {
877 int d = fgetc (yyin); buf[0] = d;
878 if (d == '(') {
879 d = fgetc (yyin); buf[1] = d;
880 if (d == '"') {
881 fputc (d, yyout);
882 d = fgetc (yyin);
883 while (d != EOF && d != '"') {
884 fputc (d, yyout);
885 if (d == '\n') line++;
886 else if (d == '\\') {
887 d = fgetc (yyin); if (d == '\n') line++;
888 fputc (d, yyout);
889 }
890 d = fgetc (yyin);
891 }
892 if (d == '"') {
893 fputc (d, yyout);
894 d = fgetc (yyin); if (d == '\n') line++;
895 if (d == ')')
896 d = fgetc (yyin); if (d == '\n') line++;
897 }
898 c = d;
899 }
900 else
901 n = 2;
902 }
903 else
904 n = 1;
905 }
906 break;
907
908 }
909 return c;
910}
911
912#define YY_INPUT(buf,result,max_size) \
913 { \
914 int c = input0 (yyin); \
915 result = (c == EOF) ? YY_NULL : (buf[0] = c, 1); \
916 }
917
918#line 917 "postproc.c"
919#line 918 "postproc.c"
920
921#define INITIAL 0
922
923#ifndef YY_NO_UNISTD_H
924/* Special case for "unistd.h", since it is non-ANSI. We include it way
925 * down here because we want the user's section 1 to have been scanned first.
926 * The user has a chance to override it with an option.
927 */
928#include <unistd.h>
929#endif
930
931#ifndef YY_EXTRA_TYPE
932#define YY_EXTRA_TYPE void *
933#endif
934
935static int yy_init_globals ( void );
936
937/* Accessor methods to globals.
938 These are made visible to non-reentrant scanners for convenience. */
939
940int yylex_destroy ( void );
941
942int yyget_debug ( void );
943
944void yyset_debug ( int debug_flag );
945
947
949
950FILE *yyget_in ( void );
951
952void yyset_in ( FILE * _in_str );
953
954FILE *yyget_out ( void );
955
956void yyset_out ( FILE * _out_str );
957
958 int yyget_leng ( void );
959
960char *yyget_text ( void );
961
962int yyget_lineno ( void );
963
964void yyset_lineno ( int _line_number );
965
966/* Macros after this point can all be overridden by user definitions in
967 * section 1.
968 */
969
970#ifndef YY_SKIP_YYWRAP
971#ifdef __cplusplus
972extern "C" int yywrap ( void );
973#else
974extern int yywrap ( void );
975#endif
976#endif
977
978#ifndef YY_NO_UNPUT
979
980 static void yyunput ( int c, char *buf_ptr );
981
982#endif
983
984#ifndef yytext_ptr
985static void yy_flex_strncpy ( char *, const char *, int );
986#endif
987
988#ifdef YY_NEED_STRLEN
989static int yy_flex_strlen ( const char * );
990#endif
991
992#ifndef YY_NO_INPUT
993#ifdef __cplusplus
994static int yyinput ( void );
995#else
996static int input ( void );
997#endif
998
999#endif
1000
1001/* Amount of stuff to slurp up with each read. */
1002#ifndef YY_READ_BUF_SIZE
1003#ifdef __ia64__
1004/* On IA-64, the buffer size is 16k, not 8k */
1005#define YY_READ_BUF_SIZE 16384
1006#else
1007#define YY_READ_BUF_SIZE 8192
1008#endif /* __ia64__ */
1009#endif
1010
1011/* Copy whatever the last rule matched to the standard output. */
1012#ifndef ECHO
1013/* This used to be an fputs(), but since the string might contain NUL's,
1014 * we now use fwrite().
1015 */
1016#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1017#endif
1018
1019/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1020 * is returned in "result".
1021 */
1022#ifndef YY_INPUT
1023#define YY_INPUT(buf,result,max_size) \
1024 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1025 { \
1026 int c = '*'; \
1027 int n; \
1028 for ( n = 0; n < max_size && \
1029 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1030 buf[n] = (char) c; \
1031 if ( c == '\n' ) \
1032 buf[n++] = (char) c; \
1033 if ( c == EOF && ferror( yyin ) ) \
1034 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1035 result = n; \
1036 } \
1037 else \
1038 { \
1039 errno=0; \
1040 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
1041 { \
1042 if( errno != EINTR) \
1043 { \
1044 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1045 break; \
1046 } \
1047 errno=0; \
1048 clearerr(yyin); \
1049 } \
1050 }\
1051\
1052
1053#endif
1054
1055/* No semi-colon after return; correct usage is to write "yyterminate();" -
1056 * we don't want an extra ';' after the "return" because that will cause
1057 * some compilers to complain about unreachable statements.
1058 */
1059#ifndef yyterminate
1060#define yyterminate() return YY_NULL
1061#endif
1062
1063/* Number of entries by which start-condition stack grows. */
1064#ifndef YY_START_STACK_INCR
1065#define YY_START_STACK_INCR 25
1066#endif
1067
1068/* Report a fatal error. */
1069#ifndef YY_FATAL_ERROR
1070#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1071#endif
1072
1073/* end tables serialization structures and prototypes */
1074
1075/* Default declaration of generated scanner - a define so the user can
1076 * easily add parameters.
1077 */
1078#ifndef YY_DECL
1079#define YY_DECL_IS_OURS 1
1080
1081extern int yylex (void);
1082
1083#define YY_DECL int yylex (void)
1084#endif /* !YY_DECL */
1085
1086/* Code executed at the beginning of each rule, after yytext and yyleng
1087 * have been set up.
1088 */
1089#ifndef YY_USER_ACTION
1090#define YY_USER_ACTION
1091#endif
1092
1093/* Code executed at the end of each rule. */
1094#ifndef YY_BREAK
1095#define YY_BREAK /*LINTED*/break;
1096#endif
1097
1098#define YY_RULE_SETUP \
1099 if ( yyleng > 0 ) \
1100 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
1101 (yytext[yyleng - 1] == '\n'); \
1102 YY_USER_ACTION
1103
1104/** The main scanner function which does all the work.
1105 */
1107{
1109 char *yy_cp, *yy_bp;
1110 int yy_act;
1111
1112 if ( !(yy_init) )
1113 {
1114 (yy_init) = 1;
1115
1116#ifdef YY_USER_INIT
1118#endif
1119
1120 /* Create the reject buffer large enough to save one state per allowed character. */
1121 if ( ! (yy_state_buf) )
1123 if ( ! (yy_state_buf) )
1124 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
1125
1126 if ( ! (yy_start) )
1127 (yy_start) = 1; /* first start state */
1128
1129 if ( ! yyin )
1130 yyin = stdin;
1131
1132 if ( ! yyout )
1133 yyout = stdout;
1134
1135 if ( ! YY_CURRENT_BUFFER ) {
1139 }
1140
1142 }
1143
1144 {
1145#line 102 "postproc.lex"
1146
1147
1148#line 1147 "postproc.c"
1149
1150 while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
1151 {
1152 yy_cp = (yy_c_buf_p);
1153
1154 /* Support of yytext. */
1155 *yy_cp = (yy_hold_char);
1156
1157 /* yy_bp points to the position in yy_ch_buf of the start of
1158 * the current run.
1159 */
1160 yy_bp = yy_cp;
1161
1164
1167
1168yy_match:
1169 do
1170 {
1173 {
1175 if ( yy_current_state >= 114 )
1176 yy_c = yy_meta[yy_c];
1177 }
1180 ++yy_cp;
1181 }
1182 while ( yy_base[yy_current_state] != 261 );
1183
1187
1188find_rule: /* we branch to this label when backing up */
1189
1190 for ( ; ; ) /* until we find what rule we matched */
1191 {
1192 if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
1193 {
1194 yy_act = yy_acclist[(yy_lp)];
1195 {
1196 (yy_full_match) = yy_cp;
1197 break;
1198 }
1199 }
1200 --yy_cp;
1203 }
1204
1206
1207do_action: /* This label is used only to access EOF actions. */
1208
1209 switch ( yy_act )
1210 { /* beginning of action switch */
1211case 1:
1213#line 104 "postproc.lex"
1214{ comment(); }
1215 YY_BREAK
1216case 2:
1218#line 105 "postproc.lex"
1219{ ECHO; /* consume //-comment */ }
1220 YY_BREAK
1221case 3:
1222*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
1223(yy_c_buf_p) = yy_cp -= 1;
1224YY_DO_BEFORE_ACTION; /* set up yytext again */
1226#line 107 "postproc.lex"
1227{
1228 char * s = strstr (yytext, "autolink"); space (s);
1229 if (!autolink) {
1230 autolink = malloc (strlen(s) + 1);
1231 autolink[0] = '\0';
1232 }
1233 else
1235 strcat (autolink, s);
1236}
1237 YY_BREAK
1238case 4:
1240#line 118 "postproc.lex"
1241{
1242 /* replace # 3 "machin.h" 2 4 with #line 3 "machin.h" */
1243 char * s = strchr(yytext, '#') + 1;
1244 line = atoi(s);
1245 if (!indef) {
1246 fputs ("#line", yyout);
1247 char * s1 = strchr(s, '"');
1248 s1 = strchr(s1 + 1, '"');
1249 *(s1 + 1) = '\0';
1250 fputs (s, yyout);
1251 }
1252}
1253 YY_BREAK
1254case 5:
1256#line 131 "postproc.lex"
1257{
1258 /* replace @def ... @ with #define ... \\ */
1259 fputs ("#define", yyout);
1260 fputs (strstr (yytext, "def") + 3, yyout);
1261 indef = 1;
1262}
1263 YY_BREAK
1264case 6:
1266#line 138 "postproc.lex"
1267{
1268 yytext = strchr(yytext, '@'); yytext++;
1269 char * s = strstr (yytext, "Pragma("); *s++ = '\0';
1270 fprintf (yyout, "#%s", yytext);
1271 fputs ("_Pragma(", yyout);
1272 register int oldc = 0, c;
1273 for (;;) {
1274 while ((c = getput()) != '\n' && c != EOF)
1275 oldc = c; /* eat up text of preproc */
1276 if (c == EOF || oldc != '\\')
1277 break;
1278 }
1279}
1280 YY_BREAK
1281case 7:
1283#line 152 "postproc.lex"
1284{
1285 if (indef) {
1286 indef = 0;
1287 fprintf (yyout, "\n#line %d\n", line - 1);
1288 }
1289 else
1290 REJECT;
1291}
1292 YY_BREAK
1293case 8:
1295#line 161 "postproc.lex"
1296{
1297 /* replace @define etc. with #define etc. */
1298 *strchr(yytext, '@') = '#'; ECHO;
1299}
1300 YY_BREAK
1301case 9:
1303#line 166 "postproc.lex"
1304{
1305 fputs ("__FILE__", yyout);
1306}
1307 YY_BREAK
1308case 10:
1310#line 170 "postproc.lex"
1311{
1312 fputs (nolineno ? "0" : "__LINE__", yyout);
1313}
1314 YY_BREAK
1315case 11:
1317#line 174 "postproc.lex"
1318{
1319 fputs ("__VA_ARGS__", yyout);
1320}
1321 YY_BREAK
1322case 12:
1324#line 178 "postproc.lex"
1325{ ECHO; }
1326 YY_BREAK
1327case 13:
1328/* rule 13 can match eol */
1330#line 179 "postproc.lex"
1331{
1332 if (indef)
1333 fputs ("\\\n", yyout);
1334 else
1335 ECHO;
1336}
1337 YY_BREAK
1338case 14:
1340#line 185 "postproc.lex"
1341{ ECHO; }
1342 YY_BREAK
1343case 15:
1345#line 187 "postproc.lex"
1346ECHO;
1347 YY_BREAK
1348#line 1347 "postproc.c"
1349 case YY_STATE_EOF(INITIAL):
1350 yyterminate();
1351
1352 case YY_END_OF_BUFFER:
1353 {
1354 /* Amount of text matched not including the EOB char. */
1356
1357 /* Undo the effects of YY_DO_BEFORE_ACTION. */
1358 *yy_cp = (yy_hold_char);
1360
1361 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1362 {
1363 /* We're scanning a new file or input source. It's
1364 * possible that this happened because the user
1365 * just pointed yyin at a new source and called
1366 * yylex(). If so, then we have to assure
1367 * consistency between YY_CURRENT_BUFFER and our
1368 * globals. Here is the right place to do so, because
1369 * this is the first action (other than possibly a
1370 * back-up) that will match for the new input source.
1371 */
1372 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1373 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1374 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1375 }
1376
1377 /* Note that here we test for yy_c_buf_p "<=" to the position
1378 * of the first EOB in the buffer, since yy_c_buf_p will
1379 * already have been incremented past the NUL character
1380 * (since all states make transitions on EOB to the
1381 * end-of-buffer state). Contrast this with the test
1382 * in input().
1383 */
1384 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1385 { /* This was really a NUL. */
1387
1389
1391
1392 /* Okay, we're now positioned to make the NUL
1393 * transition. We couldn't have
1394 * yy_get_previous_state() go ahead and do it
1395 * for us because it doesn't know how to deal
1396 * with the possibility of jamming (and we don't
1397 * want to build jamming into it because then it
1398 * will run more slowly).
1399 */
1400
1402
1404
1405 if ( yy_next_state )
1406 {
1407 /* Consume the NUL. */
1408 yy_cp = ++(yy_c_buf_p);
1410 goto yy_match;
1411 }
1412
1413 else
1414 {
1415 yy_cp = (yy_c_buf_p);
1416 goto yy_find_action;
1417 }
1418 }
1419
1420 else switch ( yy_get_next_buffer( ) )
1421 {
1423 {
1425
1426 if ( yywrap( ) )
1427 {
1428 /* Note: because we've taken care in
1429 * yy_get_next_buffer() to have set up
1430 * yytext, we can now set up
1431 * yy_c_buf_p so that if some total
1432 * hoser (like flex itself) wants to
1433 * call the scanner after we return the
1434 * YY_NULL, it'll still work - another
1435 * YY_NULL will get returned.
1436 */
1438
1440 goto do_action;
1441 }
1442
1443 else
1444 {
1447 }
1448 break;
1449 }
1450
1452 (yy_c_buf_p) =
1454
1456
1457 yy_cp = (yy_c_buf_p);
1459 goto yy_match;
1460
1461 case EOB_ACT_LAST_MATCH:
1462 (yy_c_buf_p) =
1463 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1464
1466
1467 yy_cp = (yy_c_buf_p);
1469 goto yy_find_action;
1470 }
1471 break;
1472 }
1473
1474 default:
1476 "fatal flex scanner internal error--no action found" );
1477 } /* end of action switch */
1478 } /* end of scanning one token */
1479 } /* end of user's declarations */
1480} /* end of yylex */
1481
1482/* yy_get_next_buffer - try to read in a new buffer
1483 *
1484 * Returns a code representing an action:
1485 * EOB_ACT_LAST_MATCH -
1486 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1487 * EOB_ACT_END_OF_FILE - end of file
1488 */
1489static int yy_get_next_buffer (void)
1490{
1491 char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1492 char *source = (yytext_ptr);
1493 int number_to_move, i;
1494 int ret_val;
1495
1496 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1498 "fatal flex scanner internal error--end of buffer missed" );
1499
1500 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1501 { /* Don't try to fill the buffer, so this is an EOF. */
1502 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1503 {
1504 /* We matched a single character, the EOB, so
1505 * treat this as a final EOF.
1506 */
1507 return EOB_ACT_END_OF_FILE;
1508 }
1509
1510 else
1511 {
1512 /* We matched some text prior to the EOB, first
1513 * process it.
1514 */
1515 return EOB_ACT_LAST_MATCH;
1516 }
1517 }
1518
1519 /* Try to read more data. */
1520
1521 /* First move last chars to start of buffer. */
1522 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
1523
1524 for ( i = 0; i < number_to_move; ++i )
1525 *(dest++) = *(source++);
1526
1527 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1528 /* don't do the read, it's not guaranteed to return an EOF,
1529 * just force an EOF
1530 */
1531 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1532
1533 else
1534 {
1535 int num_to_read =
1536 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1537
1538 while ( num_to_read <= 0 )
1539 { /* Not enough room in the buffer - grow it. */
1540
1542"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
1543
1544 }
1545
1548
1549 /* Read in more data. */
1552
1553 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1554 }
1555
1556 if ( (yy_n_chars) == 0 )
1557 {
1558 if ( number_to_move == YY_MORE_ADJ )
1559 {
1561 yyrestart( yyin );
1562 }
1563
1564 else
1565 {
1567 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1569 }
1570 }
1571
1572 else
1574
1575 if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1576 /* Extend the array by 50%, plus the number we really need. */
1577 int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1578 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
1579 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
1580 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1581 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1582 /* "- 2" to take care of EOB's */
1583 YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
1584 }
1585
1589
1590 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1591
1592 return ret_val;
1593}
1594
1595/* yy_get_previous_state - get the state just before the EOB char was reached */
1596
1598{
1600 char *yy_cp;
1601
1604
1607
1608 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1609 {
1610 YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1612 {
1614 if ( yy_current_state >= 114 )
1615 yy_c = yy_meta[yy_c];
1616 }
1619 }
1620
1621 return yy_current_state;
1622}
1623
1624/* yy_try_NUL_trans - try to make a transition on the NUL character
1625 *
1626 * synopsis
1627 * next_state = yy_try_NUL_trans( current_state );
1628 */
1630{
1631 int yy_is_jam;
1632
1633 YY_CHAR yy_c = 1;
1635 {
1637 if ( yy_current_state >= 114 )
1638 yy_c = yy_meta[yy_c];
1639 }
1641 yy_is_jam = (yy_current_state == 113);
1642 if ( ! yy_is_jam )
1644
1645 return yy_is_jam ? 0 : yy_current_state;
1646}
1647
1648#ifndef YY_NO_UNPUT
1649
1650 static void yyunput (int c, char * yy_bp )
1651{
1652 char *yy_cp;
1653
1654 yy_cp = (yy_c_buf_p);
1655
1656 /* undo effects of setting up yytext */
1657 *yy_cp = (yy_hold_char);
1658
1659 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1660 { /* need to shift things up to make room */
1661 /* +2 for EOB chars. */
1662 int number_to_move = (yy_n_chars) + 2;
1663 char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
1664 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
1665 char *source =
1667
1668 while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1669 *--dest = *--source;
1670
1671 yy_cp += (int) (dest - source);
1672 yy_bp += (int) (dest - source);
1673 YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
1674 (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
1675
1676 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1677 YY_FATAL_ERROR( "flex scanner push-back overflow" );
1678 }
1679
1680 *--yy_cp = (char) c;
1681
1682 (yytext_ptr) = yy_bp;
1683 (yy_hold_char) = *yy_cp;
1684 (yy_c_buf_p) = yy_cp;
1685}
1686
1687#endif
1688
1689#ifndef YY_NO_INPUT
1690#ifdef __cplusplus
1691 static int yyinput (void)
1692#else
1693 static int input (void)
1694#endif
1695
1696{
1697 int c;
1698
1699 *(yy_c_buf_p) = (yy_hold_char);
1700
1702 {
1703 /* yy_c_buf_p now points to the character we want to return.
1704 * If this occurs *before* the EOB characters, then it's a
1705 * valid NUL; if not, then we've hit the end of the buffer.
1706 */
1707 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1708 /* This was really a NUL. */
1709 *(yy_c_buf_p) = '\0';
1710
1711 else
1712 { /* need more input */
1713 int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
1714 ++(yy_c_buf_p);
1715
1716 switch ( yy_get_next_buffer( ) )
1717 {
1718 case EOB_ACT_LAST_MATCH:
1719 /* This happens because yy_g_n_b()
1720 * sees that we've accumulated a
1721 * token and flags that we need to
1722 * try matching the token before
1723 * proceeding. But for input(),
1724 * there's no matching to consider.
1725 * So convert the EOB_ACT_LAST_MATCH
1726 * to EOB_ACT_END_OF_FILE.
1727 */
1728
1729 /* Reset buffer status. */
1730 yyrestart( yyin );
1731
1732 /*FALLTHROUGH*/
1733
1735 {
1736 if ( yywrap( ) )
1737 return 0;
1738
1741#ifdef __cplusplus
1742 return yyinput();
1743#else
1744 return input();
1745#endif
1746 }
1747
1749 (yy_c_buf_p) = (yytext_ptr) + offset;
1750 break;
1751 }
1752 }
1753 }
1754
1755 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
1756 *(yy_c_buf_p) = '\0'; /* preserve yytext */
1757 (yy_hold_char) = *++(yy_c_buf_p);
1758
1759 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
1760
1761 return c;
1762}
1763#endif /* ifndef YY_NO_INPUT */
1764
1765/** Immediately switch to a different input stream.
1766 * @param input_file A readable stream.
1767 *
1768 * @note This function does not reset the start condition to @c INITIAL .
1769 */
1782
1783/** Switch to a different input buffer.
1784 * @param new_buffer The new input buffer.
1785 *
1786 */
1788{
1789
1790 /* TODO. We should be able to replace this entire function body
1791 * with
1792 * yypop_buffer_state();
1793 * yypush_buffer_state(new_buffer);
1794 */
1797 return;
1798
1799 if ( YY_CURRENT_BUFFER )
1800 {
1801 /* Flush out information for old buffer. */
1802 *(yy_c_buf_p) = (yy_hold_char);
1803 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1804 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1805 }
1806
1809
1810 /* We don't actually know whether we did this switch during
1811 * EOF (yywrap()) processing, but the only time this flag
1812 * is looked at is after yywrap() is called, so it's safe
1813 * to go ahead and always set it.
1814 */
1816}
1817
1818static void yy_load_buffer_state (void)
1819{
1820 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1822 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1823 (yy_hold_char) = *(yy_c_buf_p);
1824}
1825
1826/** Allocate and initialize an input buffer state.
1827 * @param file A readable stream.
1828 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1829 *
1830 * @return the allocated buffer state.
1831 */
1833{
1835
1836 b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
1837 if ( ! b )
1838 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1839
1840 b->yy_buf_size = size;
1841
1842 /* yy_ch_buf has to be 2 characters longer than the size given because
1843 * we need to put in 2 end-of-buffer characters.
1844 */
1845 b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
1846 if ( ! b->yy_ch_buf )
1847 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1848
1849 b->yy_is_our_buffer = 1;
1850
1851 yy_init_buffer( b, file );
1852
1853 return b;
1854}
1855
1856/** Destroy the buffer.
1857 * @param b a buffer created with yy_create_buffer()
1858 *
1859 */
1861{
1862
1863 if ( ! b )
1864 return;
1865
1866 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1868
1869 if ( b->yy_is_our_buffer )
1870 yyfree( (void *) b->yy_ch_buf );
1871
1872 yyfree( (void *) b );
1873}
1874
1875/* Initializes or reinitializes a buffer.
1876 * This function is sometimes called more than once on the same buffer,
1877 * such as during a yyrestart() or at EOF.
1878 */
1880
1881{
1882 int oerrno = errno;
1883
1884 yy_flush_buffer( b );
1885
1886 b->yy_input_file = file;
1887 b->yy_fill_buffer = 1;
1888
1889 /* If b is the current buffer, then yy_init_buffer was _probably_
1890 * called from yyrestart() or through yy_get_next_buffer.
1891 * In that case, we don't want to reset the lineno or column.
1892 */
1893 if (b != YY_CURRENT_BUFFER){
1894 b->yy_bs_lineno = 1;
1895 b->yy_bs_column = 0;
1896 }
1897
1898 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1899
1900 errno = oerrno;
1901}
1902
1903/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1904 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1905 *
1906 */
1908{
1909 if ( ! b )
1910 return;
1911
1912 b->yy_n_chars = 0;
1913
1914 /* We always need two end-of-buffer characters. The first causes
1915 * a transition to the end-of-buffer state. The second causes
1916 * a jam in that state.
1917 */
1918 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
1919 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1920
1921 b->yy_buf_pos = &b->yy_ch_buf[0];
1922
1923 b->yy_at_bol = 1;
1924 b->yy_buffer_status = YY_BUFFER_NEW;
1925
1926 if ( b == YY_CURRENT_BUFFER )
1928}
1929
1930/** Pushes the new state onto the stack. The new state becomes
1931 * the current state. This function will allocate the stack
1932 * if necessary.
1933 * @param new_buffer The new state.
1934 *
1935 */
1937{
1938 if (new_buffer == NULL)
1939 return;
1940
1942
1943 /* This block is copied from yy_switch_to_buffer. */
1944 if ( YY_CURRENT_BUFFER )
1945 {
1946 /* Flush out information for old buffer. */
1947 *(yy_c_buf_p) = (yy_hold_char);
1948 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1949 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1950 }
1951
1952 /* Only push if top exists. Otherwise, replace top. */
1956
1957 /* copied from yy_switch_to_buffer. */
1960}
1961
1962/** Removes and deletes the top of the stack, if present.
1963 * The next element becomes the new top.
1964 *
1965 */
1967{
1968 if (!YY_CURRENT_BUFFER)
1969 return;
1970
1973 if ((yy_buffer_stack_top) > 0)
1975
1976 if (YY_CURRENT_BUFFER) {
1979 }
1980}
1981
1982/* Allocates the stack if it does not exist.
1983 * Guarantees space for at least one push.
1984 */
1985static void yyensure_buffer_stack (void)
1986{
1988
1989 if (!(yy_buffer_stack)) {
1990
1991 /* First allocation is just for 2 elements, since we don't know if this
1992 * scanner will even need a stack. We use 2 instead of 1 to avoid an
1993 * immediate realloc on the next call.
1994 */
1995 num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
1997 (num_to_alloc * sizeof(struct yy_buffer_state*)
1998 );
1999 if ( ! (yy_buffer_stack) )
2000 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2001
2002 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2003
2005 (yy_buffer_stack_top) = 0;
2006 return;
2007 }
2008
2009 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
2010
2011 /* Increase the buffer to prepare for a possible push. */
2012 yy_size_t grow_size = 8 /* arbitrary grow size */;
2013
2016 ((yy_buffer_stack),
2017 num_to_alloc * sizeof(struct yy_buffer_state*)
2018 );
2019 if ( ! (yy_buffer_stack) )
2020 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2021
2022 /* zero only the new slots.*/
2025 }
2026}
2027
2028/** Setup the input buffer state to scan directly from a user-specified character buffer.
2029 * @param base the character buffer
2030 * @param size the size in bytes of the character buffer
2031 *
2032 * @return the newly allocated buffer state object.
2033 */
2035{
2037
2038 if ( size < 2 ||
2041 /* They forgot to leave room for the EOB's. */
2042 return NULL;
2043
2044 b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
2045 if ( ! b )
2046 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2047
2048 b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
2049 b->yy_buf_pos = b->yy_ch_buf = base;
2050 b->yy_is_our_buffer = 0;
2051 b->yy_input_file = NULL;
2052 b->yy_n_chars = b->yy_buf_size;
2053 b->yy_is_interactive = 0;
2054 b->yy_at_bol = 1;
2055 b->yy_fill_buffer = 0;
2056 b->yy_buffer_status = YY_BUFFER_NEW;
2057
2059
2060 return b;
2061}
2062
2063/** Setup the input buffer state to scan a string. The next call to yylex() will
2064 * scan from a @e copy of @a str.
2065 * @param yystr a NUL-terminated string to scan
2066 *
2067 * @return the newly allocated buffer state object.
2068 * @note If you want to scan bytes that may contain NUL values, then use
2069 * yy_scan_bytes() instead.
2070 */
2072{
2073
2074 return yy_scan_bytes( yystr, (int) strlen(yystr) );
2075}
2076
2077/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
2078 * scan from a @e copy of @a bytes.
2079 * @param yybytes the byte buffer to scan
2080 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
2081 *
2082 * @return the newly allocated buffer state object.
2083 */
2085{
2087 char *buf;
2088 yy_size_t n;
2089 int i;
2090
2091 /* Get memory for full buffer, including space for trailing EOB's. */
2092 n = (yy_size_t) (_yybytes_len + 2);
2093 buf = (char *) yyalloc( n );
2094 if ( ! buf )
2095 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2096
2097 for ( i = 0; i < _yybytes_len; ++i )
2098 buf[i] = yybytes[i];
2099
2101
2102 b = yy_scan_buffer( buf, n );
2103 if ( ! b )
2104 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2105
2106 /* It's okay to grow etc. this buffer, and we should throw it
2107 * away when we're done.
2108 */
2109 b->yy_is_our_buffer = 1;
2110
2111 return b;
2112}
2113
2114#ifndef YY_EXIT_FAILURE
2115#define YY_EXIT_FAILURE 2
2116#endif
2117
2118static void yynoreturn yy_fatal_error (const char* msg )
2119{
2120 fprintf( stderr, "%s\n", msg );
2122}
2123
2124/* Redefine yyless() so it works in section 3 code. */
2125
2126#undef yyless
2127#define yyless(n) \
2128 do \
2129 { \
2130 /* Undo effects of setting up yytext. */ \
2131 int yyless_macro_arg = (n); \
2132 YY_LESS_LINENO(yyless_macro_arg);\
2133 yytext[yyleng] = (yy_hold_char); \
2134 (yy_c_buf_p) = yytext + yyless_macro_arg; \
2135 (yy_hold_char) = *(yy_c_buf_p); \
2136 *(yy_c_buf_p) = '\0'; \
2137 yyleng = yyless_macro_arg; \
2138 } \
2139 while ( 0 )
2140
2141/* Accessor methods (get/set functions) to struct members. */
2142
2143/** Get the current line number.
2144 *
2145 */
2147{
2148
2149 return yylineno;
2150}
2151
2152/** Get the input stream.
2153 *
2154 */
2156{
2157 return yyin;
2158}
2159
2160/** Get the output stream.
2161 *
2162 */
2164{
2165 return yyout;
2166}
2167
2168/** Get the length of the current token.
2169 *
2170 */
2171int yyget_leng (void)
2172{
2173 return yyleng;
2174}
2175
2176/** Get the current token.
2177 *
2178 */
2179
2180char *yyget_text (void)
2181{
2182 return yytext;
2183}
2184
2185/** Set the current line number.
2186 * @param _line_number line number
2187 *
2188 */
2190{
2191
2193}
2194
2195/** Set the input stream. This does not discard the current
2196 * input buffer.
2197 * @param _in_str A readable stream.
2198 *
2199 * @see yy_switch_to_buffer
2200 */
2202{
2203 yyin = _in_str ;
2204}
2205
2207{
2208 yyout = _out_str ;
2209}
2210
2211int yyget_debug (void)
2212{
2213 return yy_flex_debug;
2214}
2215
2217{
2219}
2220
2221static int yy_init_globals (void)
2222{
2223 /* Initialization is the same as for the non-reentrant scanner.
2224 * This function is called from yylex_destroy(), so don't allocate here.
2225 */
2226
2228 (yy_buffer_stack_top) = 0;
2229 (yy_buffer_stack_max) = 0;
2230 (yy_c_buf_p) = NULL;
2231 (yy_init) = 0;
2232 (yy_start) = 0;
2233
2234 (yy_state_buf) = 0;
2235 (yy_state_ptr) = 0;
2236 (yy_full_match) = 0;
2237 (yy_lp) = 0;
2238
2239/* Defined in main.c */
2240#ifdef YY_STDINIT
2241 yyin = stdin;
2242 yyout = stdout;
2243#else
2244 yyin = NULL;
2245 yyout = NULL;
2246#endif
2247
2248 /* For future reference: Set errno on error, since we are called by
2249 * yylex_init()
2250 */
2251 return 0;
2252}
2253
2254/* yylex_destroy is for both reentrant and non-reentrant scanners. */
2256{
2257
2258 /* Pop the buffer stack, destroying each element. */
2259 while(YY_CURRENT_BUFFER){
2263 }
2264
2265 /* Destroy the stack itself. */
2268
2269 yyfree ( (yy_state_buf) );
2270 (yy_state_buf) = NULL;
2271
2272 /* Reset the globals. This is important in a non-reentrant scanner so the next time
2273 * yylex() is called, initialization will occur. */
2274 yy_init_globals( );
2275
2276 return 0;
2277}
2278
2279/*
2280 * Internal utility routines.
2281 */
2282
2283#ifndef yytext_ptr
2284static void yy_flex_strncpy (char* s1, const char * s2, int n )
2285{
2286
2287 int i;
2288 for ( i = 0; i < n; ++i )
2289 s1[i] = s2[i];
2290}
2291#endif
2292
2293#ifdef YY_NEED_STRLEN
2294static int yy_flex_strlen (const char * s )
2295{
2296 int n;
2297 for ( n = 0; s[n]; ++n )
2298 ;
2299
2300 return n;
2301}
2302#endif
2303
2305{
2306 return malloc(size);
2307}
2308
2309void *yyrealloc (void * ptr, yy_size_t size )
2310{
2311
2312 /* The cast to (char *) in the following accommodates both
2313 * implementations that use char* generic pointers, and those
2314 * that use void* generic pointers. It works with the latter
2315 * because both ANSI C and C++ allow castless assignment from
2316 * any pointer type to void*, and deal with argument conversions
2317 * as though doing an assignment.
2318 */
2319 return realloc(ptr, size);
2320}
2321
2322void yyfree (void * ptr )
2323{
2324 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
2325}
2326
2327#define YYTABLES_NAME "yytables"
2328
2329#line 187 "postproc.lex"
2330
2331
2332int postproc (FILE * fin, FILE * fout, char ** autolink1, int _nolineno)
2333{
2334 if (0) yyunput (0, NULL); // just prevents 'yyunput unused' compiler warning
2335 yyin = fin;
2336 yyout = fout;
2337 line = 1;
2338 indef = 0;
2340 int status = yylex();
2342 return status;
2343}
2344
free(list1)
int x
Definition common.h:76
define sysmalloc malloc define syscalloc calloc define sysrealloc realloc define sysfree free define systrdup strdup define file
Definition config.h:120
define sysmalloc malloc define syscalloc calloc define sysrealloc realloc define sysfree free define systrdup strdup define line line realloc(p, s) @ define pfree(p
else return n
Definition curvature.h:101
scalar s
Definition embed-tree.h:56
double d[2]
Definition embed.h:383
scalar int i
Definition embed.h:74
unsigned char flex_uint8_t
Definition errors.c:315
short int flex_int16_t
Definition errors.c:313
int flex_int32_t
Definition errors.c:314
int yy_state_type
Definition errors.c:613
flex_uint8_t YY_CHAR
Definition errors.c:609
size_t yy_size_t
Definition errors.c:416
static int
Definition include.c:978
size_t size
size *double * b
size *double * buf
static const flex_int16_t yy_accept[115]
Definition postproc.c:637
#define yy_load_buffer_state
Definition postproc.c:18
#define YY_NEW_FILE
Definition postproc.c:389
#define yyset_extra
Definition postproc.c:167
#define yytext
Definition postproc.c:30
unsigned char flex_uint8_t
Definition postproc.c:315
#define yyset_lineno
Definition postproc.c:215
static char yy_hold_char
Definition postproc.c:530
static int input(void)
Definition postproc.c:1693
static void comment(void)
Definition postproc.c:830
#define yyrestart
Definition postproc.c:29
int getput(void)
Definition postproc.c:848
#define yyset_debug
Definition postproc.c:155
static void yyunput(int c, char *buf_ptr)
Definition postproc.c:1650
#define YY_EXTRA_TYPE
Definition postproc.c:932
static int yy_start
Definition postproc.c:537
short int flex_int16_t
Definition postproc.c:313
#define yy_flex_debug
Definition postproc.c:23
#define yyget_out
Definition postproc.c:185
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
Definition postproc.c:513
unsigned int flex_uint32_t
Definition postproc.c:317
static int yy_get_next_buffer(void)
Definition postproc.c:1489
#define yy_scan_bytes
Definition postproc.c:15
#define YY_BREAK
Definition postproc.c:1095
static int line
Definition postproc.c:855
static int indef
Definition postproc.c:855
static size_t yy_buffer_stack_max
capacity of stack.
Definition postproc.c:512
#define yynoreturn
Definition postproc.c:364
static yy_state_type yy_try_NUL_trans(yy_state_type current_state)
Definition postproc.c:1629
#define yyget_debug
Definition postproc.c:149
#define yypush_buffer_state
Definition postproc.c:20
static yy_state_type * yy_state_ptr
Definition postproc.c:810
static const flex_int16_t yy_nxt[307]
Definition postproc.c:731
struct yy_buffer_state * YY_BUFFER_STATE
Definition postproc.c:411
#define yyfree
Definition postproc.c:34
#define yyout
Definition postproc.c:28
#define YY_BUFFER_NEW
Definition postproc.c:493
#define yyget_lineno
Definition postproc.c:209
#define yylex
Definition postproc.c:26
#define YY_RESTORE_YY_MORE_OFFSET
Definition postproc.c:823
static int yy_did_buffer_switch_on_eof
Definition postproc.c:542
static int yy_init_globals(void)
Definition postproc.c:2221
#define yywrap
Definition postproc.c:31
static char * yy_full_match
Definition postproc.c:811
#define yyget_text
Definition postproc.c:203
#define YY_BUFFER_NORMAL
Definition postproc.c:494
static const flex_int16_t yy_def[126]
Definition postproc.c:713
#define yyensure_buffer_stack
Definition postproc.c:22
int postproc(FILE *fin, FILE *fout, char **autolink1, int _nolineno)
Definition postproc.c:2332
#define yy_scan_buffer
Definition postproc.c:13
#define YY_MORE_ADJ
Definition postproc.c:822
#define YY_RULE_SETUP
Definition postproc.c:1098
#define yy_scan_string
Definition postproc.c:14
static int nolineno
Definition postproc.c:855
#define YY_AT_BOL()
Definition postproc.c:584
#define yytext_ptr
Definition postproc.c:603
signed char flex_int8_t
Definition postproc.c:312
#define yyget_leng
Definition postproc.c:197
#define EOB_ACT_END_OF_FILE
Definition postproc.c:424
static int input0(FILE *postin)
Definition postproc.c:861
#define yyalloc
Definition postproc.c:32
static void yy_fatal_error(const char *msg)
Definition postproc.c:2118
#define yypop_buffer_state
Definition postproc.c:21
static const YY_CHAR yy_meta[46]
Definition postproc.c:686
#define YY_CURRENT_BUFFER_LVALUE
Definition postproc.c:527
#define REJECT
Definition postproc.c:813
int flex_int32_t
Definition postproc.c:314
#define yylex_destroy
Definition postproc.c:143
#define space(s)
Definition postproc.c:859
#define YY_START
Definition postproc.c:384
#define yy_switch_to_buffer
Definition postproc.c:19
int yy_state_type
Definition postproc.c:594
static yy_state_type * yy_state_buf
Definition postproc.c:810
#define YY_CURRENT_BUFFER
Definition postproc.c:521
#define yy_init_buffer
Definition postproc.c:16
#define INITIAL
Definition postproc.c:921
#define yyget_extra
Definition postproc.c:161
#define yyin
Definition postproc.c:24
static int yy_n_chars
Definition postproc.c:531
#define YY_READ_BUF_SIZE
Definition postproc.c:1007
static int yy_lp
Definition postproc.c:812
#define YY_INPUT(buf, result, max_size)
Definition postproc.c:912
#define ECHO
Definition postproc.c:1016
static const flex_int16_t yy_base[126]
Definition postproc.c:695
#define yy_flush_buffer
Definition postproc.c:17
static char * autolink
Definition postproc.c:856
static const flex_int16_t yy_chk[307]
Definition postproc.c:769
#define yyrealloc
Definition postproc.c:33
#define YY_END_OF_BUFFER
Definition postproc.c:620
#define YY_STATE_EOF(state)
Definition postproc.c:387
#define YY_END_OF_BUFFER_CHAR
Definition postproc.c:390
#define YY_FATAL_ERROR(msg)
Definition postproc.c:1070
#define YY_STATE_BUF_SIZE
Definition postproc.c:407
#define yyterminate()
Definition postproc.c:1060
unsigned short int flex_uint16_t
Definition postproc.c:316
#define yy_create_buffer
Definition postproc.c:11
flex_uint8_t YY_CHAR
Definition postproc.c:590
#define YY_DO_BEFORE_ACTION
Definition postproc.c:613
#define yy_delete_buffer
Definition postproc.c:12
#define EOB_ACT_LAST_MATCH
Definition postproc.c:425
#define yyget_in
Definition postproc.c:173
size_t yy_size_t
Definition postproc.c:416
#define YY_BUFFER_EOF_PENDING
Definition postproc.c:505
#define yylineno
Definition postproc.c:27
static yy_state_type yy_get_previous_state(void)
Definition postproc.c:1597
static const YY_CHAR yy_ec[256]
Definition postproc.c:654
#define yyset_out
Definition postproc.c:191
static char * yy_c_buf_p
Definition postproc.c:535
#define EOB_ACT_CONTINUE_SCAN
Definition postproc.c:423
static size_t yy_buffer_stack_top
index of top of stack.
Definition postproc.c:511
#define YY_DECL
Definition postproc.c:1083
#define YY_BUF_SIZE
Definition postproc.c:401
#define YY_EXIT_FAILURE
Definition postproc.c:2115
static int yy_init
Definition postproc.c:536
#define YY_SC_TO_UI(c)
Definition postproc.c:373
#define yyleng
Definition postproc.c:25
#define yyset_in
Definition postproc.c:179
static const flex_int16_t yy_acclist[48]
Definition postproc.c:628
int source
Definition qcc.c:67
char * yy_ch_buf
Definition errors.c:470
int yy_bs_column
The column count.
Definition errors.c:503
FILE * yy_input_file
Definition errors.c:468
int yy_fill_buffer
Definition errors.c:508
int yy_buffer_status
Definition errors.c:510
int yy_is_our_buffer
Definition errors.c:487
int yy_bs_lineno
The line count.
Definition errors.c:502
char * yy_buf_pos
Definition errors.c:471
int yy_is_interactive
Definition errors.c:494
flex_int32_t yy_verify
Definition errors.c:644
flex_int32_t yy_nxt
Definition errors.c:645
scalar c
Definition vof.h:57