1184054Slulf#ifndef rcsHEADER_H
2184054Slulf#define rcsHEADER_H 1
3184054Slulf#define rcsIN_HEADER 1
4184054Slulf
5184054Slulf#line 6 "rcstokenizer.h"
6184054Slulf
7184054Slulf#define  YY_INT_ALIGNED short int
8184054Slulf
9184054Slulf/* A lexical scanner generated by flex */
10184054Slulf
11184054Slulf#define FLEX_SCANNER
12184054Slulf#define YY_FLEX_MAJOR_VERSION 2
13184054Slulf#define YY_FLEX_MINOR_VERSION 5
14184054Slulf#define YY_FLEX_SUBMINOR_VERSION 35
15184054Slulf#if YY_FLEX_SUBMINOR_VERSION > 0
16184054Slulf#define FLEX_BETA
17184054Slulf#endif
18184054Slulf
19184054Slulf/* First, we deal with  platform-specific or compiler-specific issues. */
20184054Slulf
21184054Slulf/* begin standard C headers. */
22184054Slulf#include <stdio.h>
23184054Slulf#include <string.h>
24184054Slulf#include <errno.h>
25184054Slulf#include <stdlib.h>
26184054Slulf
27184054Slulf/* end standard C headers. */
28184054Slulf
29184054Slulf/* flex integer type definitions */
30184054Slulf
31184054Slulf#ifndef FLEXINT_H
32184054Slulf#define FLEXINT_H
33184054Slulf
34184054Slulf/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
35184054Slulf
36184054Slulf#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
37184054Slulf
38184054Slulf/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
39184054Slulf * if you want the limit (max/min) macros for int types.
40184054Slulf */
41184054Slulf#ifndef __STDC_LIMIT_MACROS
42184054Slulf#define __STDC_LIMIT_MACROS 1
43184054Slulf#endif
44184054Slulf
45184054Slulf#include <inttypes.h>
46184054Slulftypedef int8_t flex_int8_t;
47184054Slulftypedef uint8_t flex_uint8_t;
48184054Slulftypedef int16_t flex_int16_t;
49184054Slulftypedef uint16_t flex_uint16_t;
50184054Slulftypedef int32_t flex_int32_t;
51184054Slulftypedef uint32_t flex_uint32_t;
52184054Slulf#else
53184054Slulftypedef signed char flex_int8_t;
54184054Slulftypedef short int flex_int16_t;
55184054Slulftypedef int flex_int32_t;
56184054Slulftypedef unsigned char flex_uint8_t;
57184054Slulftypedef unsigned short int flex_uint16_t;
58184054Slulftypedef unsigned int flex_uint32_t;
59184054Slulf#endif /* ! C99 */
60184054Slulf
61184054Slulf/* Limits of integral types. */
62184054Slulf#ifndef INT8_MIN
63184054Slulf#define INT8_MIN               (-128)
64184054Slulf#endif
65184054Slulf#ifndef INT16_MIN
66184054Slulf#define INT16_MIN              (-32767-1)
67184054Slulf#endif
68184054Slulf#ifndef INT32_MIN
69184054Slulf#define INT32_MIN              (-2147483647-1)
70184054Slulf#endif
71184054Slulf#ifndef INT8_MAX
72184054Slulf#define INT8_MAX               (127)
73184054Slulf#endif
74184054Slulf#ifndef INT16_MAX
75184054Slulf#define INT16_MAX              (32767)
76184054Slulf#endif
77184054Slulf#ifndef INT32_MAX
78184054Slulf#define INT32_MAX              (2147483647)
79184054Slulf#endif
80184054Slulf#ifndef UINT8_MAX
81184054Slulf#define UINT8_MAX              (255U)
82184054Slulf#endif
83184054Slulf#ifndef UINT16_MAX
84184054Slulf#define UINT16_MAX             (65535U)
85184054Slulf#endif
86184054Slulf#ifndef UINT32_MAX
87184054Slulf#define UINT32_MAX             (4294967295U)
88184054Slulf#endif
89184054Slulf
90184054Slulf#endif /* ! FLEXINT_H */
91184054Slulf
92184054Slulf#ifdef __cplusplus
93184054Slulf
94184054Slulf/* The "const" storage-class-modifier is valid. */
95184054Slulf#define YY_USE_CONST
96184054Slulf
97184054Slulf#else	/* ! __cplusplus */
98184054Slulf
99184054Slulf/* C99 requires __STDC__ to be defined as 1. */
100184054Slulf#if defined (__STDC__)
101184054Slulf
102184054Slulf#define YY_USE_CONST
103184054Slulf
104184054Slulf#endif	/* defined (__STDC__) */
105184054Slulf#endif	/* ! __cplusplus */
106184054Slulf
107184054Slulf#ifdef YY_USE_CONST
108184054Slulf#define yyconst const
109184054Slulf#else
110184054Slulf#define yyconst
111184054Slulf#endif
112184054Slulf
113184054Slulf/* An opaque pointer. */
114184054Slulf#ifndef YY_TYPEDEF_YY_SCANNER_T
115184054Slulf#define YY_TYPEDEF_YY_SCANNER_T
116184054Slulftypedef void* yyscan_t;
117184054Slulf#endif
118184054Slulf
119184054Slulf/* For convenience, these vars (plus the bison vars far below)
120184054Slulf   are macros in the reentrant scanner. */
121184054Slulf#define yyin yyg->yyin_r
122184054Slulf#define yyout yyg->yyout_r
123184054Slulf#define yyextra yyg->yyextra_r
124184054Slulf#define yyleng yyg->yyleng_r
125184054Slulf#define yytext yyg->yytext_r
126184054Slulf#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
127184054Slulf#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
128184054Slulf#define yy_flex_debug yyg->yy_flex_debug_r
129184054Slulf
130184054Slulf/* Size of default input buffer. */
131184054Slulf#ifndef YY_BUF_SIZE
132184054Slulf#define YY_BUF_SIZE 16384
133184054Slulf#endif
134184054Slulf
135184054Slulf#ifndef YY_TYPEDEF_YY_BUFFER_STATE
136184054Slulf#define YY_TYPEDEF_YY_BUFFER_STATE
137184054Slulftypedef struct yy_buffer_state *YY_BUFFER_STATE;
138184054Slulf#endif
139184054Slulf
140184054Slulf#ifndef YY_TYPEDEF_YY_SIZE_T
141184054Slulf#define YY_TYPEDEF_YY_SIZE_T
142184054Slulftypedef size_t yy_size_t;
143184054Slulf#endif
144184054Slulf
145184054Slulf#ifndef YY_STRUCT_YY_BUFFER_STATE
146184054Slulf#define YY_STRUCT_YY_BUFFER_STATE
147184054Slulfstruct yy_buffer_state
148184054Slulf	{
149184054Slulf	FILE *yy_input_file;
150184054Slulf
151184054Slulf	char *yy_ch_buf;		/* input buffer */
152184054Slulf	char *yy_buf_pos;		/* current position in input buffer */
153184054Slulf
154184054Slulf	/* Size of input buffer in bytes, not including room for EOB
155184054Slulf	 * characters.
156184054Slulf	 */
157184054Slulf	yy_size_t yy_buf_size;
158184054Slulf
159184054Slulf	/* Number of characters read into yy_ch_buf, not including EOB
160184054Slulf	 * characters.
161184054Slulf	 */
162184054Slulf	int yy_n_chars;
163184054Slulf
164184054Slulf	/* Whether we "own" the buffer - i.e., we know we created it,
165184054Slulf	 * and can realloc() it to grow it, and should free() it to
166184054Slulf	 * delete it.
167184054Slulf	 */
168184054Slulf	int yy_is_our_buffer;
169184054Slulf
170184054Slulf	/* Whether this is an "interactive" input source; if so, and
171184054Slulf	 * if we're using stdio for input, then we want to use getc()
172184054Slulf	 * instead of fread(), to make sure we stop fetching input after
173184054Slulf	 * each newline.
174184054Slulf	 */
175184054Slulf	int yy_is_interactive;
176184054Slulf
177184054Slulf	/* Whether we're considered to be at the beginning of a line.
178184054Slulf	 * If so, '^' rules will be active on the next match, otherwise
179184054Slulf	 * not.
180184054Slulf	 */
181184054Slulf	int yy_at_bol;
182184054Slulf
183184054Slulf    int yy_bs_lineno; /**< The line count. */
184184054Slulf    int yy_bs_column; /**< The column count. */
185184054Slulf
186184054Slulf	/* Whether to try to fill the input buffer when we reach the
187184054Slulf	 * end of it.
188184054Slulf	 */
189184054Slulf	int yy_fill_buffer;
190184054Slulf
191184054Slulf	int yy_buffer_status;
192184054Slulf
193184054Slulf	};
194184054Slulf#endif /* !YY_STRUCT_YY_BUFFER_STATE */
195184054Slulf
196184054Slulfvoid rcsrestart (FILE *input_file ,yyscan_t yyscanner );
197184054Slulfvoid rcs_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
198184054SlulfYY_BUFFER_STATE rcs_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
199184054Slulfvoid rcs_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
200184054Slulfvoid rcs_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
201184054Slulfvoid rcspush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
202184054Slulfvoid rcspop_buffer_state (yyscan_t yyscanner );
203184054Slulf
204184054SlulfYY_BUFFER_STATE rcs_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
205184054SlulfYY_BUFFER_STATE rcs_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
206184054SlulfYY_BUFFER_STATE rcs_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
207184054Slulf
208184054Slulfvoid *rcsalloc (yy_size_t ,yyscan_t yyscanner );
209184054Slulfvoid *rcsrealloc (void *,yy_size_t ,yyscan_t yyscanner );
210184054Slulfvoid rcsfree (void * ,yyscan_t yyscanner );
211184054Slulf
212184054Slulf/* Begin user sect3 */
213184054Slulf
214184054Slulf#define rcswrap(n) 1
215184054Slulf#define YY_SKIP_YYWRAP
216184054Slulf
217184054Slulf#define yytext_ptr yytext_r
218184054Slulf
219184054Slulf#ifdef YY_HEADER_EXPORT_START_CONDITIONS
220184054Slulf#define INITIAL 0
221184054Slulf
222184054Slulf#endif
223184054Slulf
224184054Slulf#ifndef YY_NO_UNISTD_H
225184054Slulf/* Special case for "unistd.h", since it is non-ANSI. We include it way
226184054Slulf * down here because we want the user's section 1 to have been scanned first.
227184054Slulf * The user has a chance to override it with an option.
228184054Slulf */
229184054Slulf#include <unistd.h>
230184054Slulf#endif
231184054Slulf
232184054Slulf#ifndef YY_EXTRA_TYPE
233184054Slulf#define YY_EXTRA_TYPE void *
234184054Slulf#endif
235184054Slulf
236184054Slulfint rcslex_init (yyscan_t* scanner);
237184054Slulf
238184054Slulfint rcslex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
239184054Slulf
240184054Slulf/* Accessor methods to globals.
241184054Slulf   These are made visible to non-reentrant scanners for convenience. */
242184054Slulf
243184054Slulfint rcslex_destroy (yyscan_t yyscanner );
244184054Slulf
245184054Slulfint rcsget_debug (yyscan_t yyscanner );
246184054Slulf
247184054Slulfvoid rcsset_debug (int debug_flag ,yyscan_t yyscanner );
248184054Slulf
249184054SlulfYY_EXTRA_TYPE rcsget_extra (yyscan_t yyscanner );
250184054Slulf
251184054Slulfvoid rcsset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
252184054Slulf
253184054SlulfFILE *rcsget_in (yyscan_t yyscanner );
254184054Slulf
255184054Slulfvoid rcsset_in  (FILE * in_str ,yyscan_t yyscanner );
256184054Slulf
257184054SlulfFILE *rcsget_out (yyscan_t yyscanner );
258184054Slulf
259184054Slulfvoid rcsset_out  (FILE * out_str ,yyscan_t yyscanner );
260184054Slulf
261184054Slulfint rcsget_leng (yyscan_t yyscanner );
262184054Slulf
263184054Slulfchar *rcsget_text (yyscan_t yyscanner );
264184054Slulf
265184054Slulfint rcsget_lineno (yyscan_t yyscanner );
266184054Slulf
267184054Slulfvoid rcsset_lineno (int line_number ,yyscan_t yyscanner );
268184054Slulf
269184054Slulf/* Macros after this point can all be overridden by user definitions in
270184054Slulf * section 1.
271184054Slulf */
272184054Slulf
273184054Slulf#ifndef YY_SKIP_YYWRAP
274184054Slulf#ifdef __cplusplus
275184054Slulfextern "C" int rcswrap (yyscan_t yyscanner );
276184054Slulf#else
277184054Slulfextern int rcswrap (yyscan_t yyscanner );
278184054Slulf#endif
279184054Slulf#endif
280184054Slulf
281184054Slulf#ifndef yytext_ptr
282184054Slulfstatic void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
283184054Slulf#endif
284184054Slulf
285184054Slulf#ifdef YY_NEED_STRLEN
286184054Slulfstatic int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
287184054Slulf#endif
288184054Slulf
289184054Slulf#ifndef YY_NO_INPUT
290184054Slulf
291184054Slulf#endif
292184054Slulf
293184054Slulf/* Amount of stuff to slurp up with each read. */
294184054Slulf#ifndef YY_READ_BUF_SIZE
295184054Slulf#define YY_READ_BUF_SIZE 8192
296184054Slulf#endif
297184054Slulf
298184054Slulf/* Number of entries by which start-condition stack grows. */
299184054Slulf#ifndef YY_START_STACK_INCR
300184054Slulf#define YY_START_STACK_INCR 25
301184054Slulf#endif
302184054Slulf
303184054Slulf/* Default declaration of generated scanner - a define so the user can
304184054Slulf * easily add parameters.
305184054Slulf */
306184054Slulf#ifndef YY_DECL
307184054Slulf#define YY_DECL_IS_OURS 1
308184054Slulf
309184054Slulfextern int rcslex (yyscan_t yyscanner);
310184054Slulf
311184054Slulf#define YY_DECL int rcslex (yyscan_t yyscanner)
312184054Slulf#endif /* !YY_DECL */
313184054Slulf
314184054Slulf/* yy_get_previous_state - get the state just before the EOB char was reached */
315184054Slulf
316184054Slulf#undef YY_NEW_FILE
317184054Slulf#undef YY_FLUSH_BUFFER
318184054Slulf#undef yy_set_bol
319184054Slulf#undef yy_new_buffer
320184054Slulf#undef yy_set_interactive
321184054Slulf#undef YY_DO_BEFORE_ACTION
322184054Slulf
323184054Slulf#ifdef YY_DECL_IS_OURS
324184054Slulf#undef YY_DECL_IS_OURS
325184054Slulf#undef YY_DECL
326184054Slulf#endif
327184054Slulf
328184054Slulf#line 73 "rcstokenizer.l"
329184054Slulf
330184054Slulf
331184054Slulf#line 332 "rcstokenizer.h"
332184054Slulf#undef rcsIN_HEADER
333184054Slulf#endif /* rcsHEADER_H */
334