7 #define YY_INT_ALIGNED short int
9 /* A lexical scanner generated by flex */
12 #define YY_FLEX_MAJOR_VERSION 2
13 #define YY_FLEX_MINOR_VERSION 5
14 #define YY_FLEX_SUBMINOR_VERSION 31
15 #if YY_FLEX_SUBMINOR_VERSION > 0
19 /* First, we deal with platform-specific or compiler-specific issues. */
21 /* begin standard C headers. */
27 /* end standard C headers. */
29 /* flex integer type definitions */
34 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
36 #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
38 typedef int8_t flex_int8_t;
39 typedef uint8_t flex_uint8_t;
40 typedef int16_t flex_int16_t;
41 typedef uint16_t flex_uint16_t;
42 typedef int32_t flex_int32_t;
43 typedef uint32_t flex_uint32_t;
45 typedef signed char flex_int8_t;
46 typedef short int flex_int16_t;
47 typedef int flex_int32_t;
48 typedef unsigned char flex_uint8_t;
49 typedef unsigned short int flex_uint16_t;
50 typedef unsigned int flex_uint32_t;
53 /* Limits of integral types. */
55 #define INT8_MIN (-128)
58 #define INT16_MIN (-32767-1)
61 #define INT32_MIN (-2147483647-1)
64 #define INT8_MAX (127)
67 #define INT16_MAX (32767)
70 #define INT32_MAX (2147483647)
73 #define UINT8_MAX (255U)
76 #define UINT16_MAX (65535U)
79 #define UINT32_MAX (4294967295U)
82 #endif /* ! FLEXINT_H */
86 /* The "const" storage-class-modifier is valid. */
89 #else /* ! __cplusplus */
96 #endif /* ! __cplusplus */
104 /* An opaque pointer. */
105 #ifndef YY_TYPEDEF_YY_SCANNER_T
106 #define YY_TYPEDEF_YY_SCANNER_T
107 typedef void* yyscan_t;
110 /* For convenience, these vars (plus the bison vars far below)
111 are macros in the reentrant scanner. */
112 #define yyin yyg->yyin_r
113 #define yyout yyg->yyout_r
114 #define yyextra yyg->yyextra_r
115 #define yyleng yyg->yyleng_r
116 #define yytext yyg->yytext_r
117 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
118 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
119 #define yy_flex_debug yyg->yy_flex_debug_r
121 int yylex_init (yyscan_t* scanner);
123 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
124 #define YY_TYPEDEF_YY_BUFFER_STATE
125 typedef struct yy_buffer_state *YY_BUFFER_STATE;
128 /* The following is because we cannot portably get our hands on size_t
129 * (without autoconf's help, which isn't available because we want
130 * flex-generated scanners to compile on their own).
133 #ifndef YY_TYPEDEF_YY_SIZE_T
134 #define YY_TYPEDEF_YY_SIZE_T
135 typedef unsigned int yy_size_t;
138 #ifndef YY_STRUCT_YY_BUFFER_STATE
139 #define YY_STRUCT_YY_BUFFER_STATE
140 struct yy_buffer_state
144 char *yy_ch_buf; /* input buffer */
145 char *yy_buf_pos; /* current position in input buffer */
147 /* Size of input buffer in bytes, not including room for EOB
150 yy_size_t yy_buf_size;
152 /* Number of characters read into yy_ch_buf, not including EOB
157 /* Whether we "own" the buffer - i.e., we know we created it,
158 * and can realloc() it to grow it, and should free() it to
161 int yy_is_our_buffer;
163 /* Whether this is an "interactive" input source; if so, and
164 * if we're using stdio for input, then we want to use getc()
165 * instead of fread(), to make sure we stop fetching input after
168 int yy_is_interactive;
170 /* Whether we're considered to be at the beginning of a line.
171 * If so, '^' rules will be active on the next match, otherwise
176 int yy_bs_lineno; /**< The line count. */
177 int yy_bs_column; /**< The column count. */
179 /* Whether to try to fill the input buffer when we reach the
184 int yy_buffer_status;
187 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
189 void yyrestart (FILE *input_file ,yyscan_t yyscanner );
190 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
191 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
192 void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
193 void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
194 void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
195 void yypop_buffer_state (yyscan_t yyscanner );
197 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
198 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
199 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
201 void *yyalloc (yy_size_t ,yyscan_t yyscanner );
202 void *yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
203 void yyfree (void * ,yyscan_t yyscanner );
206 #define YY_SKIP_YYWRAP
208 #define yytext_ptr yytext_r
210 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
215 #ifndef YY_NO_UNISTD_H
216 /* Special case for "unistd.h", since it is non-ANSI. We include it way
217 * down here because we want the user's section 1 to have been scanned first.
218 * The user has a chance to override it with an option.
223 #ifndef YY_EXTRA_TYPE
224 #define YY_EXTRA_TYPE void *
227 static int yy_init_globals (yyscan_t yyscanner );
229 /* Accessor methods to globals.
230 These are made visible to non-reentrant scanners for convenience. */
232 int yylex_destroy (yyscan_t yyscanner );
234 int yyget_debug (yyscan_t yyscanner );
236 void yyset_debug (int debug_flag ,yyscan_t yyscanner );
238 YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner );
240 void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
242 FILE *yyget_in (yyscan_t yyscanner );
244 void yyset_in (FILE * in_str ,yyscan_t yyscanner );
246 FILE *yyget_out (yyscan_t yyscanner );
248 void yyset_out (FILE * out_str ,yyscan_t yyscanner );
250 int yyget_leng (yyscan_t yyscanner );
252 char *yyget_text (yyscan_t yyscanner );
254 int yyget_lineno (yyscan_t yyscanner );
256 void yyset_lineno (int line_number ,yyscan_t yyscanner );
258 /* Macros after this point can all be overridden by user definitions in
262 #ifndef YY_SKIP_YYWRAP
264 extern "C" int yywrap (yyscan_t yyscanner );
266 extern int yywrap (yyscan_t yyscanner );
271 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
274 #ifdef YY_NEED_STRLEN
275 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
282 /* Amount of stuff to slurp up with each read. */
283 #ifndef YY_READ_BUF_SIZE
284 #define YY_READ_BUF_SIZE 8192
287 /* Number of entries by which start-condition stack grows. */
288 #ifndef YY_START_STACK_INCR
289 #define YY_START_STACK_INCR 25
292 /* Default declaration of generated scanner - a define so the user can
293 * easily add parameters.
296 #define YY_DECL_IS_OURS 1
298 extern int yylex (yyscan_t yyscanner);
300 #define YY_DECL int yylex (yyscan_t yyscanner)
301 #endif /* !YY_DECL */
303 /* yy_get_previous_state - get the state just before the EOB char was reached */
306 #undef YY_FLUSH_BUFFER
309 #undef yy_set_interactive
311 #undef YY_DO_BEFORE_ACTION
313 #ifdef YY_DECL_IS_OURS
314 #undef YY_DECL_IS_OURS
319 #line 320 "ttt-lex.h"
321 #endif /* yyHEADER_H */