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