1 #ifndef yyHEADER_H 2 #define yyHEADER_H 1 3 #define yyIN_HEADER 1 4 5 #define YY_INT_ALIGNED short int 6 7 /* A lexical scanner generated by flex */ 8 9 #define FLEX_SCANNER 10 #define YY_FLEX_MAJOR_VERSION 2 11 #define YY_FLEX_MINOR_VERSION 6 12 #define YY_FLEX_SUBMINOR_VERSION 4 13 #if YY_FLEX_SUBMINOR_VERSION > 0 14 #define FLEX_BETA 15 #endif 16 17 #ifdef yyget_lval 18 #define yyget_lval_ALREADY_DEFINED 19 #else 20 #define yyget_lval yyget_lval 21 #endif 22 23 #ifdef yyset_lval 24 #define yyset_lval_ALREADY_DEFINED 25 #else 26 #define yyset_lval yyset_lval 27 #endif 28 29 #ifdef yyget_lloc 30 #define yyget_lloc_ALREADY_DEFINED 31 #else 32 #define yyget_lloc yyget_lloc 33 #endif 34 35 #ifdef yyset_lloc 36 #define yyset_lloc_ALREADY_DEFINED 37 #else 38 #define yyset_lloc yyset_lloc 39 #endif 40 41 /* First, we deal with platform-specific or compiler-specific issues. */ 42 43 /* begin standard C headers. */ 44 #include <stdio.h> 45 #include <string.h> 46 #include <errno.h> 47 #include <stdlib.h> 48 49 /* end standard C headers. */ 50 51 /* flex integer type definitions */ 52 53 #ifndef FLEXINT_H 54 #define FLEXINT_H 55 56 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ 57 58 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 59 60 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, 61 * if you want the limit (max/min) macros for int types. 62 */ 63 #ifndef __STDC_LIMIT_MACROS 64 #define __STDC_LIMIT_MACROS 1 65 #endif 66 67 #include <inttypes.h> 68 typedef int8_t flex_int8_t; 69 typedef uint8_t flex_uint8_t; 70 typedef int16_t flex_int16_t; 71 typedef uint16_t flex_uint16_t; 72 typedef int32_t flex_int32_t; 73 typedef uint32_t flex_uint32_t; 74 #else 75 typedef signed char flex_int8_t; 76 typedef short int flex_int16_t; 77 typedef int flex_int32_t; 78 typedef unsigned char flex_uint8_t; 79 typedef unsigned short int flex_uint16_t; 80 typedef unsigned int flex_uint32_t; 81 82 /* Limits of integral types. */ 83 #ifndef INT8_MIN 84 #define INT8_MIN (-128) 85 #endif 86 #ifndef INT16_MIN 87 #define INT16_MIN (-32767-1) 88 #endif 89 #ifndef INT32_MIN 90 #define INT32_MIN (-2147483647-1) 91 #endif 92 #ifndef INT8_MAX 93 #define INT8_MAX (127) 94 #endif 95 #ifndef INT16_MAX 96 #define INT16_MAX (32767) 97 #endif 98 #ifndef INT32_MAX 99 #define INT32_MAX (2147483647) 100 #endif 101 #ifndef UINT8_MAX 102 #define UINT8_MAX (255U) 103 #endif 104 #ifndef UINT16_MAX 105 #define UINT16_MAX (65535U) 106 #endif 107 #ifndef UINT32_MAX 108 #define UINT32_MAX (4294967295U) 109 #endif 110 111 #ifndef SIZE_MAX 112 #define SIZE_MAX (~(size_t)0) 113 #endif 114 115 #endif /* ! C99 */ 116 117 #endif /* ! FLEXINT_H */ 118 119 /* begin standard C++ headers. */ 120 121 /* TODO: this is always defined, so inline it */ 122 #define yyconst const 123 124 #if defined(__GNUC__) && __GNUC__ >= 3 125 #define yynoreturn __attribute__((__noreturn__)) 126 #else 127 #define yynoreturn 128 #endif 129 130 /* An opaque pointer. */ 131 #ifndef YY_TYPEDEF_YY_SCANNER_T 132 #define YY_TYPEDEF_YY_SCANNER_T 133 typedef void* yyscan_t; 134 #endif 135 136 /* For convenience, these vars (plus the bison vars far below) 137 are macros in the reentrant scanner. */ 138 #define yyin yyg->yyin_r 139 #define yyout yyg->yyout_r 140 #define yyextra yyg->yyextra_r 141 #define yyleng yyg->yyleng_r 142 #define yytext yyg->yytext_r 143 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) 144 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) 145 #define yy_flex_debug yyg->yy_flex_debug_r 146 147 /* Size of default input buffer. */ 148 #ifndef YY_BUF_SIZE 149 #ifdef __ia64__ 150 /* On IA-64, the buffer size is 16k, not 8k. 151 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. 152 * Ditto for the __ia64__ case accordingly. 153 */ 154 #define YY_BUF_SIZE 32768 155 #else 156 #define YY_BUF_SIZE 16384 157 #endif /* __ia64__ */ 158 #endif 159 160 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 161 #define YY_TYPEDEF_YY_BUFFER_STATE 162 typedef struct yy_buffer_state *YY_BUFFER_STATE; 163 #endif 164 165 #ifndef YY_TYPEDEF_YY_SIZE_T 166 #define YY_TYPEDEF_YY_SIZE_T 167 typedef size_t yy_size_t; 168 #endif 169 170 #ifndef YY_STRUCT_YY_BUFFER_STATE 171 #define YY_STRUCT_YY_BUFFER_STATE 172 struct yy_buffer_state 173 { 174 FILE *yy_input_file; 175 176 char *yy_ch_buf; /* input buffer */ 177 char *yy_buf_pos; /* current position in input buffer */ 178 179 /* Size of input buffer in bytes, not including room for EOB 180 * characters. 181 */ 182 int yy_buf_size; 183 184 /* Number of characters read into yy_ch_buf, not including EOB 185 * characters. 186 */ 187 int yy_n_chars; 188 189 /* Whether we "own" the buffer - i.e., we know we created it, 190 * and can realloc() it to grow it, and should free() it to 191 * delete it. 192 */ 193 int yy_is_our_buffer; 194 195 /* Whether this is an "interactive" input source; if so, and 196 * if we're using stdio for input, then we want to use getc() 197 * instead of fread(), to make sure we stop fetching input after 198 * each newline. 199 */ 200 int yy_is_interactive; 201 202 /* Whether we're considered to be at the beginning of a line. 203 * If so, '^' rules will be active on the next match, otherwise 204 * not. 205 */ 206 int yy_at_bol; 207 208 int yy_bs_lineno; /**< The line count. */ 209 int yy_bs_column; /**< The column count. */ 210 211 /* Whether to try to fill the input buffer when we reach the 212 * end of it. 213 */ 214 int yy_fill_buffer; 215 216 int yy_buffer_status; 217 218 }; 219 #endif /* !YY_STRUCT_YY_BUFFER_STATE */ 220 221 void yyrestart ( FILE *input_file , yyscan_t yyscanner ); 222 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); 223 YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner ); 224 void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ); 225 void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ); 226 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); 227 void yypop_buffer_state ( yyscan_t yyscanner ); 228 229 YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner ); 230 YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner ); 231 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner ); 232 233 void *yyalloc ( yy_size_t , yyscan_t yyscanner ); 234 void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner ); 235 void yyfree ( void * , yyscan_t yyscanner ); 236 237 /* Begin user sect3 */ 238 239 #define yywrap(yyscanner) (/*CONSTCOND*/1) 240 #define YY_SKIP_YYWRAP 241 242 #define yytext_ptr yytext_r 243 244 #ifdef YY_HEADER_EXPORT_START_CONDITIONS 245 #define INITIAL 0 246 #define COMMENT1 1 247 #define COMMENT2 2 248 #define PATH 3 249 #define DOUBLEQUOTES 4 250 #define SINGLEQUOTES 5 251 252 #endif 253 254 #ifndef YY_NO_UNISTD_H 255 /* Special case for "unistd.h", since it is non-ANSI. We include it way 256 * down here because we want the user's section 1 to have been scanned first. 257 * The user has a chance to override it with an option. 258 */ 259 #include <unistd.h> 260 #endif 261 262 #ifndef YY_EXTRA_TYPE 263 #define YY_EXTRA_TYPE void * 264 #endif 265 266 int yylex_init (yyscan_t* scanner); 267 268 int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner); 269 270 /* Accessor methods to globals. 271 These are made visible to non-reentrant scanners for convenience. */ 272 273 int yylex_destroy ( yyscan_t yyscanner ); 274 275 int yyget_debug ( yyscan_t yyscanner ); 276 277 void yyset_debug ( int debug_flag , yyscan_t yyscanner ); 278 279 YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner ); 280 281 void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner ); 282 283 FILE *yyget_in ( yyscan_t yyscanner ); 284 285 void yyset_in ( FILE * _in_str , yyscan_t yyscanner ); 286 287 FILE *yyget_out ( yyscan_t yyscanner ); 288 289 void yyset_out ( FILE * _out_str , yyscan_t yyscanner ); 290 291 int yyget_leng ( yyscan_t yyscanner ); 292 293 char *yyget_text ( yyscan_t yyscanner ); 294 295 int yyget_lineno ( yyscan_t yyscanner ); 296 297 void yyset_lineno ( int _line_number , yyscan_t yyscanner ); 298 299 int yyget_column ( yyscan_t yyscanner ); 300 301 void yyset_column ( int _column_no , yyscan_t yyscanner ); 302 303 YYSTYPE * yyget_lval ( yyscan_t yyscanner ); 304 305 void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner ); 306 307 YYLTYPE *yyget_lloc ( yyscan_t yyscanner ); 308 309 void yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner ); 310 311 /* Macros after this point can all be overridden by user definitions in 312 * section 1. 313 */ 314 315 #ifndef YY_SKIP_YYWRAP 316 #ifdef __cplusplus 317 extern "C" int yywrap ( yyscan_t yyscanner ); 318 #else 319 extern int yywrap ( yyscan_t yyscanner ); 320 #endif 321 #endif 322 323 #ifndef yytext_ptr 324 static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner); 325 #endif 326 327 #ifdef YY_NEED_STRLEN 328 static int yy_flex_strlen ( const char * , yyscan_t yyscanner); 329 #endif 330 331 #ifndef YY_NO_INPUT 332 333 #endif 334 335 /* Amount of stuff to slurp up with each read. */ 336 #ifndef YY_READ_BUF_SIZE 337 #ifdef __ia64__ 338 /* On IA-64, the buffer size is 16k, not 8k */ 339 #define YY_READ_BUF_SIZE 16384 340 #else 341 #define YY_READ_BUF_SIZE 8192 342 #endif /* __ia64__ */ 343 #endif 344 345 /* Number of entries by which start-condition stack grows. */ 346 #ifndef YY_START_STACK_INCR 347 #define YY_START_STACK_INCR 25 348 #endif 349 350 /* Default declaration of generated scanner - a define so the user can 351 * easily add parameters. 352 */ 353 #ifndef YY_DECL 354 #define YY_DECL_IS_OURS 1 355 356 extern int yylex \ 357 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner); 358 359 #define YY_DECL int yylex \ 360 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) 361 #endif /* !YY_DECL */ 362 363 /* yy_get_previous_state - get the state just before the EOB char was reached */ 364 365 #undef YY_NEW_FILE 366 #undef YY_FLUSH_BUFFER 367 #undef yy_set_bol 368 #undef yy_new_buffer 369 #undef yy_set_interactive 370 #undef YY_DO_BEFORE_ACTION 371 372 #ifdef YY_DECL_IS_OURS 373 #undef YY_DECL_IS_OURS 374 #undef YY_DECL 375 #endif 376 377 #ifndef yy_create_buffer_ALREADY_DEFINED 378 #undef yy_create_buffer 379 #endif 380 #ifndef yy_delete_buffer_ALREADY_DEFINED 381 #undef yy_delete_buffer 382 #endif 383 #ifndef yy_scan_buffer_ALREADY_DEFINED 384 #undef yy_scan_buffer 385 #endif 386 #ifndef yy_scan_string_ALREADY_DEFINED 387 #undef yy_scan_string 388 #endif 389 #ifndef yy_scan_bytes_ALREADY_DEFINED 390 #undef yy_scan_bytes 391 #endif 392 #ifndef yy_init_buffer_ALREADY_DEFINED 393 #undef yy_init_buffer 394 #endif 395 #ifndef yy_flush_buffer_ALREADY_DEFINED 396 #undef yy_flush_buffer 397 #endif 398 #ifndef yy_load_buffer_state_ALREADY_DEFINED 399 #undef yy_load_buffer_state 400 #endif 401 #ifndef yy_switch_to_buffer_ALREADY_DEFINED 402 #undef yy_switch_to_buffer 403 #endif 404 #ifndef yypush_buffer_state_ALREADY_DEFINED 405 #undef yypush_buffer_state 406 #endif 407 #ifndef yypop_buffer_state_ALREADY_DEFINED 408 #undef yypop_buffer_state 409 #endif 410 #ifndef yyensure_buffer_stack_ALREADY_DEFINED 411 #undef yyensure_buffer_stack 412 #endif 413 #ifndef yylex_ALREADY_DEFINED 414 #undef yylex 415 #endif 416 #ifndef yyrestart_ALREADY_DEFINED 417 #undef yyrestart 418 #endif 419 #ifndef yylex_init_ALREADY_DEFINED 420 #undef yylex_init 421 #endif 422 #ifndef yylex_init_extra_ALREADY_DEFINED 423 #undef yylex_init_extra 424 #endif 425 #ifndef yylex_destroy_ALREADY_DEFINED 426 #undef yylex_destroy 427 #endif 428 #ifndef yyget_debug_ALREADY_DEFINED 429 #undef yyget_debug 430 #endif 431 #ifndef yyset_debug_ALREADY_DEFINED 432 #undef yyset_debug 433 #endif 434 #ifndef yyget_extra_ALREADY_DEFINED 435 #undef yyget_extra 436 #endif 437 #ifndef yyset_extra_ALREADY_DEFINED 438 #undef yyset_extra 439 #endif 440 #ifndef yyget_in_ALREADY_DEFINED 441 #undef yyget_in 442 #endif 443 #ifndef yyset_in_ALREADY_DEFINED 444 #undef yyset_in 445 #endif 446 #ifndef yyget_out_ALREADY_DEFINED 447 #undef yyget_out 448 #endif 449 #ifndef yyset_out_ALREADY_DEFINED 450 #undef yyset_out 451 #endif 452 #ifndef yyget_leng_ALREADY_DEFINED 453 #undef yyget_leng 454 #endif 455 #ifndef yyget_text_ALREADY_DEFINED 456 #undef yyget_text 457 #endif 458 #ifndef yyget_lineno_ALREADY_DEFINED 459 #undef yyget_lineno 460 #endif 461 #ifndef yyset_lineno_ALREADY_DEFINED 462 #undef yyset_lineno 463 #endif 464 #ifndef yyget_column_ALREADY_DEFINED 465 #undef yyget_column 466 #endif 467 #ifndef yyset_column_ALREADY_DEFINED 468 #undef yyset_column 469 #endif 470 #ifndef yywrap_ALREADY_DEFINED 471 #undef yywrap 472 #endif 473 #ifndef yyget_lval_ALREADY_DEFINED 474 #undef yyget_lval 475 #endif 476 #ifndef yyset_lval_ALREADY_DEFINED 477 #undef yyset_lval 478 #endif 479 #ifndef yyget_lloc_ALREADY_DEFINED 480 #undef yyget_lloc 481 #endif 482 #ifndef yyset_lloc_ALREADY_DEFINED 483 #undef yyset_lloc 484 #endif 485 #ifndef yyalloc_ALREADY_DEFINED 486 #undef yyalloc 487 #endif 488 #ifndef yyrealloc_ALREADY_DEFINED 489 #undef yyrealloc 490 #endif 491 #ifndef yyfree_ALREADY_DEFINED 492 #undef yyfree 493 #endif 494 #ifndef yytext_ALREADY_DEFINED 495 #undef yytext 496 #endif 497 #ifndef yyleng_ALREADY_DEFINED 498 #undef yyleng 499 #endif 500 #ifndef yyin_ALREADY_DEFINED 501 #undef yyin 502 #endif 503 #ifndef yyout_ALREADY_DEFINED 504 #undef yyout 505 #endif 506 #ifndef yy_flex_debug_ALREADY_DEFINED 507 #undef yy_flex_debug 508 #endif 509 #ifndef yylineno_ALREADY_DEFINED 510 #undef yylineno 511 #endif 512 #ifndef yytables_fload_ALREADY_DEFINED 513 #undef yytables_fload 514 #endif 515 #ifndef yytables_destroy_ALREADY_DEFINED 516 #undef yytables_destroy 517 #endif 518 #ifndef yyTABLES_NAME_ALREADY_DEFINED 519 #undef yyTABLES_NAME 520 #endif 521 522 #undef yyIN_HEADER 523 #endif /* yyHEADER_H */ 524