From b9e7145b2e393cfbce949ceed042994f6504d8b9 Mon Sep 17 00:00:00 2001 From: PeterBadzhakov Date: Thu, 27 Oct 2022 22:36:01 +0300 Subject: [PATCH 1/2] Added ANSI C to HTML syntax highlighter. --- homework/4MI3400199/C2HTML/README.md | 5 + homework/4MI3400199/C2HTML/a.out | Bin 0 -> 61312 bytes homework/4MI3400199/C2HTML/ansi.lex | 209 ++ homework/4MI3400199/C2HTML/ansi.yacc | 534 ++++++ homework/4MI3400199/C2HTML/lex.yy.c | 2660 ++++++++++++++++++++++++++ homework/4MI3400199/C2HTML/y.tab.c | 2388 +++++++++++++++++++++++ homework/4MI3400199/C2HTML/y.tab.h | 226 +++ 7 files changed, 6022 insertions(+) create mode 100644 homework/4MI3400199/C2HTML/README.md create mode 100755 homework/4MI3400199/C2HTML/a.out create mode 100644 homework/4MI3400199/C2HTML/ansi.lex create mode 100644 homework/4MI3400199/C2HTML/ansi.yacc create mode 100644 homework/4MI3400199/C2HTML/lex.yy.c create mode 100644 homework/4MI3400199/C2HTML/y.tab.c create mode 100644 homework/4MI3400199/C2HTML/y.tab.h diff --git a/homework/4MI3400199/C2HTML/README.md b/homework/4MI3400199/C2HTML/README.md new file mode 100644 index 00000000..c2149c83 --- /dev/null +++ b/homework/4MI3400199/C2HTML/README.md @@ -0,0 +1,5 @@ +# Homework 1 - C to HTML lexer +### Use flex to colorize C tokens + +### Usage +#### Prints .html to STDOUT. Pipe or write output to file, then open with browser. \ No newline at end of file diff --git a/homework/4MI3400199/C2HTML/a.out b/homework/4MI3400199/C2HTML/a.out new file mode 100755 index 0000000000000000000000000000000000000000..cc893156f668e41cb2947d88138c0a3e5691417d GIT binary patch literal 61312 zcmeFa2Ygh;`Zqqan@s|NB$UugsDhZ#kxnRqMH2`R>Q$CavVllQ!e#@Zmk?lG2)(E% zh=K|#cCm+|K}7}iD%S=gY9gqpsMy%|`^?NKyChuocklcD{{IhicFxQ^&+~nzmoumA zqQs=37S5SwtgJty(3Dz|lAss~Unmcp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}while(0); + +extern void yyerror(const char *); /* prints grammar violation message */ + +extern int sym_type(const char *); /* returns type from symbol table */ + +#define sym_type(identifier) IDENTIFIER /* with no symbol table, fake it */ + +static void comment(void); +static int check_type(void); +%} + +%% +"/*" { comment_flag = 1; PRINT_DIV("green", yytext); } +"//".* { comment_flag = 1; PRINT_DIV("green", yytext); } +"*/" { PRINT_DIV("green", yytext); comment_flag = 0; } + +"#"{L}* { PRINT_DIV("pink", yytext); } + +"auto" { PRINT_DIV("blue", yytext); } +"break" { PRINT_DIV("blue", yytext); } +"case" { PRINT_DIV("blue", yytext); } +"char" { PRINT_DIV("blue", yytext); } +"const" { PRINT_DIV("blue", yytext); } +"continue" { PRINT_DIV("blue", yytext); } +"default" { PRINT_DIV("blue", yytext); } +"do" { PRINT_DIV("blue", yytext); } +"double" { PRINT_DIV("blue", yytext); } +"else" { PRINT_DIV("blue", yytext); } +"enum" { PRINT_DIV("blue", yytext); } +"extern" { PRINT_DIV("blue", yytext); } +"float" { PRINT_DIV("blue", yytext); } +"for" { PRINT_DIV("blue", yytext); } +"goto" { PRINT_DIV("blue", yytext); } +"if" { PRINT_DIV("blue", yytext); } +"inline" { PRINT_DIV("blue", yytext); } +"int" { PRINT_DIV("blue", yytext); } +"long" { PRINT_DIV("blue", yytext); } +"register" { PRINT_DIV("blue", yytext); } +"restrict" { PRINT_DIV("blue", yytext); } +"return" { PRINT_DIV("blue", yytext); } +"short" { PRINT_DIV("blue", yytext); } +"signed" { PRINT_DIV("blue", yytext); } +"sizeof" { PRINT_DIV("blue", yytext); } +"static" { PRINT_DIV("blue", yytext); } +"struct" { PRINT_DIV("blue", yytext); } +"switch" { PRINT_DIV("blue", yytext); } +"typedef" { PRINT_DIV("blue", yytext); } +"union" { PRINT_DIV("blue", yytext); } +"unsigned" { PRINT_DIV("blue", yytext); } +"void" { PRINT_DIV("blue", yytext); } +"volatile" { PRINT_DIV("blue", yytext); } +"while" { PRINT_DIV("blue", yytext); } +"_Alignas" { PRINT_DIV("steelblue", yytext); } +"_Alignof" { PRINT_DIV("steelblue", yytext); } +"_Atomic" { PRINT_DIV("steelblue", yytext); } +"_Bool" { PRINT_DIV("steelblue", yytext); } +"_Complex" { PRINT_DIV("steelblue", yytext); } +"_Generic" { PRINT_DIV("steelblue", yytext); } +"_Imaginary" { PRINT_DIV("steelblue", yytext); } +"_Noreturn" { PRINT_DIV("steelblue", yytext); } +"_Static_assert" { PRINT_DIV("steelblue", yytext); } +"_Thread_local" { PRINT_DIV("steelblue", yytext); } +"__func__" { PRINT_DIV("steelblue", yytext); } + +{L}{A}* { PRINT_DIV("black", yytext); } + +{HP}{H}+{IS}? { PRINT_DIV("gold", yytext); } +{NZ}{D}*{IS}? { PRINT_DIV("gold", yytext); } +"0"{O}*{IS}? { PRINT_DIV("gold", yytext); } +{CP}?"'"([^'\\\n]|{ES})+"'" { PRINT_DIV("gold", yytext); } + +{D}+{E}{FS}? { PRINT_DIV("gold", yytext); } +{D}*"."{D}+{E}?{FS}? { PRINT_DIV("gold", yytext); } +{D}+"."{E}?{FS}? { PRINT_DIV("gold", yytext); } +{HP}{H}+{P}{FS}? { PRINT_DIV("gold", yytext); } +{HP}{H}*"."{H}+{P}{FS}? { PRINT_DIV("gold", yytext); } +{HP}{H}+"."{P}{FS}? { PRINT_DIV("gold", yytext); } + +({SP}?\"([^"\\\n]|{ES})*\"{WS}*)+ { PRINT_DIV("pink", yytext); } + +"..." { PRINT_DIV("black", yytext); } +">>=" { PRINT_DIV("black", yytext); } +"<<=" { PRINT_DIV("black", yytext); } +"+=" { PRINT_DIV("black", yytext); } +"-=" { PRINT_DIV("black", yytext); } +"*=" { PRINT_DIV("black", yytext); } +"/=" { PRINT_DIV("black", yytext); } +"%=" { PRINT_DIV("black", yytext); } +"&=" { PRINT_DIV("black", yytext); } +"^=" { PRINT_DIV("black", yytext); } +"|=" { PRINT_DIV("black", yytext); } +">>" { PRINT_DIV("black", yytext); } +"<<" { PRINT_DIV("black", yytext); } +"++" { PRINT_DIV("black", yytext); } +"--" { PRINT_DIV("black", yytext); } +"->" { PRINT_DIV("black", yytext); } +"&&" { PRINT_DIV("black", yytext); } +"||" { PRINT_DIV("black", yytext); } +"<=" { PRINT_DIV("black", yytext); } +">=" { PRINT_DIV("black", yytext); } +"==" { PRINT_DIV("black", yytext); } +"!=" { PRINT_DIV("black", yytext); } +";" { PRINT_DIV("black", yytext); } +("{"|"<%") { PRINT_DIV("brown", yytext); } +("}"|"%>") { PRINT_DIV("brown", yytext); } +"," { PRINT_DIV("black", yytext); } +":" { PRINT_DIV("black", yytext); } +"=" { PRINT_DIV("black", yytext); } +"(" { PRINT_DIV("brown", yytext); } +")" { PRINT_DIV("brown", yytext); } +("["|"<:") { PRINT_DIV("brown", yytext); } +("]"|":>") { PRINT_DIV("brown", yytext); } +"." { PRINT_DIV("black", yytext); } +"&" { PRINT_DIV("grey", yytext); } +"!" { PRINT_DIV("black", yytext); } +"~" { PRINT_DIV("grey", yytext); } +"-" { PRINT_DIV("black", yytext); } +"+" { PRINT_DIV("black", yytext); } +"*" { PRINT_DIV("black", yytext); } +"/" { PRINT_DIV("black", yytext); } +"%" { PRINT_DIV("black", yytext); } +"<" { PRINT_DIV("black", yytext); } +">" { PRINT_DIV("black", yytext); } +"^" { PRINT_DIV("grey", yytext); } +"|" { PRINT_DIV("grey", yytext); } +"?" { PRINT_DIV("black", yytext); } + +{WS}+ { PRINT_DIV("white", yytext); } +{NL}+ { printf("

%s
", yytext); } + +. { /* discard bad characters */ } + +%% + +int yywrap(void) /* called at end of input */ +{ + return 1; /* terminate now */ +} + +static void comment(void) +{ + int c; + + while ((c = input()) != 0) + if (c == '*') + { + while ((c = input()) == '*') + ; + + if (c == '/') + return; + + if (c == 0) + break; + } + yyerror("unterminated comment"); +} + +static int check_type(void) +{ + switch (sym_type(yytext)) + { + case TYPEDEF_NAME: /* previously defined */ + return TYPEDEF_NAME; + case ENUMERATION_CONSTANT: /* previously defined */ + return ENUMERATION_CONSTANT; + default: /* includes undefined */ + return IDENTIFIER; + } +} + +int main() +{ + yylex(); + + return 0; +} diff --git a/homework/4MI3400199/C2HTML/ansi.yacc b/homework/4MI3400199/C2HTML/ansi.yacc new file mode 100644 index 00000000..d0b0356c --- /dev/null +++ b/homework/4MI3400199/C2HTML/ansi.yacc @@ -0,0 +1,534 @@ +%token IDENTIFIER I_CONSTANT F_CONSTANT STRING_LITERAL FUNC_NAME SIZEOF +%token PTR_OP INC_OP DEC_OP LEFT_OP RIGHT_OP LE_OP GE_OP EQ_OP NE_OP +%token AND_OP OR_OP MUL_ASSIGN DIV_ASSIGN MOD_ASSIGN ADD_ASSIGN +%token SUB_ASSIGN LEFT_ASSIGN RIGHT_ASSIGN AND_ASSIGN +%token XOR_ASSIGN OR_ASSIGN +%token TYPEDEF_NAME ENUMERATION_CONSTANT + +%token TYPEDEF EXTERN STATIC AUTO REGISTER INLINE +%token CONST RESTRICT VOLATILE +%token BOOL CHAR SHORT INT LONG SIGNED UNSIGNED FLOAT DOUBLE VOID +%token COMPLEX IMAGINARY +%token STRUCT UNION ENUM ELLIPSIS + +%token CASE DEFAULT IF ELSE SWITCH WHILE DO FOR GOTO CONTINUE BREAK RETURN + +%token ALIGNAS ALIGNOF ATOMIC GENERIC NORETURN STATIC_ASSERT THREAD_LOCAL + +%start translation_unit +%% + +primary_expression + : IDENTIFIER + | constant + | string + | '(' expression ')' + | generic_selection + ; + +constant + : I_CONSTANT /* includes character_constant */ + | F_CONSTANT + | ENUMERATION_CONSTANT /* after it has been defined as such */ + ; + +enumeration_constant /* before it has been defined as such */ + : IDENTIFIER + ; + +string + : STRING_LITERAL + | FUNC_NAME + ; + +generic_selection + : GENERIC '(' assignment_expression ',' generic_assoc_list ')' + ; + +generic_assoc_list + : generic_association + | generic_assoc_list ',' generic_association + ; + +generic_association + : type_name ':' assignment_expression + | DEFAULT ':' assignment_expression + ; + +postfix_expression + : primary_expression + | postfix_expression '[' expression ']' + | postfix_expression '(' ')' + | postfix_expression '(' argument_expression_list ')' + | postfix_expression '.' IDENTIFIER + | postfix_expression PTR_OP IDENTIFIER + | postfix_expression INC_OP + | postfix_expression DEC_OP + | '(' type_name ')' '{' initializer_list '}' + | '(' type_name ')' '{' initializer_list ',' '}' + ; + +argument_expression_list + : assignment_expression + | argument_expression_list ',' assignment_expression + ; + +unary_expression + : postfix_expression + | INC_OP unary_expression + | DEC_OP unary_expression + | unary_operator cast_expression + | SIZEOF unary_expression + | SIZEOF '(' type_name ')' + | ALIGNOF '(' type_name ')' + ; + +unary_operator + : '&' + | '*' + | '+' + | '-' + | '~' + | '!' + ; + +cast_expression + : unary_expression + | '(' type_name ')' cast_expression + ; + +multiplicative_expression + : cast_expression + | multiplicative_expression '*' cast_expression + | multiplicative_expression '/' cast_expression + | multiplicative_expression '%' cast_expression + ; + +additive_expression + : multiplicative_expression + | additive_expression '+' multiplicative_expression + | additive_expression '-' multiplicative_expression + ; + +shift_expression + : additive_expression + | shift_expression LEFT_OP additive_expression + | shift_expression RIGHT_OP additive_expression + ; + +relational_expression + : shift_expression + | relational_expression '<' shift_expression + | relational_expression '>' shift_expression + | relational_expression LE_OP shift_expression + | relational_expression GE_OP shift_expression + ; + +equality_expression + : relational_expression + | equality_expression EQ_OP relational_expression + | equality_expression NE_OP relational_expression + ; + +and_expression + : equality_expression + | and_expression '&' equality_expression + ; + +exclusive_or_expression + : and_expression + | exclusive_or_expression '^' and_expression + ; + +inclusive_or_expression + : exclusive_or_expression + | inclusive_or_expression '|' exclusive_or_expression + ; + +logical_and_expression + : inclusive_or_expression + | logical_and_expression AND_OP inclusive_or_expression + ; + +logical_or_expression + : logical_and_expression + | logical_or_expression OR_OP logical_and_expression + ; + +conditional_expression + : logical_or_expression + | logical_or_expression '?' expression ':' conditional_expression + ; + +assignment_expression + : conditional_expression + | unary_expression assignment_operator assignment_expression + ; + +assignment_operator + : '=' + | MUL_ASSIGN + | DIV_ASSIGN + | MOD_ASSIGN + | ADD_ASSIGN + | SUB_ASSIGN + | LEFT_ASSIGN + | RIGHT_ASSIGN + | AND_ASSIGN + | XOR_ASSIGN + | OR_ASSIGN + ; + +expression + : assignment_expression + | expression ',' assignment_expression + ; + +constant_expression + : conditional_expression /* with constraints */ + ; + +declaration + : declaration_specifiers ';' + | declaration_specifiers init_declarator_list ';' + | static_assert_declaration + ; + +declaration_specifiers + : storage_class_specifier declaration_specifiers + | storage_class_specifier + | type_specifier declaration_specifiers + | type_specifier + | type_qualifier declaration_specifiers + | type_qualifier + | function_specifier declaration_specifiers + | function_specifier + | alignment_specifier declaration_specifiers + | alignment_specifier + ; + +init_declarator_list + : init_declarator + | init_declarator_list ',' init_declarator + ; + +init_declarator + : declarator '=' initializer + | declarator + ; + +storage_class_specifier + : TYPEDEF /* identifiers must be flagged as TYPEDEF_NAME */ + | EXTERN + | STATIC + | THREAD_LOCAL + | AUTO + | REGISTER + ; + +type_specifier + : VOID + | CHAR + | SHORT + | INT + | LONG + | FLOAT + | DOUBLE + | SIGNED + | UNSIGNED + | BOOL + | COMPLEX + | IMAGINARY /* non-mandated extension */ + | atomic_type_specifier + | struct_or_union_specifier + | enum_specifier + | TYPEDEF_NAME /* after it has been defined as such */ + ; + +struct_or_union_specifier + : struct_or_union '{' struct_declaration_list '}' + | struct_or_union IDENTIFIER '{' struct_declaration_list '}' + | struct_or_union IDENTIFIER + ; + +struct_or_union + : STRUCT + | UNION + ; + +struct_declaration_list + : struct_declaration + | struct_declaration_list struct_declaration + ; + +struct_declaration + : specifier_qualifier_list ';' /* for anonymous struct/union */ + | specifier_qualifier_list struct_declarator_list ';' + | static_assert_declaration + ; + +specifier_qualifier_list + : type_specifier specifier_qualifier_list + | type_specifier + | type_qualifier specifier_qualifier_list + | type_qualifier + ; + +struct_declarator_list + : struct_declarator + | struct_declarator_list ',' struct_declarator + ; + +struct_declarator + : ':' constant_expression + | declarator ':' constant_expression + | declarator + ; + +enum_specifier + : ENUM '{' enumerator_list '}' + | ENUM '{' enumerator_list ',' '}' + | ENUM IDENTIFIER '{' enumerator_list '}' + | ENUM IDENTIFIER '{' enumerator_list ',' '}' + | ENUM IDENTIFIER + ; + +enumerator_list + : enumerator + | enumerator_list ',' enumerator + ; + +enumerator /* identifiers must be flagged as ENUMERATION_CONSTANT */ + : enumeration_constant '=' constant_expression + | enumeration_constant + ; + +atomic_type_specifier + : ATOMIC '(' type_name ')' + ; + +type_qualifier + : CONST + | RESTRICT + | VOLATILE + | ATOMIC + ; + +function_specifier + : INLINE + | NORETURN + ; + +alignment_specifier + : ALIGNAS '(' type_name ')' + | ALIGNAS '(' constant_expression ')' + ; + +declarator + : pointer direct_declarator + | direct_declarator + ; + +direct_declarator + : IDENTIFIER + | '(' declarator ')' + | direct_declarator '[' ']' + | direct_declarator '[' '*' ']' + | direct_declarator '[' STATIC type_qualifier_list assignment_expression ']' + | direct_declarator '[' STATIC assignment_expression ']' + | direct_declarator '[' type_qualifier_list '*' ']' + | direct_declarator '[' type_qualifier_list STATIC assignment_expression ']' + | direct_declarator '[' type_qualifier_list assignment_expression ']' + | direct_declarator '[' type_qualifier_list ']' + | direct_declarator '[' assignment_expression ']' + | direct_declarator '(' parameter_type_list ')' + | direct_declarator '(' ')' + | direct_declarator '(' identifier_list ')' + ; + +pointer + : '*' type_qualifier_list pointer + | '*' type_qualifier_list + | '*' pointer + | '*' + ; + +type_qualifier_list + : type_qualifier + | type_qualifier_list type_qualifier + ; + + +parameter_type_list + : parameter_list ',' ELLIPSIS + | parameter_list + ; + +parameter_list + : parameter_declaration + | parameter_list ',' parameter_declaration + ; + +parameter_declaration + : declaration_specifiers declarator + | declaration_specifiers abstract_declarator + | declaration_specifiers + ; + +identifier_list + : IDENTIFIER + | identifier_list ',' IDENTIFIER + ; + +type_name + : specifier_qualifier_list abstract_declarator + | specifier_qualifier_list + ; + +abstract_declarator + : pointer direct_abstract_declarator + | pointer + | direct_abstract_declarator + ; + +direct_abstract_declarator + : '(' abstract_declarator ')' + | '[' ']' + | '[' '*' ']' + | '[' STATIC type_qualifier_list assignment_expression ']' + | '[' STATIC assignment_expression ']' + | '[' type_qualifier_list STATIC assignment_expression ']' + | '[' type_qualifier_list assignment_expression ']' + | '[' type_qualifier_list ']' + | '[' assignment_expression ']' + | direct_abstract_declarator '[' ']' + | direct_abstract_declarator '[' '*' ']' + | direct_abstract_declarator '[' STATIC type_qualifier_list assignment_expression ']' + | direct_abstract_declarator '[' STATIC assignment_expression ']' + | direct_abstract_declarator '[' type_qualifier_list assignment_expression ']' + | direct_abstract_declarator '[' type_qualifier_list STATIC assignment_expression ']' + | direct_abstract_declarator '[' type_qualifier_list ']' + | direct_abstract_declarator '[' assignment_expression ']' + | '(' ')' + | '(' parameter_type_list ')' + | direct_abstract_declarator '(' ')' + | direct_abstract_declarator '(' parameter_type_list ')' + ; + +initializer + : '{' initializer_list '}' + | '{' initializer_list ',' '}' + | assignment_expression + ; + +initializer_list + : designation initializer + | initializer + | initializer_list ',' designation initializer + | initializer_list ',' initializer + ; + +designation + : designator_list '=' + ; + +designator_list + : designator + | designator_list designator + ; + +designator + : '[' constant_expression ']' + | '.' IDENTIFIER + ; + +static_assert_declaration + : STATIC_ASSERT '(' constant_expression ',' STRING_LITERAL ')' ';' + ; + +statement + : labeled_statement + | compound_statement + | expression_statement + | selection_statement + | iteration_statement + | jump_statement + ; + +labeled_statement + : IDENTIFIER ':' statement + | CASE constant_expression ':' statement + | DEFAULT ':' statement + ; + +compound_statement + : '{' '}' + | '{' block_item_list '}' + ; + +block_item_list + : block_item + | block_item_list block_item + ; + +block_item + : declaration + | statement + ; + +expression_statement + : ';' + | expression ';' + ; + +selection_statement + : IF '(' expression ')' statement ELSE statement + | IF '(' expression ')' statement + | SWITCH '(' expression ')' statement + ; + +iteration_statement + : WHILE '(' expression ')' statement + | DO statement WHILE '(' expression ')' ';' + | FOR '(' expression_statement expression_statement ')' statement + | FOR '(' expression_statement expression_statement expression ')' statement + | FOR '(' declaration expression_statement ')' statement + | FOR '(' declaration expression_statement expression ')' statement + ; + +jump_statement + : GOTO IDENTIFIER ';' + | CONTINUE ';' + | BREAK ';' + | RETURN ';' + | RETURN expression ';' + ; + +translation_unit + : external_declaration + | translation_unit external_declaration + ; + +external_declaration + : function_definition + | declaration + ; + +function_definition + : declaration_specifiers declarator declaration_list compound_statement + | declaration_specifiers declarator compound_statement + ; + +declaration_list + : declaration + | declaration_list declaration + ; + +%% +#include + +void yyerror(const char *s) +{ + fflush(stdout); + fprintf(stderr, "*** %s\n", s); +} diff --git a/homework/4MI3400199/C2HTML/lex.yy.c b/homework/4MI3400199/C2HTML/lex.yy.c new file mode 100644 index 00000000..7be7280b --- /dev/null +++ b/homework/4MI3400199/C2HTML/lex.yy.c @@ -0,0 +1,2660 @@ + +#line 2 "lex.yy.c" + +#define YY_INT_ALIGNED short int + +/* A lexical scanner generated by flex */ + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 6 +#define YY_FLEX_SUBMINOR_VERSION 4 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +#include +#include +#include +#include + +/* end standard C headers. */ + +/* flex integer type definitions */ + +#ifndef FLEXINT_H +#define FLEXINT_H + +/* C99 systems have . Non-C99 systems may or may not. */ + +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + +/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, + * if you want the limit (max/min) macros for int types. + */ +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS 1 +#endif + +#include +typedef int8_t flex_int8_t; +typedef uint8_t flex_uint8_t; +typedef int16_t flex_int16_t; +typedef uint16_t flex_uint16_t; +typedef int32_t flex_int32_t; +typedef uint32_t flex_uint32_t; +#else +typedef signed char flex_int8_t; +typedef short int flex_int16_t; +typedef int flex_int32_t; +typedef unsigned char flex_uint8_t; +typedef unsigned short int flex_uint16_t; +typedef unsigned int flex_uint32_t; + +/* Limits of integral types. */ +#ifndef INT8_MIN +#define INT8_MIN (-128) +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32767-1) +#endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127) +#endif +#ifndef INT16_MAX +#define INT16_MAX (32767) +#endif +#ifndef INT32_MAX +#define INT32_MAX (2147483647) +#endif +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef UINT16_MAX +#define UINT16_MAX (65535U) +#endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif + +#ifndef SIZE_MAX +#define SIZE_MAX (~(size_t)0) +#endif + +#endif /* ! C99 */ + +#endif /* ! FLEXINT_H */ + +/* begin standard C++ headers. */ + +/* TODO: this is always defined, so inline it */ +#define yyconst const + +#if defined(__GNUC__) && __GNUC__ >= 3 +#define yynoreturn __attribute__((__noreturn__)) +#else +#define yynoreturn +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an + * integer in range [0..255] for use as an array index. + */ +#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) + +/* Enter a start condition. This macro really ought to take a parameter, + * but we do it the disgusting crufty way forced on us by the ()-less + * definition of BEGIN. + */ +#define BEGIN (yy_start) = 1 + 2 * +/* Translate the current start state into a value that can be later handed + * to BEGIN to return to the state. The YYSTATE alias is for lex + * compatibility. + */ +#define YY_START (((yy_start) - 1) / 2) +#define YYSTATE YY_START +/* Action number for EOF rule of a given start state. */ +#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) +/* Special action meaning "start processing a new file". */ +#define YY_NEW_FILE yyrestart( yyin ) +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k. + * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. + * Ditto for the __ia64__ case accordingly. + */ +#define YY_BUF_SIZE 32768 +#else +#define YY_BUF_SIZE 16384 +#endif /* __ia64__ */ +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE +typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + +extern int yyleng; + +extern FILE *yyin, *yyout; + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + + #define YY_LESS_LINENO(n) + #define YY_LINENO_REWIND_TO(ptr) + +/* Return all but the first "n" matched characters back to the input stream. */ +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up yytext again */ \ + } \ + while ( 0 ) +#define unput(c) yyunput( c, (yytext_ptr) ) + +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE +struct yy_buffer_state + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + int yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + int yy_n_chars; + + /* Whether we "own" the buffer - i.e., we know we created it, + * and can realloc() it to grow it, and should free() it to + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; + + int yy_bs_lineno; /**< The line count. */ + int yy_bs_column; /**< The column count. */ + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; + + int yy_buffer_status; + +#define YY_BUFFER_NEW 0 +#define YY_BUFFER_NORMAL 1 + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via yyrestart()), so that the user can continue scanning by + * just pointing yyin at a new input file. + */ +#define YY_BUFFER_EOF_PENDING 2 + + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ + +/* Stack of input buffers. */ +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ + +/* We provide macros for accessing buffer states in case in the + * future we want to put the buffer states in a more general + * "scanner state". + * + * Returns the top of the stack, or NULL. + */ +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ + : NULL) +/* Same as previous macro, but useful when we know that the buffer stack is not + * NULL or when we need an lvalue. For internal use only. + */ +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] + +/* yy_hold_char holds the character lost when yytext is formed. */ +static char yy_hold_char; +static int yy_n_chars; /* number of characters read into yy_ch_buf */ +int yyleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = NULL; +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow yywrap()'s to do buffer switches + * instead of setting up a fresh yyin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void yyrestart ( FILE *input_file ); +void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); +void yy_delete_buffer ( YY_BUFFER_STATE b ); +void yy_flush_buffer ( YY_BUFFER_STATE b ); +void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); +void yypop_buffer_state ( void ); + +static void yyensure_buffer_stack ( void ); +static void yy_load_buffer_state ( void ); +static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); +#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); +YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); + +void *yyalloc ( yy_size_t ); +void *yyrealloc ( void *, yy_size_t ); +void yyfree ( void * ); + +#define yy_new_buffer yy_create_buffer +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer( yyin, YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } +#define yy_set_bol(at_bol) \ + { \ + if ( ! YY_CURRENT_BUFFER ){\ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer( yyin, YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) + +/* Begin user sect3 */ +typedef flex_uint8_t YY_CHAR; + +FILE *yyin = NULL, *yyout = NULL; + +typedef int yy_state_type; + +extern int yylineno; +int yylineno = 1; + +extern char *yytext; +#ifdef yytext_ptr +#undef yytext_ptr +#endif +#define yytext_ptr yytext + +static yy_state_type yy_get_previous_state ( void ); +static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); +static int yy_get_next_buffer ( void ); +static void yynoreturn yy_fatal_error ( const char* msg ); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up yytext. + */ +#define YY_DO_BEFORE_ACTION \ + (yytext_ptr) = yy_bp; \ + yyleng = (int) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; +#define YY_NUM_RULES 112 +#define YY_END_OF_BUFFER 113 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static const flex_int16_t yy_accept[391] = + { 0, + 0, 0, 113, 111, 109, 110, 97, 111, 5, 103, + 96, 111, 91, 92, 101, 100, 88, 99, 95, 102, + 54, 53, 89, 85, 104, 90, 105, 108, 51, 51, + 93, 94, 106, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 86, + 107, 87, 98, 109, 110, 84, 0, 62, 0, 5, + 70, 87, 79, 71, 0, 0, 3, 68, 76, 66, + 77, 67, 78, 0, 57, 1, 2, 69, 58, 54, + 0, 0, 54, 54, 0, 54, 53, 53, 53, 53, + 94, 86, 0, 93, 75, 81, 83, 82, 74, 51, + + 0, 0, 72, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 13, 51, + 51, 51, 51, 51, 51, 21, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 73, 80, + 62, 0, 0, 0, 0, 55, 0, 0, 63, 0, + 57, 2, 0, 58, 0, 56, 54, 54, 54, 54, + 0, 52, 53, 53, 53, 53, 4, 65, 64, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 19, 51, 51, 23, 51, 51, 51, 51, 51, 51, + + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 0, 0, 0, 0, 0, 57, 0, 58, 56, 54, + 0, 0, 52, 0, 52, 52, 53, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 6, 51, 8, + 9, 51, 51, 51, 51, 15, 16, 51, 51, 20, + 51, 24, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 37, 51, 51, 0, 0, 0, + 0, 0, 0, 52, 52, 0, 59, 52, 52, 51, + 51, 43, 51, 51, 51, 51, 51, 51, 51, 7, + 10, 51, 51, 51, 51, 18, 51, 51, 51, 51, + + 28, 51, 51, 51, 51, 51, 51, 35, 51, 51, + 39, 0, 60, 0, 61, 59, 52, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 14, 17, + 22, 51, 51, 27, 29, 30, 31, 32, 33, 51, + 51, 51, 60, 61, 51, 51, 42, 51, 51, 51, + 51, 51, 51, 51, 51, 12, 51, 51, 34, 51, + 51, 40, 41, 44, 45, 51, 51, 51, 51, 50, + 11, 25, 26, 36, 38, 51, 47, 51, 51, 46, + 51, 51, 51, 51, 51, 51, 51, 49, 48, 0 + } ; + +static const YY_CHAR yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 4, 5, 6, 1, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, 19, 19, + 19, 19, 19, 19, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 1, 28, 29, 30, 31, 32, 33, + 34, 35, 36, 35, 35, 37, 35, 38, 35, 39, + 35, 35, 40, 41, 42, 35, 35, 43, 35, 35, + 44, 45, 46, 47, 48, 1, 49, 50, 51, 52, + + 53, 54, 55, 56, 57, 35, 58, 59, 60, 61, + 62, 63, 35, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 76, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +static const YY_CHAR yy_meta[77] = + { 0, + 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, + 1, 1, 1, 1, 1, 6, 1, 7, 7, 8, + 8, 4, 1, 4, 4, 1, 3, 9, 9, 9, + 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 1, 3, 1, 1, 11, 12, 12, + 9, 9, 9, 12, 10, 10, 10, 10, 10, 10, + 13, 10, 10, 13, 10, 13, 10, 13, 10, 13, + 10, 10, 1, 1, 1, 1 + } ; + +static const flex_int16_t yy_base[403] = + { 0, + 0, 0, 739, 740, 736, 734, 711, 72, 0, 53, + 72, 690, 740, 740, 64, 69, 740, 70, 72, 86, + 102, 109, 708, 740, 77, 708, 61, 740, 0, 95, + 740, 740, 707, 137, 664, 666, 57, 52, 65, 48, + 667, 54, 666, 674, 81, 655, 143, 663, 668, 740, + 58, 740, 740, 721, 719, 740, 104, 151, 124, 0, + 740, 740, 740, 740, 145, 139, 740, 740, 740, 740, + 740, 740, 740, 705, 163, 740, 0, 740, 187, 194, + 236, 214, 122, 133, 704, 132, 244, 161, 142, 183, + 740, 740, 266, 740, 694, 740, 740, 740, 693, 0, + + 135, 672, 740, 164, 654, 653, 661, 653, 650, 645, + 654, 655, 642, 654, 641, 656, 643, 649, 635, 636, + 633, 633, 636, 633, 630, 0, 178, 634, 183, 632, + 61, 138, 636, 629, 686, 186, 210, 633, 740, 740, + 270, 684, 254, 261, 0, 740, 275, 0, 740, 295, + 740, 0, 304, 740, 280, 308, 144, 740, 651, 628, + 0, 293, 203, 740, 649, 626, 740, 740, 740, 627, + 621, 620, 621, 619, 630, 614, 628, 612, 608, 612, + 624, 619, 607, 212, 620, 618, 610, 602, 604, 607, + 0, 589, 593, 0, 579, 573, 563, 561, 563, 564, + + 570, 553, 551, 551, 563, 552, 555, 549, 546, 526, + 328, 369, 286, 415, 330, 358, 345, 419, 740, 740, + 73, 158, 301, 390, 259, 294, 740, 527, 504, 502, + 497, 506, 503, 503, 489, 501, 492, 0, 494, 0, + 0, 485, 493, 482, 489, 0, 0, 483, 480, 0, + 484, 0, 479, 479, 478, 475, 485, 475, 478, 481, + 480, 478, 468, 472, 0, 460, 472, 297, 0, 276, + 0, 461, 470, 216, 740, 351, 474, 483, 460, 457, + 459, 0, 456, 450, 455, 444, 452, 459, 455, 0, + 0, 444, 445, 450, 441, 0, 444, 430, 430, 425, + + 0, 432, 423, 424, 406, 415, 417, 0, 402, 405, + 0, 362, 480, 407, 503, 740, 740, 295, 410, 406, + 401, 396, 388, 403, 401, 403, 383, 383, 0, 0, + 0, 389, 390, 0, 0, 0, 0, 0, 0, 378, + 378, 371, 740, 740, 364, 362, 0, 345, 362, 358, + 342, 356, 348, 346, 340, 0, 328, 320, 0, 333, + 331, 0, 0, 0, 0, 311, 298, 309, 296, 0, + 0, 0, 0, 0, 0, 283, 0, 275, 277, 0, + 269, 236, 229, 222, 175, 101, 65, 0, 0, 740, + 562, 567, 580, 590, 597, 608, 619, 632, 640, 646, + + 652, 658 + } ; + +static const flex_int16_t yy_def[403] = + { 0, + 390, 1, 390, 390, 390, 390, 390, 391, 392, 390, + 390, 393, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 394, 390, 390, 390, 395, 395, + 390, 390, 390, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 390, + 390, 390, 390, 390, 390, 390, 391, 390, 396, 392, + 390, 390, 390, 390, 393, 397, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 398, 390, 390, 390, + 390, 390, 390, 390, 399, 390, 390, 390, 390, 390, + 390, 390, 394, 390, 390, 390, 390, 390, 390, 395, + + 391, 393, 390, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 390, 390, + 390, 390, 390, 391, 400, 390, 393, 401, 390, 390, + 390, 398, 390, 390, 390, 390, 390, 390, 390, 390, + 402, 399, 390, 390, 390, 390, 390, 390, 390, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 391, 391, 393, 393, 390, 390, 390, 390, 390, 390, + 402, 402, 390, 390, 390, 390, 390, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 391, 212, 393, + 214, 390, 390, 390, 390, 390, 390, 390, 390, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 390, 390, 390, 390, 390, 390, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 390, 390, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 0, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + + 390, 390 + } ; + +static const flex_int16_t yy_nxt[817] = + { 0, + 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 22, + 22, 23, 24, 25, 26, 27, 28, 29, 29, 29, + 29, 29, 29, 29, 29, 29, 30, 29, 29, 29, + 29, 30, 29, 31, 4, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 41, 29, 42, 29, 43, 29, + 29, 29, 29, 44, 45, 46, 47, 48, 49, 29, + 29, 29, 50, 51, 52, 53, 58, 61, 62, 63, + 67, 69, 139, 92, 71, 98, 99, 74, 68, 75, + 75, 75, 75, 70, 72, 73, 64, 76, 94, 101, + + 95, 96, 77, 102, 118, 115, 123, 126, 58, 124, + 78, 272, 116, 119, 127, 200, 59, 79, 117, 80, + 80, 81, 81, 120, 79, 121, 87, 87, 87, 87, + 389, 140, 201, 82, 122, 272, 130, 131, 83, 58, + 82, 144, 144, 84, 85, 88, 132, 101, 59, 133, + 89, 102, 141, 146, 82, 101, 147, 147, 157, 388, + 86, 82, 135, 158, 104, 105, 106, 90, 84, 159, + 107, 85, 108, 158, 109, 89, 110, 111, 165, 59, + 75, 75, 75, 75, 112, 158, 202, 142, 158, 66, + 157, 160, 142, 145, 150, 151, 273, 163, 158, 151, + + 166, 203, 164, 136, 75, 75, 75, 75, 148, 79, + 158, 80, 80, 81, 81, 150, 151, 143, 153, 154, + 273, 151, 170, 154, 164, 82, 155, 164, 155, 171, + 83, 156, 156, 156, 156, 84, 193, 196, 387, 153, + 154, 163, 206, 194, 164, 154, 82, 197, 198, 164, + 207, 79, 86, 81, 81, 81, 81, 275, 101, 79, + 84, 87, 87, 87, 87, 58, 208, 82, 209, 164, + 386, 141, 390, 142, 101, 82, 242, 243, 211, 211, + 88, 385, 275, 146, 146, 89, 384, 390, 82, 390, + 390, 167, 213, 213, 146, 278, 82, 156, 156, 156, + + 156, 58, 90, 270, 270, 59, 142, 215, 222, 215, + 89, 142, 216, 216, 216, 216, 217, 279, 217, 66, + 66, 218, 218, 218, 218, 156, 156, 156, 156, 223, + 66, 224, 58, 383, 225, 275, 143, 274, 382, 381, + 219, 59, 275, 345, 219, 268, 268, 216, 216, 216, + 216, 226, 274, 380, 379, 224, 346, 378, 377, 225, + 275, 219, 218, 218, 218, 218, 219, 275, 277, 277, + 277, 277, 59, 58, 376, 216, 216, 216, 216, 313, + 313, 313, 313, 375, 374, 373, 269, 269, 269, 269, + 151, 372, 371, 370, 151, 369, 269, 269, 269, 269, + + 269, 269, 276, 368, 276, 367, 366, 277, 277, 277, + 277, 151, 365, 59, 364, 363, 151, 269, 269, 269, + 269, 269, 269, 146, 315, 315, 315, 315, 362, 361, + 360, 359, 271, 271, 271, 271, 218, 218, 218, 218, + 358, 357, 271, 271, 271, 271, 271, 271, 356, 355, + 354, 154, 353, 352, 351, 154, 350, 349, 348, 66, + 347, 342, 341, 271, 271, 271, 271, 271, 271, 340, + 339, 338, 154, 312, 337, 312, 336, 154, 313, 313, + 313, 313, 314, 335, 314, 334, 333, 315, 315, 315, + 315, 277, 277, 277, 277, 332, 331, 313, 313, 313, + + 313, 330, 329, 328, 327, 326, 316, 325, 324, 323, + 316, 322, 343, 321, 320, 319, 343, 318, 317, 317, + 315, 315, 315, 315, 311, 310, 309, 316, 308, 307, + 306, 305, 316, 343, 304, 344, 303, 302, 343, 344, + 301, 300, 299, 298, 297, 296, 295, 294, 293, 292, + 291, 290, 289, 288, 287, 286, 344, 285, 284, 283, + 282, 344, 57, 281, 57, 57, 57, 57, 57, 57, + 57, 57, 57, 57, 57, 60, 60, 60, 60, 60, + 65, 280, 65, 65, 267, 65, 65, 65, 65, 65, + 65, 65, 65, 93, 266, 93, 93, 93, 93, 93, + + 265, 93, 93, 100, 100, 100, 100, 100, 100, 100, + 57, 264, 57, 263, 57, 262, 261, 260, 259, 57, + 57, 65, 258, 65, 257, 65, 256, 255, 254, 253, + 65, 65, 152, 252, 152, 152, 152, 152, 152, 152, + 152, 152, 152, 152, 152, 162, 162, 162, 162, 251, + 250, 162, 212, 212, 212, 249, 248, 212, 214, 214, + 214, 247, 246, 214, 221, 221, 221, 245, 244, 221, + 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, + 231, 230, 229, 228, 227, 227, 220, 220, 101, 210, + 101, 205, 204, 199, 195, 192, 191, 190, 189, 188, + + 187, 186, 185, 184, 183, 182, 181, 180, 179, 178, + 177, 176, 175, 174, 173, 172, 66, 169, 168, 161, + 149, 55, 54, 138, 137, 134, 129, 128, 125, 114, + 113, 103, 97, 91, 66, 56, 55, 54, 390, 3, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390 + } ; + +static const flex_int16_t yy_chk[817] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 8, 10, 10, 11, + 15, 16, 51, 25, 18, 27, 27, 19, 15, 19, + 19, 19, 19, 16, 18, 18, 11, 20, 25, 30, + + 25, 25, 20, 30, 38, 37, 40, 42, 57, 40, + 20, 221, 37, 38, 42, 131, 8, 21, 37, 21, + 21, 21, 21, 39, 22, 39, 22, 22, 22, 22, + 387, 51, 131, 21, 39, 221, 45, 45, 21, 101, + 22, 59, 59, 21, 21, 22, 45, 47, 57, 45, + 22, 47, 58, 65, 21, 58, 66, 66, 83, 386, + 21, 22, 47, 83, 34, 34, 34, 22, 21, 84, + 34, 21, 34, 86, 34, 22, 34, 34, 89, 101, + 75, 75, 75, 75, 34, 157, 132, 58, 83, 65, + 86, 84, 58, 59, 75, 75, 222, 88, 86, 75, + + 89, 132, 88, 47, 79, 79, 79, 79, 66, 80, + 157, 80, 80, 80, 80, 75, 75, 58, 79, 79, + 222, 75, 104, 79, 90, 80, 82, 88, 82, 104, + 80, 82, 82, 82, 82, 80, 127, 129, 385, 79, + 79, 90, 136, 127, 163, 79, 80, 129, 129, 90, + 136, 81, 80, 81, 81, 81, 81, 274, 143, 87, + 80, 87, 87, 87, 87, 144, 137, 81, 137, 163, + 384, 141, 93, 143, 141, 87, 184, 184, 144, 144, + 87, 383, 274, 147, 270, 87, 382, 93, 81, 93, + 93, 93, 147, 147, 213, 225, 87, 155, 155, 155, + + 155, 268, 87, 213, 213, 144, 141, 150, 162, 150, + 87, 141, 150, 150, 150, 150, 153, 225, 153, 147, + 270, 153, 153, 153, 153, 156, 156, 156, 156, 162, + 213, 162, 211, 381, 162, 226, 141, 223, 379, 378, + 156, 268, 223, 318, 156, 211, 211, 215, 215, 215, + 215, 162, 226, 376, 369, 162, 318, 368, 367, 162, + 226, 156, 217, 217, 217, 217, 156, 223, 276, 276, + 276, 276, 211, 212, 366, 216, 216, 216, 216, 312, + 312, 312, 312, 361, 360, 358, 212, 212, 212, 212, + 216, 357, 355, 354, 216, 353, 212, 212, 212, 212, + + 212, 212, 224, 352, 224, 351, 350, 224, 224, 224, + 224, 216, 349, 212, 348, 346, 216, 212, 212, 212, + 212, 212, 212, 214, 314, 314, 314, 314, 345, 342, + 341, 340, 214, 214, 214, 214, 218, 218, 218, 218, + 333, 332, 214, 214, 214, 214, 214, 214, 328, 327, + 326, 218, 325, 324, 323, 218, 322, 321, 320, 214, + 319, 310, 309, 214, 214, 214, 214, 214, 214, 307, + 306, 305, 218, 272, 304, 272, 303, 218, 272, 272, + 272, 272, 273, 302, 273, 300, 299, 273, 273, 273, + 273, 277, 277, 277, 277, 298, 297, 313, 313, 313, + + 313, 295, 294, 293, 292, 289, 277, 288, 287, 286, + 277, 285, 313, 284, 283, 281, 313, 280, 279, 278, + 315, 315, 315, 315, 267, 266, 264, 277, 263, 262, + 261, 260, 277, 313, 259, 315, 258, 257, 313, 315, + 256, 255, 254, 253, 251, 249, 248, 245, 244, 243, + 242, 239, 237, 236, 235, 234, 315, 233, 232, 231, + 230, 315, 391, 229, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 392, 392, 392, 392, 392, + 393, 228, 393, 393, 210, 393, 393, 393, 393, 393, + 393, 393, 393, 394, 209, 394, 394, 394, 394, 394, + + 208, 394, 394, 395, 395, 395, 395, 395, 395, 395, + 396, 207, 396, 206, 396, 205, 204, 203, 202, 396, + 396, 397, 201, 397, 200, 397, 199, 198, 197, 196, + 397, 397, 398, 195, 398, 398, 398, 398, 398, 398, + 398, 398, 398, 398, 398, 399, 399, 399, 399, 193, + 192, 399, 400, 400, 400, 190, 189, 400, 401, 401, + 401, 188, 187, 401, 402, 402, 402, 186, 185, 402, + 183, 182, 181, 180, 179, 178, 177, 176, 175, 174, + 173, 172, 171, 170, 166, 165, 160, 159, 142, 138, + 135, 134, 133, 130, 128, 125, 124, 123, 122, 121, + + 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, + 110, 109, 108, 107, 106, 105, 102, 99, 95, 85, + 74, 55, 54, 49, 48, 46, 44, 43, 41, 36, + 35, 33, 26, 23, 12, 7, 6, 5, 3, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + + 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int yy_flex_debug; +int yy_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +#define yymore() yymore_used_but_not_detected +#define YY_MORE_ADJ 0 +#define YY_RESTORE_YY_MORE_OFFSET +char *yytext; +#line 1 "ansi.lex" +#line 26 "ansi.lex" +#include +#include + +#include "y.tab.h" + +int comment_flag = 0; +#define PRINT_DIV(color, text) do{ printf("%s", (comment_flag?"green":(color)), (text)); }while(0); + +extern void yyerror(const char *); /* prints grammar violation message */ + +extern int sym_type(const char *); /* returns type from symbol table */ + +#define sym_type(identifier) IDENTIFIER /* with no symbol table, fake it */ + +static void comment(void); +static int check_type(void); +#line 771 "lex.yy.c" +#line 772 "lex.yy.c" + +#define INITIAL 0 + +#ifndef YY_NO_UNISTD_H +/* Special case for "unistd.h", since it is non-ANSI. We include it way + * down here because we want the user's section 1 to have been scanned first. + * The user has a chance to override it with an option. + */ +#include +#endif + +#ifndef YY_EXTRA_TYPE +#define YY_EXTRA_TYPE void * +#endif + +static int yy_init_globals ( void ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int yylex_destroy ( void ); + +int yyget_debug ( void ); + +void yyset_debug ( int debug_flag ); + +YY_EXTRA_TYPE yyget_extra ( void ); + +void yyset_extra ( YY_EXTRA_TYPE user_defined ); + +FILE *yyget_in ( void ); + +void yyset_in ( FILE * _in_str ); + +FILE *yyget_out ( void ); + +void yyset_out ( FILE * _out_str ); + + int yyget_leng ( void ); + +char *yyget_text ( void ); + +int yyget_lineno ( void ); + +void yyset_lineno ( int _line_number ); + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int yywrap ( void ); +#else +extern int yywrap ( void ); +#endif +#endif + +#ifndef YY_NO_UNPUT + + static void yyunput ( int c, char *buf_ptr ); + +#endif + +#ifndef yytext_ptr +static void yy_flex_strncpy ( char *, const char *, int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen ( const char * ); +#endif + +#ifndef YY_NO_INPUT +#ifdef __cplusplus +static int yyinput ( void ); +#else +static int input ( void ); +#endif + +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k */ +#define YY_READ_BUF_SIZE 16384 +#else +#define YY_READ_BUF_SIZE 8192 +#endif /* __ia64__ */ +#endif + +/* Copy whatever the last rule matched to the standard output. */ +#ifndef ECHO +/* This used to be an fputs(), but since the string might contain NUL's, + * we now use fwrite(). + */ +#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) +#endif + +/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, + * is returned in "result". + */ +#ifndef YY_INPUT +#define YY_INPUT(buf,result,max_size) \ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + int n; \ + for ( n = 0; n < max_size && \ + (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( yyin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(yyin); \ + } \ + }\ +\ + +#endif + +/* No semi-colon after return; correct usage is to write "yyterminate();" - + * we don't want an extra ';' after the "return" because that will cause + * some compilers to complain about unreachable statements. + */ +#ifndef yyterminate +#define yyterminate() return YY_NULL +#endif + +/* Number of entries by which start-condition stack grows. */ +#ifndef YY_START_STACK_INCR +#define YY_START_STACK_INCR 25 +#endif + +/* Report a fatal error. */ +#ifndef YY_FATAL_ERROR +#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +#endif + +/* end tables serialization structures and prototypes */ + +/* Default declaration of generated scanner - a define so the user can + * easily add parameters. + */ +#ifndef YY_DECL +#define YY_DECL_IS_OURS 1 + +extern int yylex (void); + +#define YY_DECL int yylex (void) +#endif /* !YY_DECL */ + +/* Code executed at the beginning of each rule, after yytext and yyleng + * have been set up. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK /*LINTED*/break; +#endif + +#define YY_RULE_SETUP \ + YY_USER_ACTION + +/** The main scanner function which does all the work. + */ +YY_DECL +{ + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; + + if ( !(yy_init) ) + { + (yy_init) = 1; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ + + if ( ! yyin ) + yyin = stdin; + + if ( ! yyout ) + yyout = stdout; + + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer( yyin, YY_BUF_SIZE ); + } + + yy_load_buffer_state( ); + } + + { +#line 44 "ansi.lex" + +#line 991 "lex.yy.c" + + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); + + /* Support of yytext. */ + *yy_cp = (yy_hold_char); + + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; + + yy_current_state = (yy_start); +yy_match: + do + { + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 391 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + ++yy_cp; + } + while ( yy_base[yy_current_state] != 740 ); + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + yy_act = yy_accept[yy_current_state]; + } + + YY_DO_BEFORE_ACTION; + +do_action: /* This label is used only to access EOF actions. */ + + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + +case 1: +YY_RULE_SETUP +#line 45 "ansi.lex" +{ comment_flag = 1; PRINT_DIV("green", yytext); } + YY_BREAK +case 2: +YY_RULE_SETUP +#line 46 "ansi.lex" +{ comment_flag = 1; PRINT_DIV("green", yytext); } + YY_BREAK +case 3: +YY_RULE_SETUP +#line 47 "ansi.lex" +{ PRINT_DIV("green", yytext); comment_flag = 0; } + YY_BREAK +case 4: +YY_RULE_SETUP +#line 49 "ansi.lex" +{ PRINT_DIV("pink", yytext); } + YY_BREAK +case 5: +YY_RULE_SETUP +#line 51 "ansi.lex" +{ PRINT_DIV("pink", yytext); } + YY_BREAK +case 6: +YY_RULE_SETUP +#line 53 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 7: +YY_RULE_SETUP +#line 54 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 8: +YY_RULE_SETUP +#line 55 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 9: +YY_RULE_SETUP +#line 56 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 10: +YY_RULE_SETUP +#line 57 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 11: +YY_RULE_SETUP +#line 58 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 12: +YY_RULE_SETUP +#line 59 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 13: +YY_RULE_SETUP +#line 60 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 14: +YY_RULE_SETUP +#line 61 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 15: +YY_RULE_SETUP +#line 62 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 16: +YY_RULE_SETUP +#line 63 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 17: +YY_RULE_SETUP +#line 64 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 18: +YY_RULE_SETUP +#line 65 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 19: +YY_RULE_SETUP +#line 66 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 20: +YY_RULE_SETUP +#line 67 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 21: +YY_RULE_SETUP +#line 68 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 22: +YY_RULE_SETUP +#line 69 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 23: +YY_RULE_SETUP +#line 70 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 24: +YY_RULE_SETUP +#line 71 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 25: +YY_RULE_SETUP +#line 72 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 26: +YY_RULE_SETUP +#line 73 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 27: +YY_RULE_SETUP +#line 74 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 28: +YY_RULE_SETUP +#line 75 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 29: +YY_RULE_SETUP +#line 76 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 30: +YY_RULE_SETUP +#line 77 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 31: +YY_RULE_SETUP +#line 78 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 32: +YY_RULE_SETUP +#line 79 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 33: +YY_RULE_SETUP +#line 80 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 34: +YY_RULE_SETUP +#line 81 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 35: +YY_RULE_SETUP +#line 82 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 36: +YY_RULE_SETUP +#line 83 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 37: +YY_RULE_SETUP +#line 84 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 38: +YY_RULE_SETUP +#line 85 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 39: +YY_RULE_SETUP +#line 86 "ansi.lex" +{ PRINT_DIV("blue", yytext); } + YY_BREAK +case 40: +YY_RULE_SETUP +#line 87 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 41: +YY_RULE_SETUP +#line 88 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 42: +YY_RULE_SETUP +#line 89 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 43: +YY_RULE_SETUP +#line 90 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 44: +YY_RULE_SETUP +#line 91 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 45: +YY_RULE_SETUP +#line 92 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 46: +YY_RULE_SETUP +#line 93 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 47: +YY_RULE_SETUP +#line 94 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 48: +YY_RULE_SETUP +#line 95 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 49: +YY_RULE_SETUP +#line 96 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 50: +YY_RULE_SETUP +#line 97 "ansi.lex" +{ PRINT_DIV("steelblue", yytext); } + YY_BREAK +case 51: +YY_RULE_SETUP +#line 99 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 52: +YY_RULE_SETUP +#line 101 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 53: +YY_RULE_SETUP +#line 102 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 54: +YY_RULE_SETUP +#line 103 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 55: +YY_RULE_SETUP +#line 104 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 56: +YY_RULE_SETUP +#line 106 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 57: +YY_RULE_SETUP +#line 107 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 58: +YY_RULE_SETUP +#line 108 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 59: +YY_RULE_SETUP +#line 109 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 60: +YY_RULE_SETUP +#line 110 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 61: +YY_RULE_SETUP +#line 111 "ansi.lex" +{ PRINT_DIV("gold", yytext); } + YY_BREAK +case 62: +YY_RULE_SETUP +#line 113 "ansi.lex" +{ PRINT_DIV("pink", yytext); } + YY_BREAK +case 63: +YY_RULE_SETUP +#line 115 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 64: +YY_RULE_SETUP +#line 116 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 65: +YY_RULE_SETUP +#line 117 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 66: +YY_RULE_SETUP +#line 118 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 67: +YY_RULE_SETUP +#line 119 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 68: +YY_RULE_SETUP +#line 120 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 69: +YY_RULE_SETUP +#line 121 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 70: +YY_RULE_SETUP +#line 122 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 71: +YY_RULE_SETUP +#line 123 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 72: +YY_RULE_SETUP +#line 124 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 73: +YY_RULE_SETUP +#line 125 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 74: +YY_RULE_SETUP +#line 126 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 75: +YY_RULE_SETUP +#line 127 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 76: +YY_RULE_SETUP +#line 128 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 77: +YY_RULE_SETUP +#line 129 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 78: +YY_RULE_SETUP +#line 130 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 79: +YY_RULE_SETUP +#line 131 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 80: +YY_RULE_SETUP +#line 132 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 81: +YY_RULE_SETUP +#line 133 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 82: +YY_RULE_SETUP +#line 134 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 83: +YY_RULE_SETUP +#line 135 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 84: +YY_RULE_SETUP +#line 136 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 85: +YY_RULE_SETUP +#line 137 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 86: +YY_RULE_SETUP +#line 138 "ansi.lex" +{ PRINT_DIV("brown", yytext); } + YY_BREAK +case 87: +YY_RULE_SETUP +#line 139 "ansi.lex" +{ PRINT_DIV("brown", yytext); } + YY_BREAK +case 88: +YY_RULE_SETUP +#line 140 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 89: +YY_RULE_SETUP +#line 141 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 90: +YY_RULE_SETUP +#line 142 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 91: +YY_RULE_SETUP +#line 143 "ansi.lex" +{ PRINT_DIV("brown", yytext); } + YY_BREAK +case 92: +YY_RULE_SETUP +#line 144 "ansi.lex" +{ PRINT_DIV("brown", yytext); } + YY_BREAK +case 93: +YY_RULE_SETUP +#line 145 "ansi.lex" +{ PRINT_DIV("brown", yytext); } + YY_BREAK +case 94: +YY_RULE_SETUP +#line 146 "ansi.lex" +{ PRINT_DIV("brown", yytext); } + YY_BREAK +case 95: +YY_RULE_SETUP +#line 147 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 96: +YY_RULE_SETUP +#line 148 "ansi.lex" +{ PRINT_DIV("grey", yytext); } + YY_BREAK +case 97: +YY_RULE_SETUP +#line 149 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 98: +YY_RULE_SETUP +#line 150 "ansi.lex" +{ PRINT_DIV("grey", yytext); } + YY_BREAK +case 99: +YY_RULE_SETUP +#line 151 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 100: +YY_RULE_SETUP +#line 152 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 101: +YY_RULE_SETUP +#line 153 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 102: +YY_RULE_SETUP +#line 154 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 103: +YY_RULE_SETUP +#line 155 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 104: +YY_RULE_SETUP +#line 156 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 105: +YY_RULE_SETUP +#line 157 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 106: +YY_RULE_SETUP +#line 158 "ansi.lex" +{ PRINT_DIV("grey", yytext); } + YY_BREAK +case 107: +YY_RULE_SETUP +#line 159 "ansi.lex" +{ PRINT_DIV("grey", yytext); } + YY_BREAK +case 108: +YY_RULE_SETUP +#line 160 "ansi.lex" +{ PRINT_DIV("black", yytext); } + YY_BREAK +case 109: +YY_RULE_SETUP +#line 162 "ansi.lex" +{ PRINT_DIV("white", yytext); } + YY_BREAK +case 110: +/* rule 110 can match eol */ +YY_RULE_SETUP +#line 163 "ansi.lex" +{ printf("
%s
", yytext); } + YY_BREAK +case 111: +YY_RULE_SETUP +#line 165 "ansi.lex" +{ /* discard bad characters */ } + YY_BREAK +case 112: +YY_RULE_SETUP +#line 167 "ansi.lex" +ECHO; + YY_BREAK +#line 1609 "lex.yy.c" +case YY_STATE_EOF(INITIAL): + yyterminate(); + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed yyin at a new source and called + * yylex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( yywrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * yytext, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ + } /* end of user's declarations */ +} /* end of yylex */ + +/* yy_get_next_buffer - try to read in a new buffer + * + * Returns a code representing an action: + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file + */ +static int yy_get_next_buffer (void) +{ + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + int number_to_move, i; + int ret_val; + + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + int num_to_read = + YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; + + while ( num_to_read <= 0 ) + { /* Not enough room in the buffer - grow it. */ + + /* just a shorter name for the current buffer */ + YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + int new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + yyrealloc( (void *) b->yy_ch_buf, + (yy_size_t) (b->yy_buf_size + 2) ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = NULL; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + yyrestart( yyin ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + else + ret_val = EOB_ACT_CONTINUE_SCAN; + + if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( + (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + /* "- 2" to take care of EOB's */ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); + } + + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; + + return ret_val; +} + +/* yy_get_previous_state - get the state just before the EOB char was reached */ + + static yy_state_type yy_get_previous_state (void) +{ + yy_state_type yy_current_state; + char *yy_cp; + + yy_current_state = (yy_start); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 391 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + } + + return yy_current_state; +} + +/* yy_try_NUL_trans - try to make a transition on the NUL character + * + * synopsis + * next_state = yy_try_NUL_trans( current_state ); + */ + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); + + YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 391 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + yy_is_jam = (yy_current_state == 390); + + return yy_is_jam ? 0 : yy_current_state; +} + +#ifndef YY_NO_UNPUT + + static void yyunput (int c, char * yy_bp ) +{ + char *yy_cp; + + yy_cp = (yy_c_buf_p); + + /* undo effects of setting up yytext */ + *yy_cp = (yy_hold_char); + + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) + { /* need to shift things up to make room */ + /* +2 for EOB chars. */ + int number_to_move = (yy_n_chars) + 2; + char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; + char *source = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; + + while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + *--dest = *--source; + + yy_cp += (int) (dest - source); + yy_bp += (int) (dest - source); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = + (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; + + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) + YY_FATAL_ERROR( "flex scanner push-back overflow" ); + } + + *--yy_cp = (char) c; + + (yytext_ptr) = yy_bp; + (yy_hold_char) = *yy_cp; + (yy_c_buf_p) = yy_cp; +} + +#endif + +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + yyrestart( yyin ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( yywrap( ) ) + return 0; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } + + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ + (yy_hold_char) = *++(yy_c_buf_p); + + return c; +} +#endif /* ifndef YY_NO_INPUT */ + +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * + * @note This function does not reset the start condition to @c INITIAL . + */ + void yyrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer( yyin, YY_BUF_SIZE ); + } + + yy_init_buffer( YY_CURRENT_BUFFER, input_file ); + yy_load_buffer_state( ); +} + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * yypop_buffer_state(); + * yypush_buffer_state(new_buffer); + */ + yyensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + yy_load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (yywrap()) processing, but the only time this flag + * is looked at is after yywrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; +} + +static void yy_load_buffer_state (void) +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); +} + +/** Allocate and initialize an input buffer state. + * @param file A readable stream. + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. + * + * @return the allocated buffer state. + */ + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +{ + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_buf_size = size; + + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_is_our_buffer = 1; + + yy_init_buffer( b, file ); + + return b; +} + +/** Destroy the buffer. + * @param b a buffer created with yy_create_buffer() + * + */ + void yy_delete_buffer (YY_BUFFER_STATE b ) +{ + + if ( ! b ) + return; + + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + + if ( b->yy_is_our_buffer ) + yyfree( (void *) b->yy_ch_buf ); + + yyfree( (void *) b ); +} + +/* Initializes or reinitializes a buffer. + * This function is sometimes called more than once on the same buffer, + * such as during a yyrestart() or at EOF. + */ + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) + +{ + int oerrno = errno; + + yy_flush_buffer( b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + + /* If b is the current buffer, then yy_init_buffer was _probably_ + * called from yyrestart() or through yy_get_next_buffer. + * In that case, we don't want to reset the lineno or column. + */ + if (b != YY_CURRENT_BUFFER){ + b->yy_bs_lineno = 1; + b->yy_bs_column = 0; + } + + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + + errno = oerrno; +} + +/** Discard all buffered characters. On the next scan, YY_INPUT will be called. + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. + * + */ + void yy_flush_buffer (YY_BUFFER_STATE b ) +{ + if ( ! b ) + return; + + b->yy_n_chars = 0; + + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + + b->yy_buf_pos = &b->yy_ch_buf[0]; + + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; + + if ( b == YY_CURRENT_BUFFER ) + yy_load_buffer_state( ); +} + +/** Pushes the new state onto the stack. The new state becomes + * the current state. This function will allocate the stack + * if necessary. + * @param new_buffer The new state. + * + */ +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + yyensure_buffer_stack(); + + /* This block is copied from yy_switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from yy_switch_to_buffer. */ + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; +} + +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +void yypop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } +} + +/* Allocates the stack if it does not exist. + * Guarantees space for at least one push. + */ +static void yyensure_buffer_stack (void) +{ + yy_size_t num_to_alloc; + + if (!(yy_buffer_stack)) { + + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. + */ + num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); + + (yy_buffer_stack_max) = num_to_alloc; + (yy_buffer_stack_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + yy_size_t grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (yy_buffer_stack_max) = num_to_alloc; + } +} + +/** Setup the input buffer state to scan directly from a user-specified character buffer. + * @param base the character buffer + * @param size the size in bytes of the character buffer + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) +{ + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return NULL; + + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); + + b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = NULL; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + yy_switch_to_buffer( b ); + + return b; +} + +/** Setup the input buffer state to scan a string. The next call to yylex() will + * scan from a @e copy of @a str. + * @param yystr a NUL-terminated string to scan + * + * @return the newly allocated buffer state object. + * @note If you want to scan bytes that may contain NUL values, then use + * yy_scan_bytes() instead. + */ +YY_BUFFER_STATE yy_scan_string (const char * yystr ) +{ + + return yy_scan_bytes( yystr, (int) strlen(yystr) ); +} + +/** Setup the input buffer state to scan the given bytes. The next call to yylex() will + * scan from a @e copy of @a bytes. + * @param yybytes the byte buffer to scan + * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) +{ + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + int i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = (yy_size_t) (_yybytes_len + 2); + buf = (char *) yyalloc( n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); + + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; + + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + + b = yy_scan_buffer( buf, n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; +} + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +static void yynoreturn yy_fatal_error (const char* msg ) +{ + fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} + +/* Redefine yyless() so it works in section 3 code. */ + +#undef yyless +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + yytext[yyleng] = (yy_hold_char); \ + (yy_c_buf_p) = yytext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + yyleng = yyless_macro_arg; \ + } \ + while ( 0 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int yyget_lineno (void) +{ + + return yylineno; +} + +/** Get the input stream. + * + */ +FILE *yyget_in (void) +{ + return yyin; +} + +/** Get the output stream. + * + */ +FILE *yyget_out (void) +{ + return yyout; +} + +/** Get the length of the current token. + * + */ +int yyget_leng (void) +{ + return yyleng; +} + +/** Get the current token. + * + */ + +char *yyget_text (void) +{ + return yytext; +} + +/** Set the current line number. + * @param _line_number line number + * + */ +void yyset_lineno (int _line_number ) +{ + + yylineno = _line_number; +} + +/** Set the input stream. This does not discard the current + * input buffer. + * @param _in_str A readable stream. + * + * @see yy_switch_to_buffer + */ +void yyset_in (FILE * _in_str ) +{ + yyin = _in_str ; +} + +void yyset_out (FILE * _out_str ) +{ + yyout = _out_str ; +} + +int yyget_debug (void) +{ + return yy_flex_debug; +} + +void yyset_debug (int _bdebug ) +{ + yy_flex_debug = _bdebug ; +} + +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from yylex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = NULL; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = NULL; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; +#else + yyin = NULL; + yyout = NULL; +#endif + + /* For future reference: Set errno on error, since we are called by + * yylex_init() + */ + return 0; +} + +/* yylex_destroy is for both reentrant and non-reentrant scanners. */ +int yylex_destroy (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + yy_delete_buffer( YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + yypop_buffer_state(); + } + + /* Destroy the stack itself. */ + yyfree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; + + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * yylex() is called, initialization will occur. */ + yy_init_globals( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, const char * s2, int n ) +{ + + int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; +} +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (const char * s ) +{ + int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *yyalloc (yy_size_t size ) +{ + return malloc(size); +} + +void *yyrealloc (void * ptr, yy_size_t size ) +{ + + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return realloc(ptr, size); +} + +void yyfree (void * ptr ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 167 "ansi.lex" + + +int yywrap(void) /* called at end of input */ +{ + return 1; /* terminate now */ +} + +static void comment(void) +{ + int c; + + while ((c = input()) != 0) + if (c == '*') + { + while ((c = input()) == '*') + ; + + if (c == '/') + return; + + if (c == 0) + break; + } + yyerror("unterminated comment"); +} + +static int check_type(void) +{ + switch (sym_type(yytext)) + { + case TYPEDEF_NAME: /* previously defined */ + return TYPEDEF_NAME; + case ENUMERATION_CONSTANT: /* previously defined */ + return ENUMERATION_CONSTANT; + default: /* includes undefined */ + return IDENTIFIER; + } +} + +int main() +{ + yylex(); + + return 0; +} + diff --git a/homework/4MI3400199/C2HTML/y.tab.c b/homework/4MI3400199/C2HTML/y.tab.c new file mode 100644 index 00000000..abfddb11 --- /dev/null +++ b/homework/4MI3400199/C2HTML/y.tab.c @@ -0,0 +1,2388 @@ +/* A Bison parser, made by GNU Bison 3.8.2. */ + +/* Bison implementation for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* C LALR(1) parser skeleton written by Richard Stallman, by + simplifying the original so-called "semantic" parser. */ + +/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, + especially those whose name start with YY_ or yy_. They are + private implementation details that can be changed or removed. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output, and Bison version. */ +#define YYBISON 30802 + +/* Bison version string. */ +#define YYBISON_VERSION "3.8.2" + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Push parsers. */ +#define YYPUSH 0 + +/* Pull parsers. */ +#define YYPULL 1 + + + + + +# ifndef YY_CAST +# ifdef __cplusplus +# define YY_CAST(Type, Val) static_cast (Val) +# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast (Val) +# else +# define YY_CAST(Type, Val) ((Type) (Val)) +# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) +# endif +# endif +# ifndef YY_NULLPTR +# if defined __cplusplus +# if 201103L <= __cplusplus +# define YY_NULLPTR nullptr +# else +# define YY_NULLPTR 0 +# endif +# else +# define YY_NULLPTR ((void*)0) +# endif +# endif + +/* Use api.header.include to #include this header + instead of duplicating it here. */ +#ifndef YY_YY_Y_TAB_H_INCLUDED +# define YY_YY_Y_TAB_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + +/* Token kinds. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + enum yytokentype + { + YYEMPTY = -2, + YYEOF = 0, /* "end of file" */ + YYerror = 256, /* error */ + YYUNDEF = 257, /* "invalid token" */ + IDENTIFIER = 258, /* IDENTIFIER */ + I_CONSTANT = 259, /* I_CONSTANT */ + F_CONSTANT = 260, /* F_CONSTANT */ + STRING_LITERAL = 261, /* STRING_LITERAL */ + FUNC_NAME = 262, /* FUNC_NAME */ + SIZEOF = 263, /* SIZEOF */ + PTR_OP = 264, /* PTR_OP */ + INC_OP = 265, /* INC_OP */ + DEC_OP = 266, /* DEC_OP */ + LEFT_OP = 267, /* LEFT_OP */ + RIGHT_OP = 268, /* RIGHT_OP */ + LE_OP = 269, /* LE_OP */ + GE_OP = 270, /* GE_OP */ + EQ_OP = 271, /* EQ_OP */ + NE_OP = 272, /* NE_OP */ + AND_OP = 273, /* AND_OP */ + OR_OP = 274, /* OR_OP */ + MUL_ASSIGN = 275, /* MUL_ASSIGN */ + DIV_ASSIGN = 276, /* DIV_ASSIGN */ + MOD_ASSIGN = 277, /* MOD_ASSIGN */ + ADD_ASSIGN = 278, /* ADD_ASSIGN */ + SUB_ASSIGN = 279, /* SUB_ASSIGN */ + LEFT_ASSIGN = 280, /* LEFT_ASSIGN */ + RIGHT_ASSIGN = 281, /* RIGHT_ASSIGN */ + AND_ASSIGN = 282, /* AND_ASSIGN */ + XOR_ASSIGN = 283, /* XOR_ASSIGN */ + OR_ASSIGN = 284, /* OR_ASSIGN */ + TYPEDEF_NAME = 285, /* TYPEDEF_NAME */ + ENUMERATION_CONSTANT = 286, /* ENUMERATION_CONSTANT */ + TYPEDEF = 287, /* TYPEDEF */ + EXTERN = 288, /* EXTERN */ + STATIC = 289, /* STATIC */ + AUTO = 290, /* AUTO */ + REGISTER = 291, /* REGISTER */ + INLINE = 292, /* INLINE */ + CONST = 293, /* CONST */ + RESTRICT = 294, /* RESTRICT */ + VOLATILE = 295, /* VOLATILE */ + BOOL = 296, /* BOOL */ + CHAR = 297, /* CHAR */ + SHORT = 298, /* SHORT */ + INT = 299, /* INT */ + LONG = 300, /* LONG */ + SIGNED = 301, /* SIGNED */ + UNSIGNED = 302, /* UNSIGNED */ + FLOAT = 303, /* FLOAT */ + DOUBLE = 304, /* DOUBLE */ + VOID = 305, /* VOID */ + COMPLEX = 306, /* COMPLEX */ + IMAGINARY = 307, /* IMAGINARY */ + STRUCT = 308, /* STRUCT */ + UNION = 309, /* UNION */ + ENUM = 310, /* ENUM */ + ELLIPSIS = 311, /* ELLIPSIS */ + CASE = 312, /* CASE */ + DEFAULT = 313, /* DEFAULT */ + IF = 314, /* IF */ + ELSE = 315, /* ELSE */ + SWITCH = 316, /* SWITCH */ + WHILE = 317, /* WHILE */ + DO = 318, /* DO */ + FOR = 319, /* FOR */ + GOTO = 320, /* GOTO */ + CONTINUE = 321, /* CONTINUE */ + BREAK = 322, /* BREAK */ + RETURN = 323, /* RETURN */ + ALIGNAS = 324, /* ALIGNAS */ + ALIGNOF = 325, /* ALIGNOF */ + ATOMIC = 326, /* ATOMIC */ + GENERIC = 327, /* GENERIC */ + NORETURN = 328, /* NORETURN */ + STATIC_ASSERT = 329, /* STATIC_ASSERT */ + THREAD_LOCAL = 330 /* THREAD_LOCAL */ + }; + typedef enum yytokentype yytoken_kind_t; +#endif +/* Token kinds. */ +#define YYEMPTY -2 +#define YYEOF 0 +#define YYerror 256 +#define YYUNDEF 257 +#define IDENTIFIER 258 +#define I_CONSTANT 259 +#define F_CONSTANT 260 +#define STRING_LITERAL 261 +#define FUNC_NAME 262 +#define SIZEOF 263 +#define PTR_OP 264 +#define INC_OP 265 +#define DEC_OP 266 +#define LEFT_OP 267 +#define RIGHT_OP 268 +#define LE_OP 269 +#define GE_OP 270 +#define EQ_OP 271 +#define NE_OP 272 +#define AND_OP 273 +#define OR_OP 274 +#define MUL_ASSIGN 275 +#define DIV_ASSIGN 276 +#define MOD_ASSIGN 277 +#define ADD_ASSIGN 278 +#define SUB_ASSIGN 279 +#define LEFT_ASSIGN 280 +#define RIGHT_ASSIGN 281 +#define AND_ASSIGN 282 +#define XOR_ASSIGN 283 +#define OR_ASSIGN 284 +#define TYPEDEF_NAME 285 +#define ENUMERATION_CONSTANT 286 +#define TYPEDEF 287 +#define EXTERN 288 +#define STATIC 289 +#define AUTO 290 +#define REGISTER 291 +#define INLINE 292 +#define CONST 293 +#define RESTRICT 294 +#define VOLATILE 295 +#define BOOL 296 +#define CHAR 297 +#define SHORT 298 +#define INT 299 +#define LONG 300 +#define SIGNED 301 +#define UNSIGNED 302 +#define FLOAT 303 +#define DOUBLE 304 +#define VOID 305 +#define COMPLEX 306 +#define IMAGINARY 307 +#define STRUCT 308 +#define UNION 309 +#define ENUM 310 +#define ELLIPSIS 311 +#define CASE 312 +#define DEFAULT 313 +#define IF 314 +#define ELSE 315 +#define SWITCH 316 +#define WHILE 317 +#define DO 318 +#define FOR 319 +#define GOTO 320 +#define CONTINUE 321 +#define BREAK 322 +#define RETURN 323 +#define ALIGNAS 324 +#define ALIGNOF 325 +#define ATOMIC 326 +#define GENERIC 327 +#define NORETURN 328 +#define STATIC_ASSERT 329 +#define THREAD_LOCAL 330 + +/* Value type. */ +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef int YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 +#endif + + +extern YYSTYPE yylval; + + +int yyparse (void); + + +#endif /* !YY_YY_Y_TAB_H_INCLUDED */ +/* Symbol kind. */ +enum yysymbol_kind_t +{ + YYSYMBOL_YYEMPTY = -2, + YYSYMBOL_YYEOF = 0, /* "end of file" */ + YYSYMBOL_YYerror = 1, /* error */ + YYSYMBOL_YYUNDEF = 2, /* "invalid token" */ + YYSYMBOL_IDENTIFIER = 3, /* IDENTIFIER */ + YYSYMBOL_I_CONSTANT = 4, /* I_CONSTANT */ + YYSYMBOL_F_CONSTANT = 5, /* F_CONSTANT */ + YYSYMBOL_STRING_LITERAL = 6, /* STRING_LITERAL */ + YYSYMBOL_FUNC_NAME = 7, /* FUNC_NAME */ + YYSYMBOL_SIZEOF = 8, /* SIZEOF */ + YYSYMBOL_PTR_OP = 9, /* PTR_OP */ + YYSYMBOL_INC_OP = 10, /* INC_OP */ + YYSYMBOL_DEC_OP = 11, /* DEC_OP */ + YYSYMBOL_LEFT_OP = 12, /* LEFT_OP */ + YYSYMBOL_RIGHT_OP = 13, /* RIGHT_OP */ + YYSYMBOL_LE_OP = 14, /* LE_OP */ + YYSYMBOL_GE_OP = 15, /* GE_OP */ + YYSYMBOL_EQ_OP = 16, /* EQ_OP */ + YYSYMBOL_NE_OP = 17, /* NE_OP */ + YYSYMBOL_AND_OP = 18, /* AND_OP */ + YYSYMBOL_OR_OP = 19, /* OR_OP */ + YYSYMBOL_MUL_ASSIGN = 20, /* MUL_ASSIGN */ + YYSYMBOL_DIV_ASSIGN = 21, /* DIV_ASSIGN */ + YYSYMBOL_MOD_ASSIGN = 22, /* MOD_ASSIGN */ + YYSYMBOL_ADD_ASSIGN = 23, /* ADD_ASSIGN */ + YYSYMBOL_SUB_ASSIGN = 24, /* SUB_ASSIGN */ + YYSYMBOL_LEFT_ASSIGN = 25, /* LEFT_ASSIGN */ + YYSYMBOL_RIGHT_ASSIGN = 26, /* RIGHT_ASSIGN */ + YYSYMBOL_AND_ASSIGN = 27, /* AND_ASSIGN */ + YYSYMBOL_XOR_ASSIGN = 28, /* XOR_ASSIGN */ + YYSYMBOL_OR_ASSIGN = 29, /* OR_ASSIGN */ + YYSYMBOL_TYPEDEF_NAME = 30, /* TYPEDEF_NAME */ + YYSYMBOL_ENUMERATION_CONSTANT = 31, /* ENUMERATION_CONSTANT */ + YYSYMBOL_TYPEDEF = 32, /* TYPEDEF */ + YYSYMBOL_EXTERN = 33, /* EXTERN */ + YYSYMBOL_STATIC = 34, /* STATIC */ + YYSYMBOL_AUTO = 35, /* AUTO */ + YYSYMBOL_REGISTER = 36, /* REGISTER */ + YYSYMBOL_INLINE = 37, /* INLINE */ + YYSYMBOL_CONST = 38, /* CONST */ + YYSYMBOL_RESTRICT = 39, /* RESTRICT */ + YYSYMBOL_VOLATILE = 40, /* VOLATILE */ + YYSYMBOL_BOOL = 41, /* BOOL */ + YYSYMBOL_CHAR = 42, /* CHAR */ + YYSYMBOL_SHORT = 43, /* SHORT */ + YYSYMBOL_INT = 44, /* INT */ + YYSYMBOL_LONG = 45, /* LONG */ + YYSYMBOL_SIGNED = 46, /* SIGNED */ + YYSYMBOL_UNSIGNED = 47, /* UNSIGNED */ + YYSYMBOL_FLOAT = 48, /* FLOAT */ + YYSYMBOL_DOUBLE = 49, /* DOUBLE */ + YYSYMBOL_VOID = 50, /* VOID */ + YYSYMBOL_COMPLEX = 51, /* COMPLEX */ + YYSYMBOL_IMAGINARY = 52, /* IMAGINARY */ + YYSYMBOL_STRUCT = 53, /* STRUCT */ + YYSYMBOL_UNION = 54, /* UNION */ + YYSYMBOL_ENUM = 55, /* ENUM */ + YYSYMBOL_ELLIPSIS = 56, /* ELLIPSIS */ + YYSYMBOL_CASE = 57, /* CASE */ + YYSYMBOL_DEFAULT = 58, /* DEFAULT */ + YYSYMBOL_IF = 59, /* IF */ + YYSYMBOL_ELSE = 60, /* ELSE */ + YYSYMBOL_SWITCH = 61, /* SWITCH */ + YYSYMBOL_WHILE = 62, /* WHILE */ + YYSYMBOL_DO = 63, /* DO */ + YYSYMBOL_FOR = 64, /* FOR */ + YYSYMBOL_GOTO = 65, /* GOTO */ + YYSYMBOL_CONTINUE = 66, /* CONTINUE */ + YYSYMBOL_BREAK = 67, /* BREAK */ + YYSYMBOL_RETURN = 68, /* RETURN */ + YYSYMBOL_ALIGNAS = 69, /* ALIGNAS */ + YYSYMBOL_ALIGNOF = 70, /* ALIGNOF */ + YYSYMBOL_ATOMIC = 71, /* ATOMIC */ + YYSYMBOL_GENERIC = 72, /* GENERIC */ + YYSYMBOL_NORETURN = 73, /* NORETURN */ + YYSYMBOL_STATIC_ASSERT = 74, /* STATIC_ASSERT */ + YYSYMBOL_THREAD_LOCAL = 75, /* THREAD_LOCAL */ + YYSYMBOL_76_ = 76, /* '(' */ + YYSYMBOL_77_ = 77, /* ')' */ + YYSYMBOL_78_ = 78, /* ',' */ + YYSYMBOL_79_ = 79, /* ':' */ + YYSYMBOL_80_ = 80, /* '[' */ + YYSYMBOL_81_ = 81, /* ']' */ + YYSYMBOL_82_ = 82, /* '.' */ + YYSYMBOL_83_ = 83, /* '{' */ + YYSYMBOL_84_ = 84, /* '}' */ + YYSYMBOL_85_ = 85, /* '&' */ + YYSYMBOL_86_ = 86, /* '*' */ + YYSYMBOL_87_ = 87, /* '+' */ + YYSYMBOL_88_ = 88, /* '-' */ + YYSYMBOL_89_ = 89, /* '~' */ + YYSYMBOL_90_ = 90, /* '!' */ + YYSYMBOL_91_ = 91, /* '/' */ + YYSYMBOL_92_ = 92, /* '%' */ + YYSYMBOL_93_ = 93, /* '<' */ + YYSYMBOL_94_ = 94, /* '>' */ + YYSYMBOL_95_ = 95, /* '^' */ + YYSYMBOL_96_ = 96, /* '|' */ + YYSYMBOL_97_ = 97, /* '?' */ + YYSYMBOL_98_ = 98, /* '=' */ + YYSYMBOL_99_ = 99, /* ';' */ + YYSYMBOL_YYACCEPT = 100, /* $accept */ + YYSYMBOL_primary_expression = 101, /* primary_expression */ + YYSYMBOL_constant = 102, /* constant */ + YYSYMBOL_enumeration_constant = 103, /* enumeration_constant */ + YYSYMBOL_string = 104, /* string */ + YYSYMBOL_generic_selection = 105, /* generic_selection */ + YYSYMBOL_generic_assoc_list = 106, /* generic_assoc_list */ + YYSYMBOL_generic_association = 107, /* generic_association */ + YYSYMBOL_postfix_expression = 108, /* postfix_expression */ + YYSYMBOL_argument_expression_list = 109, /* argument_expression_list */ + YYSYMBOL_unary_expression = 110, /* unary_expression */ + YYSYMBOL_unary_operator = 111, /* unary_operator */ + YYSYMBOL_cast_expression = 112, /* cast_expression */ + YYSYMBOL_multiplicative_expression = 113, /* multiplicative_expression */ + YYSYMBOL_additive_expression = 114, /* additive_expression */ + YYSYMBOL_shift_expression = 115, /* shift_expression */ + YYSYMBOL_relational_expression = 116, /* relational_expression */ + YYSYMBOL_equality_expression = 117, /* equality_expression */ + YYSYMBOL_and_expression = 118, /* and_expression */ + YYSYMBOL_exclusive_or_expression = 119, /* exclusive_or_expression */ + YYSYMBOL_inclusive_or_expression = 120, /* inclusive_or_expression */ + YYSYMBOL_logical_and_expression = 121, /* logical_and_expression */ + YYSYMBOL_logical_or_expression = 122, /* logical_or_expression */ + YYSYMBOL_conditional_expression = 123, /* conditional_expression */ + YYSYMBOL_assignment_expression = 124, /* assignment_expression */ + YYSYMBOL_assignment_operator = 125, /* assignment_operator */ + YYSYMBOL_expression = 126, /* expression */ + YYSYMBOL_constant_expression = 127, /* constant_expression */ + YYSYMBOL_declaration = 128, /* declaration */ + YYSYMBOL_declaration_specifiers = 129, /* declaration_specifiers */ + YYSYMBOL_init_declarator_list = 130, /* init_declarator_list */ + YYSYMBOL_init_declarator = 131, /* init_declarator */ + YYSYMBOL_storage_class_specifier = 132, /* storage_class_specifier */ + YYSYMBOL_type_specifier = 133, /* type_specifier */ + YYSYMBOL_struct_or_union_specifier = 134, /* struct_or_union_specifier */ + YYSYMBOL_struct_or_union = 135, /* struct_or_union */ + YYSYMBOL_struct_declaration_list = 136, /* struct_declaration_list */ + YYSYMBOL_struct_declaration = 137, /* struct_declaration */ + YYSYMBOL_specifier_qualifier_list = 138, /* specifier_qualifier_list */ + YYSYMBOL_struct_declarator_list = 139, /* struct_declarator_list */ + YYSYMBOL_struct_declarator = 140, /* struct_declarator */ + YYSYMBOL_enum_specifier = 141, /* enum_specifier */ + YYSYMBOL_enumerator_list = 142, /* enumerator_list */ + YYSYMBOL_enumerator = 143, /* enumerator */ + YYSYMBOL_atomic_type_specifier = 144, /* atomic_type_specifier */ + YYSYMBOL_type_qualifier = 145, /* type_qualifier */ + YYSYMBOL_function_specifier = 146, /* function_specifier */ + YYSYMBOL_alignment_specifier = 147, /* alignment_specifier */ + YYSYMBOL_declarator = 148, /* declarator */ + YYSYMBOL_direct_declarator = 149, /* direct_declarator */ + YYSYMBOL_pointer = 150, /* pointer */ + YYSYMBOL_type_qualifier_list = 151, /* type_qualifier_list */ + YYSYMBOL_parameter_type_list = 152, /* parameter_type_list */ + YYSYMBOL_parameter_list = 153, /* parameter_list */ + YYSYMBOL_parameter_declaration = 154, /* parameter_declaration */ + YYSYMBOL_identifier_list = 155, /* identifier_list */ + YYSYMBOL_type_name = 156, /* type_name */ + YYSYMBOL_abstract_declarator = 157, /* abstract_declarator */ + YYSYMBOL_direct_abstract_declarator = 158, /* direct_abstract_declarator */ + YYSYMBOL_initializer = 159, /* initializer */ + YYSYMBOL_initializer_list = 160, /* initializer_list */ + YYSYMBOL_designation = 161, /* designation */ + YYSYMBOL_designator_list = 162, /* designator_list */ + YYSYMBOL_designator = 163, /* designator */ + YYSYMBOL_static_assert_declaration = 164, /* static_assert_declaration */ + YYSYMBOL_statement = 165, /* statement */ + YYSYMBOL_labeled_statement = 166, /* labeled_statement */ + YYSYMBOL_compound_statement = 167, /* compound_statement */ + YYSYMBOL_block_item_list = 168, /* block_item_list */ + YYSYMBOL_block_item = 169, /* block_item */ + YYSYMBOL_expression_statement = 170, /* expression_statement */ + YYSYMBOL_selection_statement = 171, /* selection_statement */ + YYSYMBOL_iteration_statement = 172, /* iteration_statement */ + YYSYMBOL_jump_statement = 173, /* jump_statement */ + YYSYMBOL_translation_unit = 174, /* translation_unit */ + YYSYMBOL_external_declaration = 175, /* external_declaration */ + YYSYMBOL_function_definition = 176, /* function_definition */ + YYSYMBOL_declaration_list = 177 /* declaration_list */ +}; +typedef enum yysymbol_kind_t yysymbol_kind_t; + + + + +#ifdef short +# undef short +#endif + +/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure + and (if available) are included + so that the code can choose integer types of a good width. */ + +#ifndef __PTRDIFF_MAX__ +# include /* INFRINGES ON USER NAME SPACE */ +# if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ +# include /* INFRINGES ON USER NAME SPACE */ +# define YY_STDINT_H +# endif +#endif + +/* Narrow types that promote to a signed type and that can represent a + signed or unsigned integer of at least N bits. In tables they can + save space and decrease cache pressure. Promoting to a signed type + helps avoid bugs in integer arithmetic. */ + +#ifdef __INT_LEAST8_MAX__ +typedef __INT_LEAST8_TYPE__ yytype_int8; +#elif defined YY_STDINT_H +typedef int_least8_t yytype_int8; +#else +typedef signed char yytype_int8; +#endif + +#ifdef __INT_LEAST16_MAX__ +typedef __INT_LEAST16_TYPE__ yytype_int16; +#elif defined YY_STDINT_H +typedef int_least16_t yytype_int16; +#else +typedef short yytype_int16; +#endif + +/* Work around bug in HP-UX 11.23, which defines these macros + incorrectly for preprocessor constants. This workaround can likely + be removed in 2023, as HPE has promised support for HP-UX 11.23 + (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of + . */ +#ifdef __hpux +# undef UINT_LEAST8_MAX +# undef UINT_LEAST16_MAX +# define UINT_LEAST8_MAX 255 +# define UINT_LEAST16_MAX 65535 +#endif + +#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST8_TYPE__ yytype_uint8; +#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST8_MAX <= INT_MAX) +typedef uint_least8_t yytype_uint8; +#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX +typedef unsigned char yytype_uint8; +#else +typedef short yytype_uint8; +#endif + +#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST16_TYPE__ yytype_uint16; +#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST16_MAX <= INT_MAX) +typedef uint_least16_t yytype_uint16; +#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX +typedef unsigned short yytype_uint16; +#else +typedef int yytype_uint16; +#endif + +#ifndef YYPTRDIFF_T +# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__ +# define YYPTRDIFF_T __PTRDIFF_TYPE__ +# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__ +# elif defined PTRDIFF_MAX +# ifndef ptrdiff_t +# include /* INFRINGES ON USER NAME SPACE */ +# endif +# define YYPTRDIFF_T ptrdiff_t +# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX +# else +# define YYPTRDIFF_T long +# define YYPTRDIFF_MAXIMUM LONG_MAX +# endif +#endif + +#ifndef YYSIZE_T +# ifdef __SIZE_TYPE__ +# define YYSIZE_T __SIZE_TYPE__ +# elif defined size_t +# define YYSIZE_T size_t +# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# else +# define YYSIZE_T unsigned +# endif +#endif + +#define YYSIZE_MAXIMUM \ + YY_CAST (YYPTRDIFF_T, \ + (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \ + ? YYPTRDIFF_MAXIMUM \ + : YY_CAST (YYSIZE_T, -1))) + +#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) + + +/* Stored state numbers (used for stacks). */ +typedef yytype_int16 yy_state_t; + +/* State numbers in computations. */ +typedef int yy_state_fast_t; + +#ifndef YY_ +# if defined YYENABLE_NLS && YYENABLE_NLS +# if ENABLE_NLS +# include /* INFRINGES ON USER NAME SPACE */ +# define YY_(Msgid) dgettext ("bison-runtime", Msgid) +# endif +# endif +# ifndef YY_ +# define YY_(Msgid) Msgid +# endif +#endif + + +#ifndef YY_ATTRIBUTE_PURE +# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_PURE __attribute__ ((__pure__)) +# else +# define YY_ATTRIBUTE_PURE +# endif +#endif + +#ifndef YY_ATTRIBUTE_UNUSED +# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) +# else +# define YY_ATTRIBUTE_UNUSED +# endif +#endif + +/* Suppress unused-variable warnings by "using" E. */ +#if ! defined lint || defined __GNUC__ +# define YY_USE(E) ((void) (E)) +#else +# define YY_USE(E) /* empty */ +#endif + +/* Suppress an incorrect diagnostic about yylval being uninitialized. */ +#if defined __GNUC__ && ! defined __ICC && 406 <= __GNUC__ * 100 + __GNUC_MINOR__ +# if __GNUC__ * 100 + __GNUC_MINOR__ < 407 +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") +# else +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \ + _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") +# endif +# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ + _Pragma ("GCC diagnostic pop") +#else +# define YY_INITIAL_VALUE(Value) Value +#endif +#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_END +#endif +#ifndef YY_INITIAL_VALUE +# define YY_INITIAL_VALUE(Value) /* Nothing. */ +#endif + +#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__ +# define YY_IGNORE_USELESS_CAST_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"") +# define YY_IGNORE_USELESS_CAST_END \ + _Pragma ("GCC diagnostic pop") +#endif +#ifndef YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_END +#endif + + +#define YY_ASSERT(E) ((void) (0 && (E))) + +#if !defined yyoverflow + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# ifdef YYSTACK_USE_ALLOCA +# if YYSTACK_USE_ALLOCA +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# elif defined __BUILTIN_VA_ARG_INCR +# include /* INFRINGES ON USER NAME SPACE */ +# elif defined _AIX +# define YYSTACK_ALLOC __alloca +# elif defined _MSC_VER +# include /* INFRINGES ON USER NAME SPACE */ +# define alloca _alloca +# else +# define YYSTACK_ALLOC alloca +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS +# include /* INFRINGES ON USER NAME SPACE */ + /* Use EXIT_SUCCESS as a witness for stdlib.h. */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's 'empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# ifndef YYSTACK_ALLOC_MAXIMUM + /* The OS might guarantee only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + invoke alloca (N) if N exceeds 4096. Use a slightly smaller number + to allow for a few compiler-allocated temporary stack slots. */ +# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ +# endif +# else +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE +# ifndef YYSTACK_ALLOC_MAXIMUM +# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM +# endif +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ + && ! ((defined YYMALLOC || defined malloc) \ + && (defined YYFREE || defined free))) +# include /* INFRINGES ON USER NAME SPACE */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# if ! defined malloc && ! defined EXIT_SUCCESS +void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifndef YYFREE +# define YYFREE free +# if ! defined free && ! defined EXIT_SUCCESS +void free (void *); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# endif +#endif /* !defined yyoverflow */ + +#if (! defined yyoverflow \ + && (! defined __cplusplus \ + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + yy_state_t yyss_alloc; + YYSTYPE yyvs_alloc; +}; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +# define YYCOPY_NEEDED 1 + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ + do \ + { \ + YYPTRDIFF_T yynewbytes; \ + YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ + Stack = &yyptr->Stack_alloc; \ + yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / YYSIZEOF (*yyptr); \ + } \ + while (0) + +#endif + +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from SRC to DST. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(Dst, Src, Count) \ + __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) +# else +# define YYCOPY(Dst, Src, Count) \ + do \ + { \ + YYPTRDIFF_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (Dst)[yyi] = (Src)[yyi]; \ + } \ + while (0) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 67 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 2499 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 100 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 78 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 275 +/* YYNSTATES -- Number of states. */ +#define YYNSTATES 480 + +/* YYMAXUTOK -- Last valid token kind. */ +#define YYMAXUTOK 330 + + +/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM + as returned by yylex, with out-of-bounds checking. */ +#define YYTRANSLATE(YYX) \ + (0 <= (YYX) && (YYX) <= YYMAXUTOK \ + ? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \ + : YYSYMBOL_YYUNDEF) + +/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM + as returned by yylex. */ +static const yytype_int8 yytranslate[] = +{ + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 90, 2, 2, 2, 92, 85, 2, + 76, 77, 86, 87, 78, 88, 82, 91, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 79, 99, + 93, 98, 94, 97, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 80, 2, 81, 95, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 83, 96, 84, 89, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, + 75 +}; + +#if YYDEBUG +/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ +static const yytype_int16 yyrline[] = +{ + 0, 22, 22, 23, 24, 25, 26, 30, 31, 32, + 36, 40, 41, 45, 49, 50, 54, 55, 59, 60, + 61, 62, 63, 64, 65, 66, 67, 68, 72, 73, + 77, 78, 79, 80, 81, 82, 83, 87, 88, 89, + 90, 91, 92, 96, 97, 101, 102, 103, 104, 108, + 109, 110, 114, 115, 116, 120, 121, 122, 123, 124, + 128, 129, 130, 134, 135, 139, 140, 144, 145, 149, + 150, 154, 155, 159, 160, 164, 165, 169, 170, 171, + 172, 173, 174, 175, 176, 177, 178, 179, 183, 184, + 188, 192, 193, 194, 198, 199, 200, 201, 202, 203, + 204, 205, 206, 207, 211, 212, 216, 217, 221, 222, + 223, 224, 225, 226, 230, 231, 232, 233, 234, 235, + 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, + 249, 250, 251, 255, 256, 260, 261, 265, 266, 267, + 271, 272, 273, 274, 278, 279, 283, 284, 285, 289, + 290, 291, 292, 293, 297, 298, 302, 303, 307, 311, + 312, 313, 314, 318, 319, 323, 324, 328, 329, 333, + 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, + 344, 345, 346, 350, 351, 352, 353, 357, 358, 363, + 364, 368, 369, 373, 374, 375, 379, 380, 384, 385, + 389, 390, 391, 395, 396, 397, 398, 399, 400, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, + 412, 413, 414, 415, 419, 420, 421, 425, 426, 427, + 428, 432, 436, 437, 441, 442, 446, 450, 451, 452, + 453, 454, 455, 459, 460, 461, 465, 466, 470, 471, + 475, 476, 480, 481, 485, 486, 487, 491, 492, 493, + 494, 495, 496, 500, 501, 502, 503, 504, 508, 509, + 513, 514, 518, 519, 523, 524 +}; +#endif + +/** Accessing symbol of state STATE. */ +#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) + +#if YYDEBUG || 0 +/* The user-facing name of the symbol whose (internal) number is + YYSYMBOL. No bounds checking. */ +static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED; + +/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "\"end of file\"", "error", "\"invalid token\"", "IDENTIFIER", + "I_CONSTANT", "F_CONSTANT", "STRING_LITERAL", "FUNC_NAME", "SIZEOF", + "PTR_OP", "INC_OP", "DEC_OP", "LEFT_OP", "RIGHT_OP", "LE_OP", "GE_OP", + "EQ_OP", "NE_OP", "AND_OP", "OR_OP", "MUL_ASSIGN", "DIV_ASSIGN", + "MOD_ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "LEFT_ASSIGN", "RIGHT_ASSIGN", + "AND_ASSIGN", "XOR_ASSIGN", "OR_ASSIGN", "TYPEDEF_NAME", + "ENUMERATION_CONSTANT", "TYPEDEF", "EXTERN", "STATIC", "AUTO", + "REGISTER", "INLINE", "CONST", "RESTRICT", "VOLATILE", "BOOL", "CHAR", + "SHORT", "INT", "LONG", "SIGNED", "UNSIGNED", "FLOAT", "DOUBLE", "VOID", + "COMPLEX", "IMAGINARY", "STRUCT", "UNION", "ENUM", "ELLIPSIS", "CASE", + "DEFAULT", "IF", "ELSE", "SWITCH", "WHILE", "DO", "FOR", "GOTO", + "CONTINUE", "BREAK", "RETURN", "ALIGNAS", "ALIGNOF", "ATOMIC", "GENERIC", + "NORETURN", "STATIC_ASSERT", "THREAD_LOCAL", "'('", "')'", "','", "':'", + "'['", "']'", "'.'", "'{'", "'}'", "'&'", "'*'", "'+'", "'-'", "'~'", + "'!'", "'/'", "'%'", "'<'", "'>'", "'^'", "'|'", "'?'", "'='", "';'", + "$accept", "primary_expression", "constant", "enumeration_constant", + "string", "generic_selection", "generic_assoc_list", + "generic_association", "postfix_expression", "argument_expression_list", + "unary_expression", "unary_operator", "cast_expression", + "multiplicative_expression", "additive_expression", "shift_expression", + "relational_expression", "equality_expression", "and_expression", + "exclusive_or_expression", "inclusive_or_expression", + "logical_and_expression", "logical_or_expression", + "conditional_expression", "assignment_expression", "assignment_operator", + "expression", "constant_expression", "declaration", + "declaration_specifiers", "init_declarator_list", "init_declarator", + "storage_class_specifier", "type_specifier", "struct_or_union_specifier", + "struct_or_union", "struct_declaration_list", "struct_declaration", + "specifier_qualifier_list", "struct_declarator_list", + "struct_declarator", "enum_specifier", "enumerator_list", "enumerator", + "atomic_type_specifier", "type_qualifier", "function_specifier", + "alignment_specifier", "declarator", "direct_declarator", "pointer", + "type_qualifier_list", "parameter_type_list", "parameter_list", + "parameter_declaration", "identifier_list", "type_name", + "abstract_declarator", "direct_abstract_declarator", "initializer", + "initializer_list", "designation", "designator_list", "designator", + "static_assert_declaration", "statement", "labeled_statement", + "compound_statement", "block_item_list", "block_item", + "expression_statement", "selection_statement", "iteration_statement", + "jump_statement", "translation_unit", "external_declaration", + "function_definition", "declaration_list", YY_NULLPTR +}; + +static const char * +yysymbol_name (yysymbol_kind_t yysymbol) +{ + return yytname[yysymbol]; +} +#endif + +#define YYPACT_NINF (-370) + +#define yypact_value_is_default(Yyn) \ + ((Yyn) == YYPACT_NINF) + +#define YYTABLE_NINF (-1) + +#define yytable_value_is_error(Yyn) \ + 0 + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +static const yytype_int16 yypact[] = +{ + 2229, -370, -370, -370, -370, -370, -370, -370, -370, -370, + -370, -370, -370, -370, -370, -370, -370, -370, -370, -370, + -370, -370, -370, -370, -370, 26, -43, -35, -370, -8, + -370, -370, 28, 2319, 2319, -370, 39, -370, -370, 2319, + 2319, 2319, -370, 1816, -370, -370, -56, 46, 901, 2428, + 1649, -370, 45, 162, -370, -40, -370, 1915, -46, 79, + -370, -370, 2, 2357, -370, -370, -370, -370, -370, 46, + -370, -45, 10, -370, -370, -370, -370, -370, -370, 1671, + 1693, 1693, -370, 61, 71, 901, -370, -370, -370, -370, + -370, -370, -370, -370, -370, -370, 163, -370, 1649, -370, + -67, -30, 156, 125, 209, 92, 64, 65, 166, 20, + -370, 121, 2428, 109, 2428, 128, 155, 160, 165, -370, + -370, -370, 162, 45, -370, 457, 1407, -370, 28, -370, + 2131, 1869, 989, -46, 2357, 2031, -370, 72, -370, 104, + 1649, 29, -370, 901, -370, 901, -370, -370, 2428, 1649, + 450, -370, -370, 150, 169, 251, -370, -370, 1429, 1649, + 253, -370, 1649, 1649, 1649, 1649, 1649, 1649, 1649, 1649, + 1649, 1649, 1649, 1649, 1649, 1649, 1649, 1649, 1649, 1649, + 1649, -370, -370, 1982, 1011, -20, -370, 74, -370, -370, + -370, 259, -370, -370, -370, -370, 174, 195, 1649, 197, + 206, 220, 221, 721, 222, 282, 200, 202, 765, -370, + -370, 50, -370, -370, -370, -370, 578, -370, -370, -370, + -370, -370, 1385, -370, -370, -370, -370, -370, -370, 76, + 227, 228, -370, 157, 1253, -370, 224, 226, 1033, 2078, + -370, -370, 1649, -370, 66, -370, 231, 32, -370, -370, + -370, -370, 234, 238, 242, 249, -370, -370, -370, -370, + -370, -370, -370, -370, -370, -370, -370, 1649, -370, 1649, + 1517, -370, -370, 159, -370, 136, -370, -370, -370, -370, + -67, -67, -30, -30, 156, 156, 156, 156, 125, 125, + 209, 92, 64, 65, 166, 171, -370, 256, 257, 1253, + -370, 254, 258, 1121, 74, 2183, 1143, 260, 721, 261, + 721, 1649, 1649, 1649, 268, 668, 239, -370, -370, -370, + 67, -370, -370, -370, 1649, 340, -370, 129, 1407, 101, + -370, 1759, -370, 77, -370, -370, 2275, -370, 341, 264, + 1253, -370, -370, 1649, -370, 265, 267, -370, -370, 117, + -370, 1649, -370, 266, 266, -370, 2394, -370, -370, 1385, + -370, -370, 1649, -370, 1649, -370, -370, 270, 1253, -370, + -370, 1649, -370, 274, -370, 279, 1253, -370, 276, 277, + 1165, 262, -370, 721, -370, 175, 182, 184, 283, 811, + 811, -370, -370, 281, -370, 1275, -370, -370, -370, -370, + -370, -370, -370, -370, 284, 285, -370, -370, -370, -370, + 289, 186, -370, 290, 131, -370, -370, -370, 291, 292, + -370, -370, 293, 1253, -370, -370, 1649, -370, 295, -370, + -370, 721, 721, 721, 1649, 1539, 1561, -370, -370, -370, + 1407, -370, -370, 1649, -370, 2394, 1649, 1297, -370, -370, + -370, -370, 296, 297, -370, 300, -370, -370, 190, 721, + 193, 721, 201, -370, -370, -370, -370, -370, -370, -370, + 721, 271, -370, 721, -370, 721, -370, -370, -370, -370 +}; + +/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE does not specify something else to do. Zero + means the default is an error. */ +static const yytype_int16 yydefact[] = +{ + 0, 129, 108, 109, 110, 112, 113, 163, 159, 160, + 161, 123, 115, 116, 117, 118, 121, 122, 119, 120, + 114, 124, 125, 133, 134, 0, 0, 162, 164, 0, + 111, 271, 0, 95, 97, 127, 0, 128, 126, 99, + 101, 103, 93, 0, 268, 270, 153, 0, 0, 0, + 0, 169, 0, 186, 91, 0, 104, 107, 168, 0, + 94, 96, 132, 0, 98, 100, 102, 1, 269, 0, + 10, 157, 0, 154, 2, 7, 8, 11, 12, 0, + 0, 0, 9, 0, 0, 0, 37, 38, 39, 40, + 41, 42, 18, 3, 4, 6, 30, 43, 0, 45, + 49, 52, 55, 60, 63, 65, 67, 69, 71, 73, + 90, 0, 141, 199, 143, 0, 0, 0, 0, 162, + 187, 185, 184, 0, 92, 0, 0, 274, 0, 273, + 0, 0, 0, 167, 0, 0, 135, 0, 139, 0, + 0, 0, 149, 0, 34, 0, 31, 32, 0, 0, + 43, 75, 88, 0, 0, 0, 24, 25, 0, 0, + 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 166, 140, 0, 0, 201, 198, 202, 142, 165, + 158, 0, 170, 188, 183, 105, 107, 2, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 246, + 252, 0, 250, 251, 237, 238, 0, 248, 239, 240, + 241, 242, 0, 226, 106, 275, 272, 196, 181, 195, + 0, 190, 191, 0, 0, 171, 38, 0, 0, 0, + 130, 136, 0, 137, 0, 144, 148, 0, 151, 156, + 150, 155, 0, 0, 0, 0, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 77, 0, 5, 0, + 0, 23, 20, 0, 28, 0, 22, 46, 47, 48, + 50, 51, 53, 54, 58, 59, 56, 57, 61, 62, + 64, 66, 68, 70, 72, 0, 220, 0, 0, 0, + 204, 38, 0, 0, 200, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 264, 265, 266, + 0, 253, 247, 249, 0, 0, 228, 0, 0, 0, + 232, 0, 193, 201, 194, 180, 0, 182, 0, 0, + 0, 172, 179, 0, 178, 38, 0, 131, 146, 0, + 138, 0, 152, 35, 0, 36, 0, 76, 89, 0, + 44, 21, 0, 19, 0, 221, 203, 0, 0, 205, + 211, 0, 210, 0, 222, 0, 0, 212, 38, 0, + 0, 0, 243, 0, 245, 0, 0, 0, 0, 0, + 0, 263, 267, 0, 235, 0, 224, 227, 231, 233, + 189, 192, 197, 174, 0, 0, 175, 177, 145, 147, + 0, 0, 14, 0, 0, 29, 74, 207, 0, 0, + 209, 223, 0, 0, 213, 219, 0, 218, 0, 236, + 244, 0, 0, 0, 0, 0, 0, 234, 225, 230, + 0, 173, 176, 0, 13, 0, 0, 0, 26, 206, + 208, 215, 0, 0, 216, 255, 256, 257, 0, 0, + 0, 0, 0, 229, 17, 15, 16, 27, 214, 217, + 0, 0, 261, 0, 259, 0, 254, 258, 262, 260 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const yytype_int16 yypgoto[] = +{ + -370, -370, -370, -370, -370, -370, -370, -74, -370, -370, + 243, -370, -29, 122, 127, 52, 116, 188, 203, 205, + 207, 210, -370, -38, -59, -370, -82, -22, -49, 11, + -370, 263, -370, -42, -370, -370, 246, -115, -23, -370, + 41, -370, 322, -124, -370, -48, -370, -370, -18, -50, + -51, -119, -113, -370, 56, -370, -2, -91, -169, -122, + 34, -369, -370, 73, -27, -33, -370, -34, -370, 178, + -260, -370, -370, -370, -370, 352, -370, -370 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int16 yydefgoto[] = +{ + 0, 92, 93, 71, 94, 95, 411, 412, 96, 273, + 150, 98, 99, 100, 101, 102, 103, 104, 105, 106, + 107, 108, 109, 151, 152, 267, 211, 111, 31, 128, + 55, 56, 33, 34, 35, 36, 135, 136, 113, 244, + 245, 37, 72, 73, 38, 39, 40, 41, 118, 58, + 59, 122, 297, 231, 232, 233, 413, 298, 187, 326, + 327, 328, 329, 330, 42, 213, 214, 215, 216, 217, + 218, 219, 220, 221, 43, 44, 45, 130 +}; + +/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule whose + number is the opposite. If YYTABLE_NINF, syntax error. */ +static const yytype_int16 yytable[] = +{ + 114, 114, 121, 153, 224, 120, 112, 112, 127, 133, + 110, 32, 110, 238, 57, 114, 304, 251, 230, 162, + 241, 112, 186, 129, 163, 164, 440, 69, 117, 46, + 131, 51, 70, 48, 132, 70, 138, 114, 123, 179, + 137, 49, 62, 112, 60, 61, 115, 116, 51, 70, + 64, 65, 66, 140, 32, 390, 183, 165, 166, 124, + 184, 153, 185, 153, 114, 303, 114, 223, 50, 161, + 112, 194, 112, 237, 193, 51, 212, 275, 440, 51, + 51, 225, 51, 154, 120, 134, 114, 114, 141, 182, + 255, 188, 112, 112, 142, 114, 226, 114, 295, 274, + 114, 112, 110, 112, 52, 196, 112, 138, 138, 47, + 196, 137, 137, 250, 53, 340, 352, 180, 249, 246, + 51, 52, 63, 251, 241, 302, 320, 54, 269, 435, + 436, 53, 185, 277, 278, 279, 120, 148, 334, 169, + 170, 252, 229, 253, 349, 269, 254, 149, 52, 321, + 305, 242, 331, 331, 306, 52, 184, 184, 53, 176, + 110, 177, 53, 223, 304, 350, 392, 212, 167, 168, + 314, 243, 155, 156, 157, 339, 309, 175, 333, 346, + 368, 324, 247, 325, 178, 183, 120, 380, 248, 184, + 193, 114, 375, 52, 229, 53, 242, 112, 181, 398, + 8, 9, 10, 53, 110, 189, 397, 395, 357, 447, + 358, 332, 138, 396, 269, 448, 137, 363, 171, 172, + 348, 284, 285, 286, 287, 173, 174, 268, 269, 385, + 386, 387, 190, 119, 337, 338, 361, 362, 191, 158, + 367, 360, 192, 159, 373, 160, 270, 379, 53, 269, + 364, 120, 431, 269, 271, 193, 276, 423, 120, 432, + 269, 433, 269, 444, 445, 307, 389, 471, 269, 223, + 473, 269, 126, 439, 308, 382, 310, 384, 475, 269, + 333, 404, 311, 133, 405, 316, 110, 280, 281, 288, + 289, 97, 193, 97, 282, 283, 312, 313, 315, 317, + 223, 318, 393, 415, 335, 341, 336, 342, 114, 418, + 351, 353, 419, 110, 112, 354, 229, 422, 463, 355, + 193, 428, 144, 146, 147, 439, 416, 356, 120, 409, + 388, 246, 193, 365, 366, 369, 223, 381, 391, 370, + 383, 97, 229, 394, 402, 403, 406, 229, 407, 359, + 430, 417, 458, 460, 462, 420, 421, 424, 425, 434, + 470, 429, 437, 290, 452, 441, 442, 453, 443, 446, + 477, 465, 449, 450, 451, 193, 454, 468, 469, 291, + 239, 223, 292, 97, 464, 293, 195, 466, 223, 294, + 408, 139, 401, 414, 323, 68, 0, 114, 455, 456, + 457, 0, 399, 112, 0, 97, 97, 97, 97, 97, + 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, + 97, 97, 97, 0, 0, 0, 472, 0, 474, 0, + 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, + 478, 97, 479, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 197, 75, 76, 77, 78, 79, 0, 80, 81, 0, + 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, + 0, 0, 0, 0, 0, 97, 0, 1, 82, 2, + 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 97, 198, 199, 200, 0, 201, 202, + 203, 204, 205, 206, 207, 208, 26, 83, 27, 84, + 28, 29, 30, 85, 0, 0, 0, 0, 0, 0, + 125, 209, 86, 87, 88, 89, 90, 91, 266, 0, + 0, 0, 0, 0, 0, 0, 210, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 97, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 197, 75, 76, 77, 78, 79, 0, 80, 81, + 0, 0, 0, 0, 97, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 97, 1, 82, + 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 0, 198, 199, 200, 0, 201, + 202, 203, 204, 205, 206, 207, 208, 26, 83, 27, + 84, 28, 29, 30, 85, 0, 0, 0, 0, 0, + 0, 125, 322, 86, 87, 88, 89, 90, 91, 0, + 0, 74, 75, 76, 77, 78, 79, 210, 80, 81, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1, 82, + 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 197, 75, 76, 77, 78, 79, + 0, 80, 81, 0, 0, 0, 0, 26, 83, 27, + 84, 28, 29, 30, 85, 0, 0, 0, 0, 0, + 0, 0, 82, 86, 87, 88, 89, 90, 91, 0, + 0, 0, 0, 0, 0, 0, 0, 210, 74, 75, + 76, 77, 78, 79, 0, 80, 81, 0, 198, 199, + 200, 0, 201, 202, 203, 204, 205, 206, 207, 208, + 0, 83, 0, 84, 0, 0, 82, 85, 0, 0, + 0, 0, 0, 0, 125, 0, 86, 87, 88, 89, + 90, 91, 0, 0, 74, 75, 76, 77, 78, 79, + 210, 80, 81, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 83, 0, 84, 0, 0, + 0, 85, 82, 0, 0, 0, 0, 0, 0, 0, + 86, 87, 88, 89, 90, 91, 0, 0, 0, 0, + 0, 0, 0, 0, 319, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 83, 0, 84, 0, 0, 0, 85, 0, 0, + 0, 0, 0, 0, 0, 0, 86, 87, 88, 89, + 90, 91, 0, 0, 74, 75, 76, 77, 78, 79, + 210, 80, 81, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 82, 0, 0, 0, 0, 0, 0, 8, + 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 83, 27, 84, 0, 0, 0, 85, 0, 0, + 0, 0, 0, 0, 0, 0, 86, 87, 88, 89, + 90, 91, 74, 75, 76, 77, 78, 79, 0, 80, + 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 74, 75, 76, 77, 78, 79, + 82, 80, 81, 234, 0, 0, 0, 8, 9, 10, + 0, 0, 0, 0, 0, 0, 74, 75, 76, 77, + 78, 79, 82, 80, 81, 299, 0, 0, 0, 8, + 9, 10, 0, 0, 0, 0, 0, 0, 0, 83, + 119, 84, 0, 0, 82, 85, 0, 343, 0, 0, + 235, 8, 9, 10, 86, 236, 88, 89, 90, 91, + 0, 83, 119, 84, 0, 0, 0, 85, 0, 0, + 0, 0, 300, 0, 0, 0, 86, 301, 88, 89, + 90, 91, 0, 83, 119, 84, 0, 0, 0, 85, + 0, 0, 0, 0, 344, 0, 0, 0, 86, 345, + 88, 89, 90, 91, 74, 75, 76, 77, 78, 79, + 0, 80, 81, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 74, 75, 76, 77, + 78, 79, 82, 80, 81, 371, 0, 0, 0, 8, + 9, 10, 0, 0, 0, 0, 0, 0, 74, 75, + 76, 77, 78, 79, 82, 80, 81, 376, 0, 0, + 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, + 0, 83, 119, 84, 0, 0, 82, 85, 0, 426, + 0, 0, 372, 8, 9, 10, 86, 87, 88, 89, + 90, 91, 0, 83, 119, 84, 0, 0, 0, 85, + 0, 0, 0, 0, 377, 0, 0, 0, 86, 378, + 88, 89, 90, 91, 0, 83, 119, 84, 0, 0, + 0, 85, 0, 0, 0, 0, 427, 0, 0, 0, + 86, 87, 88, 89, 90, 91, 74, 75, 76, 77, + 78, 79, 0, 80, 81, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 74, 75, + 76, 77, 78, 79, 82, 80, 81, 0, 0, 0, + 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, + 74, 75, 76, 77, 78, 79, 82, 80, 81, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 83, 119, 84, 0, 0, 82, 85, + 0, 0, 0, 0, 0, 0, 0, 0, 86, 87, + 88, 89, 90, 91, 0, 83, 0, 84, 0, 0, + 0, 85, 0, 0, 0, 324, 0, 325, 222, 438, + 86, 87, 88, 89, 90, 91, 0, 83, 0, 84, + 0, 0, 0, 85, 0, 0, 0, 324, 0, 325, + 222, 467, 86, 87, 88, 89, 90, 91, 74, 75, + 76, 77, 78, 79, 0, 80, 81, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 74, 75, 76, 77, 78, 79, 82, 80, 81, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 74, 75, 76, 77, 78, 79, 82, 80, + 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 83, 0, 84, 0, 0, + 82, 85, 0, 0, 0, 324, 0, 325, 222, 0, + 86, 87, 88, 89, 90, 91, 0, 83, 0, 84, + 0, 0, 0, 85, 0, 0, 0, 0, 0, 0, + 222, 0, 86, 87, 88, 89, 90, 91, 0, 83, + 0, 84, 0, 0, 0, 85, 272, 0, 0, 0, + 0, 0, 0, 0, 86, 87, 88, 89, 90, 91, + 74, 75, 76, 77, 78, 79, 0, 80, 81, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 74, 75, 76, 77, 78, 79, 82, 80, + 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 74, 75, 76, 77, 78, 79, + 82, 80, 81, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 83, 0, 84, + 0, 0, 82, 85, 0, 0, 0, 0, 0, 0, + 359, 0, 86, 87, 88, 89, 90, 91, 0, 83, + 0, 84, 0, 0, 0, 85, 459, 0, 0, 0, + 0, 0, 0, 0, 86, 87, 88, 89, 90, 91, + 0, 83, 0, 84, 0, 0, 0, 85, 461, 0, + 0, 0, 0, 0, 0, 0, 86, 87, 88, 89, + 90, 91, 74, 75, 76, 77, 78, 79, 0, 80, + 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 74, 75, 76, 77, 78, 79, + 82, 80, 81, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 74, 75, 76, 77, + 78, 79, 82, 80, 81, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, + 0, 84, 0, 0, 82, 85, 0, 0, 0, 0, + 0, 0, 0, 0, 86, 87, 88, 89, 90, 91, + 0, 83, 0, 84, 0, 0, 0, 143, 0, 0, + 0, 0, 0, 0, 0, 0, 86, 87, 88, 89, + 90, 91, 51, 83, 0, 84, 0, 0, 0, 145, + 0, 0, 0, 0, 0, 0, 0, 0, 86, 87, + 88, 89, 90, 91, 0, 0, 0, 0, 0, 1, + 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 0, 67, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, + 27, 0, 28, 0, 30, 331, 296, 0, 0, 184, + 0, 0, 0, 0, 0, 53, 1, 0, 2, 3, + 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 227, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 26, 0, 27, 0, 28, + 29, 30, 0, 0, 0, 0, 0, 0, 0, 1, + 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, + 27, 0, 28, 0, 30, 1, 228, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 26, 0, 27, 0, 28, 29, + 30, 0, 0, 0, 0, 0, 0, 0, 125, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 126, 2, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 26, 0, 27, 0, 28, 0, 30, 183, 296, + 0, 1, 184, 0, 0, 0, 0, 0, 53, 8, + 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 27, 0, 0, 29, 0, 0, 1, 0, + 0, 0, 0, 0, 0, 240, 8, 9, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, + 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 347, 2, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 26, 0, 27, 0, 28, 29, 30, 0, 0, 0, + 0, 0, 0, 1, 125, 2, 3, 4, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 26, 0, 27, 0, 28, 0, 30, 1, + 374, 2, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, + 27, 0, 28, 29, 30, 1, 0, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 400, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 26, 0, 27, 0, 28, 1, + 30, 2, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 26, 0, + 27, 0, 28, 0, 30, 8, 9, 10, 11, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 0, 0, 27, 0, + 0, 29, 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 0, 0, 410, 0, 0, 0, 0, 0, 1, 0, + 0, 0, 0, 0, 0, 27, 8, 9, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 27 +}; + +static const yytype_int16 yycheck[] = +{ + 48, 49, 53, 85, 126, 53, 48, 49, 57, 59, + 48, 0, 50, 132, 32, 63, 185, 141, 131, 86, + 135, 63, 113, 57, 91, 92, 395, 83, 50, 3, + 76, 3, 3, 76, 80, 3, 63, 85, 78, 19, + 63, 76, 3, 85, 33, 34, 48, 49, 3, 3, + 39, 40, 41, 98, 43, 315, 76, 87, 88, 99, + 80, 143, 113, 145, 112, 184, 114, 126, 76, 98, + 112, 122, 114, 132, 122, 3, 125, 159, 447, 3, + 3, 130, 3, 85, 132, 83, 134, 135, 78, 112, + 149, 114, 134, 135, 84, 143, 130, 145, 180, 158, + 148, 143, 140, 145, 76, 123, 148, 134, 135, 83, + 128, 134, 135, 84, 86, 234, 84, 97, 140, 137, + 3, 76, 83, 247, 239, 184, 208, 99, 78, 389, + 390, 86, 183, 162, 163, 164, 184, 76, 229, 14, + 15, 143, 131, 145, 78, 78, 148, 76, 76, 99, + 76, 79, 76, 76, 80, 76, 80, 80, 86, 95, + 198, 96, 86, 222, 333, 99, 99, 216, 12, 13, + 203, 99, 9, 10, 11, 234, 198, 85, 229, 238, + 299, 80, 78, 82, 18, 76, 234, 306, 84, 80, + 238, 239, 305, 76, 183, 86, 79, 239, 77, 98, + 38, 39, 40, 86, 242, 77, 328, 78, 267, 78, + 269, 229, 239, 84, 78, 84, 239, 81, 93, 94, + 242, 169, 170, 171, 172, 16, 17, 77, 78, 311, + 312, 313, 77, 71, 77, 78, 77, 78, 78, 76, + 299, 270, 77, 80, 303, 82, 77, 306, 86, 78, + 79, 299, 77, 78, 3, 303, 3, 376, 306, 77, + 78, 77, 78, 77, 78, 6, 315, 77, 78, 328, + 77, 78, 98, 395, 79, 308, 79, 310, 77, 78, + 331, 340, 76, 333, 343, 3, 324, 165, 166, 173, + 174, 48, 340, 50, 167, 168, 76, 76, 76, 99, + 359, 99, 324, 362, 77, 81, 78, 81, 356, 368, + 79, 77, 371, 351, 356, 77, 305, 376, 440, 77, + 368, 380, 79, 80, 81, 447, 364, 78, 376, 351, + 62, 349, 380, 77, 77, 81, 395, 77, 99, 81, + 79, 98, 331, 3, 3, 81, 81, 336, 81, 83, + 383, 81, 434, 435, 436, 81, 77, 81, 81, 76, + 60, 99, 81, 175, 423, 81, 81, 426, 79, 79, + 99, 445, 81, 81, 81, 423, 81, 81, 81, 176, + 134, 440, 177, 140, 443, 178, 123, 446, 447, 179, + 349, 69, 336, 359, 216, 43, -1, 445, 431, 432, + 433, -1, 329, 445, -1, 162, 163, 164, 165, 166, + 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, + 177, 178, 179, -1, -1, -1, 459, -1, 461, -1, + -1, -1, -1, -1, -1, -1, -1, 470, -1, -1, + 473, 198, 475, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 3, 4, 5, 6, 7, 8, -1, 10, 11, -1, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + -1, -1, -1, -1, -1, 242, -1, 30, 31, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 53, 54, 55, 270, 57, 58, 59, -1, 61, 62, + 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, + 73, 74, 75, 76, -1, -1, -1, -1, -1, -1, + 83, 84, 85, 86, 87, 88, 89, 90, 98, -1, + -1, -1, -1, -1, -1, -1, 99, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 324, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 3, 4, 5, 6, 7, 8, -1, 10, 11, + -1, -1, -1, -1, 351, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 364, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, -1, 57, 58, 59, -1, 61, + 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 73, 74, 75, 76, -1, -1, -1, -1, -1, + -1, 83, 84, 85, 86, 87, 88, 89, 90, -1, + -1, 3, 4, 5, 6, 7, 8, 99, 10, 11, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 3, 4, 5, 6, 7, 8, + -1, 10, 11, -1, -1, -1, -1, 69, 70, 71, + 72, 73, 74, 75, 76, -1, -1, -1, -1, -1, + -1, -1, 31, 85, 86, 87, 88, 89, 90, -1, + -1, -1, -1, -1, -1, -1, -1, 99, 3, 4, + 5, 6, 7, 8, -1, 10, 11, -1, 57, 58, + 59, -1, 61, 62, 63, 64, 65, 66, 67, 68, + -1, 70, -1, 72, -1, -1, 31, 76, -1, -1, + -1, -1, -1, -1, 83, -1, 85, 86, 87, 88, + 89, 90, -1, -1, 3, 4, 5, 6, 7, 8, + 99, 10, 11, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 70, -1, 72, -1, -1, + -1, 76, 31, -1, -1, -1, -1, -1, -1, -1, + 85, 86, 87, 88, 89, 90, -1, -1, -1, -1, + -1, -1, -1, -1, 99, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 70, -1, 72, -1, -1, -1, 76, -1, -1, + -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, + 89, 90, -1, -1, 3, 4, 5, 6, 7, 8, + 99, 10, 11, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 30, 31, -1, -1, -1, -1, -1, -1, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 55, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 70, 71, 72, -1, -1, -1, 76, -1, -1, + -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, + 89, 90, 3, 4, 5, 6, 7, 8, -1, 10, + 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, + 31, 10, 11, 34, -1, -1, -1, 38, 39, 40, + -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, + 7, 8, 31, 10, 11, 34, -1, -1, -1, 38, + 39, 40, -1, -1, -1, -1, -1, -1, -1, 70, + 71, 72, -1, -1, 31, 76, -1, 34, -1, -1, + 81, 38, 39, 40, 85, 86, 87, 88, 89, 90, + -1, 70, 71, 72, -1, -1, -1, 76, -1, -1, + -1, -1, 81, -1, -1, -1, 85, 86, 87, 88, + 89, 90, -1, 70, 71, 72, -1, -1, -1, 76, + -1, -1, -1, -1, 81, -1, -1, -1, 85, 86, + 87, 88, 89, 90, 3, 4, 5, 6, 7, 8, + -1, 10, 11, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, + 7, 8, 31, 10, 11, 34, -1, -1, -1, 38, + 39, 40, -1, -1, -1, -1, -1, -1, 3, 4, + 5, 6, 7, 8, 31, 10, 11, 34, -1, -1, + -1, 38, 39, 40, -1, -1, -1, -1, -1, -1, + -1, 70, 71, 72, -1, -1, 31, 76, -1, 34, + -1, -1, 81, 38, 39, 40, 85, 86, 87, 88, + 89, 90, -1, 70, 71, 72, -1, -1, -1, 76, + -1, -1, -1, -1, 81, -1, -1, -1, 85, 86, + 87, 88, 89, 90, -1, 70, 71, 72, -1, -1, + -1, 76, -1, -1, -1, -1, 81, -1, -1, -1, + 85, 86, 87, 88, 89, 90, 3, 4, 5, 6, + 7, 8, -1, 10, 11, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, + 5, 6, 7, 8, 31, 10, 11, -1, -1, -1, + -1, 38, 39, 40, -1, -1, -1, -1, -1, -1, + 3, 4, 5, 6, 7, 8, 31, 10, 11, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 70, 71, 72, -1, -1, 31, 76, + -1, -1, -1, -1, -1, -1, -1, -1, 85, 86, + 87, 88, 89, 90, -1, 70, -1, 72, -1, -1, + -1, 76, -1, -1, -1, 80, -1, 82, 83, 84, + 85, 86, 87, 88, 89, 90, -1, 70, -1, 72, + -1, -1, -1, 76, -1, -1, -1, 80, -1, 82, + 83, 84, 85, 86, 87, 88, 89, 90, 3, 4, + 5, 6, 7, 8, -1, 10, 11, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 3, 4, 5, 6, 7, 8, 31, 10, 11, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3, 4, 5, 6, 7, 8, 31, 10, + 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 70, -1, 72, -1, -1, + 31, 76, -1, -1, -1, 80, -1, 82, 83, -1, + 85, 86, 87, 88, 89, 90, -1, 70, -1, 72, + -1, -1, -1, 76, -1, -1, -1, -1, -1, -1, + 83, -1, 85, 86, 87, 88, 89, 90, -1, 70, + -1, 72, -1, -1, -1, 76, 77, -1, -1, -1, + -1, -1, -1, -1, 85, 86, 87, 88, 89, 90, + 3, 4, 5, 6, 7, 8, -1, 10, 11, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3, 4, 5, 6, 7, 8, 31, 10, + 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, + 31, 10, 11, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 70, -1, 72, + -1, -1, 31, 76, -1, -1, -1, -1, -1, -1, + 83, -1, 85, 86, 87, 88, 89, 90, -1, 70, + -1, 72, -1, -1, -1, 76, 77, -1, -1, -1, + -1, -1, -1, -1, 85, 86, 87, 88, 89, 90, + -1, 70, -1, 72, -1, -1, -1, 76, 77, -1, + -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, + 89, 90, 3, 4, 5, 6, 7, 8, -1, 10, + 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, + 31, 10, 11, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, + 7, 8, 31, 10, 11, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 70, + -1, 72, -1, -1, 31, 76, -1, -1, -1, -1, + -1, -1, -1, -1, 85, 86, 87, 88, 89, 90, + -1, 70, -1, 72, -1, -1, -1, 76, -1, -1, + -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, + 89, 90, 3, 70, -1, 72, -1, -1, -1, 76, + -1, -1, -1, -1, -1, -1, -1, -1, 85, 86, + 87, 88, 89, 90, -1, -1, -1, -1, -1, 30, + -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, -1, 0, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, + 71, -1, 73, -1, 75, 76, 77, -1, -1, 80, + -1, -1, -1, -1, -1, 86, 30, -1, 32, 33, + 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, + 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, + 54, 55, 3, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 69, -1, 71, -1, 73, + 74, 75, -1, -1, -1, -1, -1, -1, -1, 30, + -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, + 71, -1, 73, -1, 75, 30, 77, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 69, -1, 71, -1, 73, 74, + 75, -1, -1, -1, -1, -1, -1, -1, 83, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 30, 98, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 69, -1, 71, -1, 73, -1, 75, 76, 77, + -1, 30, 80, -1, -1, -1, -1, -1, 86, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 55, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 71, -1, -1, 74, -1, -1, 30, -1, + -1, -1, -1, -1, -1, 84, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 71, + -1, -1, 74, -1, -1, -1, -1, -1, -1, -1, + -1, 30, 84, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 55, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 69, -1, 71, -1, 73, 74, 75, -1, -1, -1, + -1, -1, -1, 30, 83, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, + 47, 48, 49, 50, 51, 52, 53, 54, 55, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 69, -1, 71, -1, 73, -1, 75, 30, + 77, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, + 71, -1, 73, 74, 75, 30, -1, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 69, -1, 71, -1, 73, 30, + 75, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 30, 69, -1, + 71, -1, 73, -1, 75, 38, 39, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 53, 54, 55, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 30, -1, -1, -1, 71, -1, + -1, 74, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + -1, -1, 58, -1, -1, -1, -1, -1, 30, -1, + -1, -1, -1, -1, -1, 71, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 71 +}; + +/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of + state STATE-NUM. */ +static const yytype_uint8 yystos[] = +{ + 0, 30, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 69, 71, 73, 74, + 75, 128, 129, 132, 133, 134, 135, 141, 144, 145, + 146, 147, 164, 174, 175, 176, 3, 83, 76, 76, + 76, 3, 76, 86, 99, 130, 131, 148, 149, 150, + 129, 129, 3, 83, 129, 129, 129, 0, 175, 83, + 3, 103, 142, 143, 3, 4, 5, 6, 7, 8, + 10, 11, 31, 70, 72, 76, 85, 86, 87, 88, + 89, 90, 101, 102, 104, 105, 108, 110, 111, 112, + 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 127, 133, 138, 145, 156, 156, 127, 148, 71, + 145, 150, 151, 78, 99, 83, 98, 128, 129, 167, + 177, 76, 80, 149, 83, 136, 137, 138, 164, 142, + 98, 78, 84, 76, 110, 76, 110, 110, 76, 76, + 110, 123, 124, 126, 156, 9, 10, 11, 76, 80, + 82, 112, 86, 91, 92, 87, 88, 12, 13, 14, + 15, 93, 94, 16, 17, 85, 95, 96, 18, 19, + 97, 77, 138, 76, 80, 150, 157, 158, 138, 77, + 77, 78, 77, 145, 150, 131, 148, 3, 57, 58, + 59, 61, 62, 63, 64, 65, 66, 67, 68, 84, + 99, 126, 128, 165, 166, 167, 168, 169, 170, 171, + 172, 173, 83, 124, 159, 128, 167, 3, 77, 129, + 152, 153, 154, 155, 34, 81, 86, 124, 151, 136, + 84, 137, 79, 99, 139, 140, 148, 78, 84, 127, + 84, 143, 156, 156, 156, 124, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 98, 125, 77, 78, + 77, 3, 77, 109, 124, 126, 3, 112, 112, 112, + 113, 113, 114, 114, 115, 115, 115, 115, 116, 116, + 117, 118, 119, 120, 121, 126, 77, 152, 157, 34, + 81, 86, 124, 151, 158, 76, 80, 6, 79, 127, + 79, 76, 76, 76, 165, 76, 3, 99, 99, 99, + 126, 99, 84, 169, 80, 82, 159, 160, 161, 162, + 163, 76, 148, 150, 157, 77, 78, 77, 78, 124, + 151, 81, 81, 34, 81, 86, 124, 84, 127, 78, + 99, 79, 84, 77, 77, 77, 78, 124, 124, 83, + 112, 77, 78, 81, 79, 77, 77, 124, 151, 81, + 81, 34, 81, 124, 77, 152, 34, 81, 86, 124, + 151, 77, 165, 79, 165, 126, 126, 126, 62, 128, + 170, 99, 99, 127, 3, 78, 84, 159, 98, 163, + 56, 154, 3, 81, 124, 124, 81, 81, 140, 127, + 58, 106, 107, 156, 160, 124, 123, 81, 124, 124, + 81, 77, 124, 151, 81, 81, 34, 81, 124, 99, + 165, 77, 77, 77, 76, 170, 170, 81, 84, 159, + 161, 81, 81, 79, 77, 78, 79, 78, 84, 81, + 81, 81, 124, 124, 81, 165, 165, 165, 126, 77, + 126, 77, 126, 159, 124, 107, 124, 84, 81, 81, + 60, 77, 165, 77, 165, 77, 165, 99, 165, 165 +}; + +/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */ +static const yytype_uint8 yyr1[] = +{ + 0, 100, 101, 101, 101, 101, 101, 102, 102, 102, + 103, 104, 104, 105, 106, 106, 107, 107, 108, 108, + 108, 108, 108, 108, 108, 108, 108, 108, 109, 109, + 110, 110, 110, 110, 110, 110, 110, 111, 111, 111, + 111, 111, 111, 112, 112, 113, 113, 113, 113, 114, + 114, 114, 115, 115, 115, 116, 116, 116, 116, 116, + 117, 117, 117, 118, 118, 119, 119, 120, 120, 121, + 121, 122, 122, 123, 123, 124, 124, 125, 125, 125, + 125, 125, 125, 125, 125, 125, 125, 125, 126, 126, + 127, 128, 128, 128, 129, 129, 129, 129, 129, 129, + 129, 129, 129, 129, 130, 130, 131, 131, 132, 132, + 132, 132, 132, 132, 133, 133, 133, 133, 133, 133, + 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, + 134, 134, 134, 135, 135, 136, 136, 137, 137, 137, + 138, 138, 138, 138, 139, 139, 140, 140, 140, 141, + 141, 141, 141, 141, 142, 142, 143, 143, 144, 145, + 145, 145, 145, 146, 146, 147, 147, 148, 148, 149, + 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, + 149, 149, 149, 150, 150, 150, 150, 151, 151, 152, + 152, 153, 153, 154, 154, 154, 155, 155, 156, 156, + 157, 157, 157, 158, 158, 158, 158, 158, 158, 158, + 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, + 158, 158, 158, 158, 159, 159, 159, 160, 160, 160, + 160, 161, 162, 162, 163, 163, 164, 165, 165, 165, + 165, 165, 165, 166, 166, 166, 167, 167, 168, 168, + 169, 169, 170, 170, 171, 171, 171, 172, 172, 172, + 172, 172, 172, 173, 173, 173, 173, 173, 174, 174, + 175, 175, 176, 176, 177, 177 +}; + +/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */ +static const yytype_int8 yyr2[] = +{ + 0, 2, 1, 1, 1, 3, 1, 1, 1, 1, + 1, 1, 1, 6, 1, 3, 3, 3, 1, 4, + 3, 4, 3, 3, 2, 2, 6, 7, 1, 3, + 1, 2, 2, 2, 2, 4, 4, 1, 1, 1, + 1, 1, 1, 1, 4, 1, 3, 3, 3, 1, + 3, 3, 1, 3, 3, 1, 3, 3, 3, 3, + 1, 3, 3, 1, 3, 1, 3, 1, 3, 1, + 3, 1, 3, 1, 5, 1, 3, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, + 1, 2, 3, 1, 2, 1, 2, 1, 2, 1, + 2, 1, 2, 1, 1, 3, 3, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 4, 5, 2, 1, 1, 1, 2, 2, 3, 1, + 2, 1, 2, 1, 1, 3, 2, 3, 1, 4, + 5, 5, 6, 2, 1, 3, 3, 1, 4, 1, + 1, 1, 1, 1, 1, 4, 4, 2, 1, 1, + 3, 3, 4, 6, 5, 5, 6, 5, 4, 4, + 4, 3, 4, 3, 2, 2, 1, 1, 2, 3, + 1, 1, 3, 2, 2, 1, 1, 3, 2, 1, + 2, 1, 1, 3, 2, 3, 5, 4, 5, 4, + 3, 3, 3, 4, 6, 5, 5, 6, 4, 4, + 2, 3, 3, 4, 3, 4, 1, 2, 1, 4, + 3, 2, 1, 2, 3, 2, 7, 1, 1, 1, + 1, 1, 1, 3, 4, 3, 2, 3, 1, 2, + 1, 1, 1, 2, 7, 5, 5, 5, 7, 6, + 7, 6, 7, 3, 2, 2, 2, 3, 1, 2, + 1, 1, 4, 3, 1, 2 +}; + + +enum { YYENOMEM = -2 }; + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab +#define YYNOMEM goto yyexhaustedlab + + +#define YYRECOVERING() (!!yyerrstatus) + +#define YYBACKUP(Token, Value) \ + do \ + if (yychar == YYEMPTY) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (yylen); \ + yystate = *yyssp; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror (YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ + while (0) + +/* Backward compatibility with an undocumented macro. + Use YYerror or YYUNDEF. */ +#define YYERRCODE YYUNDEF + + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + + + + +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Kind, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + + +/*-----------------------------------. +| Print this symbol's value on YYO. | +`-----------------------------------*/ + +static void +yy_symbol_value_print (FILE *yyo, + yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) +{ + FILE *yyoutput = yyo; + YY_USE (yyoutput); + if (!yyvaluep) + return; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YY_USE (yykind); + YY_IGNORE_MAYBE_UNINITIALIZED_END +} + + +/*---------------------------. +| Print this symbol on YYO. | +`---------------------------*/ + +static void +yy_symbol_print (FILE *yyo, + yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) +{ + YYFPRINTF (yyo, "%s %s (", + yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind)); + + yy_symbol_value_print (yyo, yykind, yyvaluep); + YYFPRINTF (yyo, ")"); +} + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ + +static void +yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) +{ + YYFPRINTF (stderr, "Stack now"); + for (; yybottom <= yytop; yybottom++) + { + int yybot = *yybottom; + YYFPRINTF (stderr, " %d", yybot); + } + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +static void +yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, + int yyrule) +{ + int yylno = yyrline[yyrule]; + int yynrhs = yyr2[yyrule]; + int yyi; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n", + yyrule - 1, yylno); + /* The symbols being reduced. */ + for (yyi = 0; yyi < yynrhs; yyi++) + { + YYFPRINTF (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, + YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]), + &yyvsp[(yyi + 1) - (yynrhs)]); + YYFPRINTF (stderr, "\n"); + } +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyssp, yyvsp, Rule); \ +} while (0) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) ((void) 0) +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + + + + + +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +static void +yydestruct (const char *yymsg, + yysymbol_kind_t yykind, YYSTYPE *yyvaluep) +{ + YY_USE (yyvaluep); + if (!yymsg) + yymsg = "Deleting"; + YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp); + + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YY_USE (yykind); + YY_IGNORE_MAYBE_UNINITIALIZED_END +} + + +/* Lookahead token kind. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; +/* Number of syntax errors so far. */ +int yynerrs; + + + + +/*----------. +| yyparse. | +`----------*/ + +int +yyparse (void) +{ + yy_state_fast_t yystate = 0; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus = 0; + + /* Refer to the stacks through separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* Their size. */ + YYPTRDIFF_T yystacksize = YYINITDEPTH; + + /* The state stack: array, bottom, top. */ + yy_state_t yyssa[YYINITDEPTH]; + yy_state_t *yyss = yyssa; + yy_state_t *yyssp = yyss; + + /* The semantic value stack: array, bottom, top. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + YYSTYPE *yyvsp = yyvs; + + int yyn; + /* The return value of yyparse. */ + int yyresult; + /* Lookahead symbol kind. */ + yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY; + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + +#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) + + /* The number of symbols on the RHS of the reduced rule. + Keep to zero when no symbol should be popped. */ + int yylen = 0; + + YYDPRINTF ((stderr, "Starting parse\n")); + + yychar = YYEMPTY; /* Cause a token to be read. */ + + goto yysetstate; + + +/*------------------------------------------------------------. +| yynewstate -- push a new state, which is found in yystate. | +`------------------------------------------------------------*/ +yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. So pushing a state here evens the stacks. */ + yyssp++; + + +/*--------------------------------------------------------------------. +| yysetstate -- set current state (the top of the stack) to yystate. | +`--------------------------------------------------------------------*/ +yysetstate: + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + YY_ASSERT (0 <= yystate && yystate < YYNSTATES); + YY_IGNORE_USELESS_CAST_BEGIN + *yyssp = YY_CAST (yy_state_t, yystate); + YY_IGNORE_USELESS_CAST_END + YY_STACK_PRINT (yyss, yyssp); + + if (yyss + yystacksize - 1 <= yyssp) +#if !defined yyoverflow && !defined YYSTACK_RELOCATE + YYNOMEM; +#else + { + /* Get the current used size of the three stacks, in elements. */ + YYPTRDIFF_T yysize = yyssp - yyss + 1; + +# if defined yyoverflow + { + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + yy_state_t *yyss1 = yyss; + YYSTYPE *yyvs1 = yyvs; + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), + &yyss1, yysize * YYSIZEOF (*yyssp), + &yyvs1, yysize * YYSIZEOF (*yyvsp), + &yystacksize); + yyss = yyss1; + yyvs = yyvs1; + } +# else /* defined YYSTACK_RELOCATE */ + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + YYNOMEM; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + yy_state_t *yyss1 = yyss; + union yyalloc *yyptr = + YY_CAST (union yyalloc *, + YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize)))); + if (! yyptr) + YYNOMEM; + YYSTACK_RELOCATE (yyss_alloc, yyss); + YYSTACK_RELOCATE (yyvs_alloc, yyvs); +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + YY_IGNORE_USELESS_CAST_BEGIN + YYDPRINTF ((stderr, "Stack size increased to %ld\n", + YY_CAST (long, yystacksize))); + YY_IGNORE_USELESS_CAST_END + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } +#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ + + + if (yystate == YYFINAL) + YYACCEPT; + + goto yybackup; + + +/*-----------. +| yybackup. | +`-----------*/ +yybackup: + /* Do appropriate processing given the current state. Read a + lookahead token if we need one and don't already have one. */ + + /* First try to decide what to do without reference to lookahead token. */ + yyn = yypact[yystate]; + if (yypact_value_is_default (yyn)) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token\n")); + yychar = yylex (); + } + + if (yychar <= YYEOF) + { + yychar = YYEOF; + yytoken = YYSYMBOL_YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else if (yychar == YYerror) + { + /* The scanner already issued an error message, process directly + to error recovery. But do not keep the error token as + lookahead, it is too special and may lead us to an endless + loop in error recovery. */ + yychar = YYUNDEF; + yytoken = YYSYMBOL_YYerror; + goto yyerrlab1; + } + else + { + yytoken = YYTRANSLATE (yychar); + YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yytable_value_is_error (yyn)) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + /* Shift the lookahead token. */ + YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); + yystate = yyn; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END + + /* Discard the shifted token. */ + yychar = YYEMPTY; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + '$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + +#line 2188 "y.tab.c" + + default: break; + } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ + YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc); + + YYPOPSTACK (yylen); + yylen = 0; + + *++yyvsp = yyval; + + /* Now 'shift' the result of the reduction. Determine what state + that goes to, based on the state we popped back to and the rule + number reduced by. */ + { + const int yylhs = yyr1[yyn] - YYNTOKENS; + const int yyi = yypgoto[yylhs] + *yyssp; + yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp + ? yytable[yyi] + : yydefgoto[yylhs]); + } + + goto yynewstate; + + +/*--------------------------------------. +| yyerrlab -- here on detecting error. | +`--------------------------------------*/ +yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; + yyerror (YY_("syntax error")); + } + + if (yyerrstatus == 3) + { + /* If just tried and failed to reuse lookahead token after an + error, discard it. */ + + if (yychar <= YYEOF) + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } + else + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab1; + + +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: + /* Pacify compilers when the user code never invokes YYERROR and the + label yyerrorlab therefore never appears in user code. */ + if (0) + YYERROR; + ++yynerrs; + + /* Do not reclaim the symbols of the rule whose action triggered + this YYERROR. */ + YYPOPSTACK (yylen); + yylen = 0; + YY_STACK_PRINT (yyss, yyssp); + yystate = *yyssp; + goto yyerrlab1; + + +/*-------------------------------------------------------------. +| yyerrlab1 -- common code for both syntax error and YYERROR. | +`-------------------------------------------------------------*/ +yyerrlab1: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + /* Pop stack until we find a state that shifts the error token. */ + for (;;) + { + yyn = yypact[yystate]; + if (!yypact_value_is_default (yyn)) + { + yyn += YYSYMBOL_YYerror; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + + yydestruct ("Error: popping", + YY_ACCESSING_SYMBOL (yystate), yyvsp); + YYPOPSTACK (1); + yystate = *yyssp; + YY_STACK_PRINT (yyss, yyssp); + } + + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END + + + /* Shift the error token. */ + YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp); + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturnlab; + + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturnlab; + + +/*-----------------------------------------------------------. +| yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here. | +`-----------------------------------------------------------*/ +yyexhaustedlab: + yyerror (YY_("memory exhausted")); + yyresult = 2; + goto yyreturnlab; + + +/*----------------------------------------------------------. +| yyreturnlab -- parsing is finished, clean up and return. | +`----------------------------------------------------------*/ +yyreturnlab: + if (yychar != YYEMPTY) + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + } + /* Do not reclaim the symbols of the rule whose action triggered + this YYABORT or YYACCEPT. */ + YYPOPSTACK (yylen); + YY_STACK_PRINT (yyss, yyssp); + while (yyssp != yyss) + { + yydestruct ("Cleanup: popping", + YY_ACCESSING_SYMBOL (+*yyssp), yyvsp); + YYPOPSTACK (1); + } +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + + return yyresult; +} + +#line 527 "ansi.yacc" + +#include + +void yyerror(const char *s) +{ + fflush(stdout); + fprintf(stderr, "*** %s\n", s); +} diff --git a/homework/4MI3400199/C2HTML/y.tab.h b/homework/4MI3400199/C2HTML/y.tab.h new file mode 100644 index 00000000..25545bc3 --- /dev/null +++ b/homework/4MI3400199/C2HTML/y.tab.h @@ -0,0 +1,226 @@ +/* A Bison parser, made by GNU Bison 3.8.2. */ + +/* Bison interface for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, + especially those whose name start with YY_ or yy_. They are + private implementation details that can be changed or removed. */ + +#ifndef YY_YY_Y_TAB_H_INCLUDED +# define YY_YY_Y_TAB_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + +/* Token kinds. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + enum yytokentype + { + YYEMPTY = -2, + YYEOF = 0, /* "end of file" */ + YYerror = 256, /* error */ + YYUNDEF = 257, /* "invalid token" */ + IDENTIFIER = 258, /* IDENTIFIER */ + I_CONSTANT = 259, /* I_CONSTANT */ + F_CONSTANT = 260, /* F_CONSTANT */ + STRING_LITERAL = 261, /* STRING_LITERAL */ + FUNC_NAME = 262, /* FUNC_NAME */ + SIZEOF = 263, /* SIZEOF */ + PTR_OP = 264, /* PTR_OP */ + INC_OP = 265, /* INC_OP */ + DEC_OP = 266, /* DEC_OP */ + LEFT_OP = 267, /* LEFT_OP */ + RIGHT_OP = 268, /* RIGHT_OP */ + LE_OP = 269, /* LE_OP */ + GE_OP = 270, /* GE_OP */ + EQ_OP = 271, /* EQ_OP */ + NE_OP = 272, /* NE_OP */ + AND_OP = 273, /* AND_OP */ + OR_OP = 274, /* OR_OP */ + MUL_ASSIGN = 275, /* MUL_ASSIGN */ + DIV_ASSIGN = 276, /* DIV_ASSIGN */ + MOD_ASSIGN = 277, /* MOD_ASSIGN */ + ADD_ASSIGN = 278, /* ADD_ASSIGN */ + SUB_ASSIGN = 279, /* SUB_ASSIGN */ + LEFT_ASSIGN = 280, /* LEFT_ASSIGN */ + RIGHT_ASSIGN = 281, /* RIGHT_ASSIGN */ + AND_ASSIGN = 282, /* AND_ASSIGN */ + XOR_ASSIGN = 283, /* XOR_ASSIGN */ + OR_ASSIGN = 284, /* OR_ASSIGN */ + TYPEDEF_NAME = 285, /* TYPEDEF_NAME */ + ENUMERATION_CONSTANT = 286, /* ENUMERATION_CONSTANT */ + TYPEDEF = 287, /* TYPEDEF */ + EXTERN = 288, /* EXTERN */ + STATIC = 289, /* STATIC */ + AUTO = 290, /* AUTO */ + REGISTER = 291, /* REGISTER */ + INLINE = 292, /* INLINE */ + CONST = 293, /* CONST */ + RESTRICT = 294, /* RESTRICT */ + VOLATILE = 295, /* VOLATILE */ + BOOL = 296, /* BOOL */ + CHAR = 297, /* CHAR */ + SHORT = 298, /* SHORT */ + INT = 299, /* INT */ + LONG = 300, /* LONG */ + SIGNED = 301, /* SIGNED */ + UNSIGNED = 302, /* UNSIGNED */ + FLOAT = 303, /* FLOAT */ + DOUBLE = 304, /* DOUBLE */ + VOID = 305, /* VOID */ + COMPLEX = 306, /* COMPLEX */ + IMAGINARY = 307, /* IMAGINARY */ + STRUCT = 308, /* STRUCT */ + UNION = 309, /* UNION */ + ENUM = 310, /* ENUM */ + ELLIPSIS = 311, /* ELLIPSIS */ + CASE = 312, /* CASE */ + DEFAULT = 313, /* DEFAULT */ + IF = 314, /* IF */ + ELSE = 315, /* ELSE */ + SWITCH = 316, /* SWITCH */ + WHILE = 317, /* WHILE */ + DO = 318, /* DO */ + FOR = 319, /* FOR */ + GOTO = 320, /* GOTO */ + CONTINUE = 321, /* CONTINUE */ + BREAK = 322, /* BREAK */ + RETURN = 323, /* RETURN */ + ALIGNAS = 324, /* ALIGNAS */ + ALIGNOF = 325, /* ALIGNOF */ + ATOMIC = 326, /* ATOMIC */ + GENERIC = 327, /* GENERIC */ + NORETURN = 328, /* NORETURN */ + STATIC_ASSERT = 329, /* STATIC_ASSERT */ + THREAD_LOCAL = 330 /* THREAD_LOCAL */ + }; + typedef enum yytokentype yytoken_kind_t; +#endif +/* Token kinds. */ +#define YYEMPTY -2 +#define YYEOF 0 +#define YYerror 256 +#define YYUNDEF 257 +#define IDENTIFIER 258 +#define I_CONSTANT 259 +#define F_CONSTANT 260 +#define STRING_LITERAL 261 +#define FUNC_NAME 262 +#define SIZEOF 263 +#define PTR_OP 264 +#define INC_OP 265 +#define DEC_OP 266 +#define LEFT_OP 267 +#define RIGHT_OP 268 +#define LE_OP 269 +#define GE_OP 270 +#define EQ_OP 271 +#define NE_OP 272 +#define AND_OP 273 +#define OR_OP 274 +#define MUL_ASSIGN 275 +#define DIV_ASSIGN 276 +#define MOD_ASSIGN 277 +#define ADD_ASSIGN 278 +#define SUB_ASSIGN 279 +#define LEFT_ASSIGN 280 +#define RIGHT_ASSIGN 281 +#define AND_ASSIGN 282 +#define XOR_ASSIGN 283 +#define OR_ASSIGN 284 +#define TYPEDEF_NAME 285 +#define ENUMERATION_CONSTANT 286 +#define TYPEDEF 287 +#define EXTERN 288 +#define STATIC 289 +#define AUTO 290 +#define REGISTER 291 +#define INLINE 292 +#define CONST 293 +#define RESTRICT 294 +#define VOLATILE 295 +#define BOOL 296 +#define CHAR 297 +#define SHORT 298 +#define INT 299 +#define LONG 300 +#define SIGNED 301 +#define UNSIGNED 302 +#define FLOAT 303 +#define DOUBLE 304 +#define VOID 305 +#define COMPLEX 306 +#define IMAGINARY 307 +#define STRUCT 308 +#define UNION 309 +#define ENUM 310 +#define ELLIPSIS 311 +#define CASE 312 +#define DEFAULT 313 +#define IF 314 +#define ELSE 315 +#define SWITCH 316 +#define WHILE 317 +#define DO 318 +#define FOR 319 +#define GOTO 320 +#define CONTINUE 321 +#define BREAK 322 +#define RETURN 323 +#define ALIGNAS 324 +#define ALIGNOF 325 +#define ATOMIC 326 +#define GENERIC 327 +#define NORETURN 328 +#define STATIC_ASSERT 329 +#define THREAD_LOCAL 330 + +/* Value type. */ +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef int YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 +#endif + + +extern YYSTYPE yylval; + + +int yyparse (void); + + +#endif /* !YY_YY_Y_TAB_H_INCLUDED */ From 5abd499104cbb2c0a4607ebd7ddfece6a16951f6 Mon Sep 17 00:00:00 2001 From: PeterBadzhakov Date: Thu, 27 Oct 2022 22:44:45 +0300 Subject: [PATCH 2/2] Removed project files and binaries. --- homework/4MI3400199/C2HTML/a.out | Bin 61312 -> 0 bytes homework/4MI3400199/C2HTML/lex.yy.c | 2660 --------------------------- homework/4MI3400199/C2HTML/y.tab.c | 2388 ------------------------ homework/4MI3400199/C2HTML/y.tab.h | 226 --- 4 files changed, 5274 deletions(-) delete mode 100755 homework/4MI3400199/C2HTML/a.out delete mode 100644 homework/4MI3400199/C2HTML/lex.yy.c delete mode 100644 homework/4MI3400199/C2HTML/y.tab.c delete mode 100644 homework/4MI3400199/C2HTML/y.tab.h diff --git a/homework/4MI3400199/C2HTML/a.out b/homework/4MI3400199/C2HTML/a.out deleted file mode 100755 index cc893156f668e41cb2947d88138c0a3e5691417d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 61312 zcmeFa2Ygh;`Zqqan@s|NB$UugsDhZ#kxnRqMH2`R>Q$CavVllQ!e#@Zmk?lG2)(E% zh=K|#cCm+|K}7}iD%S=gY9gqpsMy%|`^?NKyChuocklcD{{IhicFxQ^&+~nzmoumA zqQs=37S5SwtgJty(3Dz|lAss~Unmcp1lE()#JLS?%|a0l5j4q9kPf)goUjDC;fijB zOSlH)sl;s}$xLp~B0s!Y2G$UYy9y+Od z&|DQg>zJLD)}vd;?2NeVtek?vxWb-2;(Bz8&(DqTB9cJq>I6$|YS@Ue%(9r35>3N% z#sk8ZpfJhSg{5LA{Ci{5ntWN(FS}i{M^86SP9AD&PR+NQAPomK_?i7M#7fgTGRY~nzu zO#h@R=uNAj52=D4Rt0@&74)rD(3ey}ua5$b1uxk20im*dZLfm9y9&Cq3VOFH=%cHk zx2l5vP!;sHRpiSH`IfN3rX2{C<@ZL=Y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M3DR{Y}W5>Iusri$3tM!mX$cdB*gyvWO zT!mP3p%SyuV*d8y+95`prR80OVDDGKlth6*tI~s?&isnb@X z9NbUK$Hw!2#L)E+Ey=MRAWQ>Xmy*%kCNij>N!DyyA%LZlj{iT6ov}+?K@i5TwGdLM z^+61zyda3piAer{V39g$0)aF(AsFzl2*mP)fK7@6Yw?8;lGx-RO$Z1UDHNNl1iQ@l zW`6tD(E}HJ-_GoOyZiR-J9lS?yS3nh8?~|J%Q`CbtA;iIUGTx>#AjcDTFc0qk6#(= zV;GqE3Vyk=7(wnIKNL6!o-GsGl>7hEv|7W$mmfe097TcpsIh}@2kC8kZC6p?6Q>Do zqybN2Z`-(vfrL-oBZ$9{{$mI38ecJ$$i!8G&#YW2_usXCj;=9O2xMTiCg2hZ#s<$^_O*jtpC~Xn@OAU^Oqm7=J$gK=JAi>(#%2PvmXTK zxiN3P@Ith2Z@bw(r!OG;GVF8z4};J6_g;i$;L29W0sWhz{a%o_4e2pPAwKcimGhcE_vBw1S91qG ze$}(!pT+%a{wvWg^FZMtGJ)Uxl9k0@A3HvFC|CI4wUyL-;;PSsKQ2tqzyo!DQ1kIm z?KN({FoTa;@2Bc2{hxTr=f*L&-*5npU3a(iSu{T z3kM&3K7&7udAN>YbPf@G75uvI%D 0 -#define FLEX_BETA -#endif - -/* First, we deal with platform-specific or compiler-specific issues. */ - -/* begin standard C headers. */ -#include -#include -#include -#include - -/* end standard C headers. */ - -/* flex integer type definitions */ - -#ifndef FLEXINT_H -#define FLEXINT_H - -/* C99 systems have . Non-C99 systems may or may not. */ - -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L - -/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, - * if you want the limit (max/min) macros for int types. - */ -#ifndef __STDC_LIMIT_MACROS -#define __STDC_LIMIT_MACROS 1 -#endif - -#include -typedef int8_t flex_int8_t; -typedef uint8_t flex_uint8_t; -typedef int16_t flex_int16_t; -typedef uint16_t flex_uint16_t; -typedef int32_t flex_int32_t; -typedef uint32_t flex_uint32_t; -#else -typedef signed char flex_int8_t; -typedef short int flex_int16_t; -typedef int flex_int32_t; -typedef unsigned char flex_uint8_t; -typedef unsigned short int flex_uint16_t; -typedef unsigned int flex_uint32_t; - -/* Limits of integral types. */ -#ifndef INT8_MIN -#define INT8_MIN (-128) -#endif -#ifndef INT16_MIN -#define INT16_MIN (-32767-1) -#endif -#ifndef INT32_MIN -#define INT32_MIN (-2147483647-1) -#endif -#ifndef INT8_MAX -#define INT8_MAX (127) -#endif -#ifndef INT16_MAX -#define INT16_MAX (32767) -#endif -#ifndef INT32_MAX -#define INT32_MAX (2147483647) -#endif -#ifndef UINT8_MAX -#define UINT8_MAX (255U) -#endif -#ifndef UINT16_MAX -#define UINT16_MAX (65535U) -#endif -#ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) -#endif - -#ifndef SIZE_MAX -#define SIZE_MAX (~(size_t)0) -#endif - -#endif /* ! C99 */ - -#endif /* ! FLEXINT_H */ - -/* begin standard C++ headers. */ - -/* TODO: this is always defined, so inline it */ -#define yyconst const - -#if defined(__GNUC__) && __GNUC__ >= 3 -#define yynoreturn __attribute__((__noreturn__)) -#else -#define yynoreturn -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an - * integer in range [0..255] for use as an array index. - */ -#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN (yy_start) = 1 + 2 * -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START (((yy_start) - 1) / 2) -#define YYSTATE YY_START -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#ifndef YY_BUF_SIZE -#ifdef __ia64__ -/* On IA-64, the buffer size is 16k, not 8k. - * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. - * Ditto for the __ia64__ case accordingly. - */ -#define YY_BUF_SIZE 32768 -#else -#define YY_BUF_SIZE 16384 -#endif /* __ia64__ */ -#endif - -/* The state buf must be large enough to hold one state per character in the main buffer. - */ -#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) - -#ifndef YY_TYPEDEF_YY_BUFFER_STATE -#define YY_TYPEDEF_YY_BUFFER_STATE -typedef struct yy_buffer_state *YY_BUFFER_STATE; -#endif - -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - -extern int yyleng; - -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - - #define YY_LESS_LINENO(n) - #define YY_LINENO_REWIND_TO(ptr) - -/* Return all but the first "n" matched characters back to the input stream. */ -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ - YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) -#define unput(c) yyunput( c, (yytext_ptr) ) - -#ifndef YY_STRUCT_YY_BUFFER_STATE -#define YY_STRUCT_YY_BUFFER_STATE -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - int yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - int yy_bs_lineno; /**< The line count. */ - int yy_bs_column; /**< The column count. */ - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; - -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - - }; -#endif /* !YY_STRUCT_YY_BUFFER_STATE */ - -/* Stack of input buffers. */ -static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ -static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ -static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - * - * Returns the top of the stack, or NULL. - */ -#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ - ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ - : NULL) -/* Same as previous macro, but useful when we know that the buffer stack is not - * NULL or when we need an lvalue. For internal use only. - */ -#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; -static int yy_n_chars; /* number of characters read into yy_ch_buf */ -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = NULL; -static int yy_init = 0; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart ( FILE *input_file ); -void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); -void yy_delete_buffer ( YY_BUFFER_STATE b ); -void yy_flush_buffer ( YY_BUFFER_STATE b ); -void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); -void yypop_buffer_state ( void ); - -static void yyensure_buffer_stack ( void ); -static void yy_load_buffer_state ( void ); -static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); -#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) - -YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); -YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); -YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); - -void *yyalloc ( yy_size_t ); -void *yyrealloc ( void *, yy_size_t ); -void yyfree ( void * ); - -#define yy_new_buffer yy_create_buffer -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! YY_CURRENT_BUFFER ){ \ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer( yyin, YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ - } -#define yy_set_bol(at_bol) \ - { \ - if ( ! YY_CURRENT_BUFFER ){\ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer( yyin, YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ - } -#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) - -/* Begin user sect3 */ -typedef flex_uint8_t YY_CHAR; - -FILE *yyin = NULL, *yyout = NULL; - -typedef int yy_state_type; - -extern int yylineno; -int yylineno = 1; - -extern char *yytext; -#ifdef yytext_ptr -#undef yytext_ptr -#endif -#define yytext_ptr yytext - -static yy_state_type yy_get_previous_state ( void ); -static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); -static int yy_get_next_buffer ( void ); -static void yynoreturn yy_fatal_error ( const char* msg ); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - (yy_hold_char) = *yy_cp; \ - *yy_cp = '\0'; \ - (yy_c_buf_p) = yy_cp; -#define YY_NUM_RULES 112 -#define YY_END_OF_BUFFER 113 -/* This struct is not used in this scanner, - but its presence is necessary. */ -struct yy_trans_info - { - flex_int32_t yy_verify; - flex_int32_t yy_nxt; - }; -static const flex_int16_t yy_accept[391] = - { 0, - 0, 0, 113, 111, 109, 110, 97, 111, 5, 103, - 96, 111, 91, 92, 101, 100, 88, 99, 95, 102, - 54, 53, 89, 85, 104, 90, 105, 108, 51, 51, - 93, 94, 106, 51, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 51, 51, 51, 51, 51, 86, - 107, 87, 98, 109, 110, 84, 0, 62, 0, 5, - 70, 87, 79, 71, 0, 0, 3, 68, 76, 66, - 77, 67, 78, 0, 57, 1, 2, 69, 58, 54, - 0, 0, 54, 54, 0, 54, 53, 53, 53, 53, - 94, 86, 0, 93, 75, 81, 83, 82, 74, 51, - - 0, 0, 72, 51, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 51, 51, 51, 51, 13, 51, - 51, 51, 51, 51, 51, 21, 51, 51, 51, 51, - 51, 51, 51, 51, 51, 51, 51, 51, 73, 80, - 62, 0, 0, 0, 0, 55, 0, 0, 63, 0, - 57, 2, 0, 58, 0, 56, 54, 54, 54, 54, - 0, 52, 53, 53, 53, 53, 4, 65, 64, 51, - 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 19, 51, 51, 23, 51, 51, 51, 51, 51, 51, - - 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 0, 0, 0, 0, 0, 57, 0, 58, 56, 54, - 0, 0, 52, 0, 52, 52, 53, 51, 51, 51, - 51, 51, 51, 51, 51, 51, 51, 6, 51, 8, - 9, 51, 51, 51, 51, 15, 16, 51, 51, 20, - 51, 24, 51, 51, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 37, 51, 51, 0, 0, 0, - 0, 0, 0, 52, 52, 0, 59, 52, 52, 51, - 51, 43, 51, 51, 51, 51, 51, 51, 51, 7, - 10, 51, 51, 51, 51, 18, 51, 51, 51, 51, - - 28, 51, 51, 51, 51, 51, 51, 35, 51, 51, - 39, 0, 60, 0, 61, 59, 52, 51, 51, 51, - 51, 51, 51, 51, 51, 51, 51, 51, 14, 17, - 22, 51, 51, 27, 29, 30, 31, 32, 33, 51, - 51, 51, 60, 61, 51, 51, 42, 51, 51, 51, - 51, 51, 51, 51, 51, 12, 51, 51, 34, 51, - 51, 40, 41, 44, 45, 51, 51, 51, 51, 50, - 11, 25, 26, 36, 38, 51, 47, 51, 51, 46, - 51, 51, 51, 51, 51, 51, 51, 49, 48, 0 - } ; - -static const YY_CHAR yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 4, 5, 6, 1, 7, 8, 9, 10, - 11, 12, 13, 14, 15, 16, 17, 18, 19, 19, - 19, 19, 19, 19, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 1, 28, 29, 30, 31, 32, 33, - 34, 35, 36, 35, 35, 37, 35, 38, 35, 39, - 35, 35, 40, 41, 42, 35, 35, 43, 35, 35, - 44, 45, 46, 47, 48, 1, 49, 50, 51, 52, - - 53, 54, 55, 56, 57, 35, 58, 59, 60, 61, - 62, 63, 35, 64, 65, 66, 67, 68, 69, 70, - 71, 72, 73, 74, 75, 76, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static const YY_CHAR yy_meta[77] = - { 0, - 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, - 1, 1, 1, 1, 1, 6, 1, 7, 7, 8, - 8, 4, 1, 4, 4, 1, 3, 9, 9, 9, - 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 1, 3, 1, 1, 11, 12, 12, - 9, 9, 9, 12, 10, 10, 10, 10, 10, 10, - 13, 10, 10, 13, 10, 13, 10, 13, 10, 13, - 10, 10, 1, 1, 1, 1 - } ; - -static const flex_int16_t yy_base[403] = - { 0, - 0, 0, 739, 740, 736, 734, 711, 72, 0, 53, - 72, 690, 740, 740, 64, 69, 740, 70, 72, 86, - 102, 109, 708, 740, 77, 708, 61, 740, 0, 95, - 740, 740, 707, 137, 664, 666, 57, 52, 65, 48, - 667, 54, 666, 674, 81, 655, 143, 663, 668, 740, - 58, 740, 740, 721, 719, 740, 104, 151, 124, 0, - 740, 740, 740, 740, 145, 139, 740, 740, 740, 740, - 740, 740, 740, 705, 163, 740, 0, 740, 187, 194, - 236, 214, 122, 133, 704, 132, 244, 161, 142, 183, - 740, 740, 266, 740, 694, 740, 740, 740, 693, 0, - - 135, 672, 740, 164, 654, 653, 661, 653, 650, 645, - 654, 655, 642, 654, 641, 656, 643, 649, 635, 636, - 633, 633, 636, 633, 630, 0, 178, 634, 183, 632, - 61, 138, 636, 629, 686, 186, 210, 633, 740, 740, - 270, 684, 254, 261, 0, 740, 275, 0, 740, 295, - 740, 0, 304, 740, 280, 308, 144, 740, 651, 628, - 0, 293, 203, 740, 649, 626, 740, 740, 740, 627, - 621, 620, 621, 619, 630, 614, 628, 612, 608, 612, - 624, 619, 607, 212, 620, 618, 610, 602, 604, 607, - 0, 589, 593, 0, 579, 573, 563, 561, 563, 564, - - 570, 553, 551, 551, 563, 552, 555, 549, 546, 526, - 328, 369, 286, 415, 330, 358, 345, 419, 740, 740, - 73, 158, 301, 390, 259, 294, 740, 527, 504, 502, - 497, 506, 503, 503, 489, 501, 492, 0, 494, 0, - 0, 485, 493, 482, 489, 0, 0, 483, 480, 0, - 484, 0, 479, 479, 478, 475, 485, 475, 478, 481, - 480, 478, 468, 472, 0, 460, 472, 297, 0, 276, - 0, 461, 470, 216, 740, 351, 474, 483, 460, 457, - 459, 0, 456, 450, 455, 444, 452, 459, 455, 0, - 0, 444, 445, 450, 441, 0, 444, 430, 430, 425, - - 0, 432, 423, 424, 406, 415, 417, 0, 402, 405, - 0, 362, 480, 407, 503, 740, 740, 295, 410, 406, - 401, 396, 388, 403, 401, 403, 383, 383, 0, 0, - 0, 389, 390, 0, 0, 0, 0, 0, 0, 378, - 378, 371, 740, 740, 364, 362, 0, 345, 362, 358, - 342, 356, 348, 346, 340, 0, 328, 320, 0, 333, - 331, 0, 0, 0, 0, 311, 298, 309, 296, 0, - 0, 0, 0, 0, 0, 283, 0, 275, 277, 0, - 269, 236, 229, 222, 175, 101, 65, 0, 0, 740, - 562, 567, 580, 590, 597, 608, 619, 632, 640, 646, - - 652, 658 - } ; - -static const flex_int16_t yy_def[403] = - { 0, - 390, 1, 390, 390, 390, 390, 390, 391, 392, 390, - 390, 393, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 394, 390, 390, 390, 395, 395, - 390, 390, 390, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 390, - 390, 390, 390, 390, 390, 390, 391, 390, 396, 392, - 390, 390, 390, 390, 393, 397, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 398, 390, 390, 390, - 390, 390, 390, 390, 399, 390, 390, 390, 390, 390, - 390, 390, 394, 390, 390, 390, 390, 390, 390, 395, - - 391, 393, 390, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 390, 390, - 390, 390, 390, 391, 400, 390, 393, 401, 390, 390, - 390, 398, 390, 390, 390, 390, 390, 390, 390, 390, - 402, 399, 390, 390, 390, 390, 390, 390, 390, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 391, 391, 393, 393, 390, 390, 390, 390, 390, 390, - 402, 402, 390, 390, 390, 390, 390, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 391, 212, 393, - 214, 390, 390, 390, 390, 390, 390, 390, 390, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 390, 390, 390, 390, 390, 390, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 390, 390, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 395, 395, 0, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - - 390, 390 - } ; - -static const flex_int16_t yy_nxt[817] = - { 0, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 22, - 22, 23, 24, 25, 26, 27, 28, 29, 29, 29, - 29, 29, 29, 29, 29, 29, 30, 29, 29, 29, - 29, 30, 29, 31, 4, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 29, 42, 29, 43, 29, - 29, 29, 29, 44, 45, 46, 47, 48, 49, 29, - 29, 29, 50, 51, 52, 53, 58, 61, 62, 63, - 67, 69, 139, 92, 71, 98, 99, 74, 68, 75, - 75, 75, 75, 70, 72, 73, 64, 76, 94, 101, - - 95, 96, 77, 102, 118, 115, 123, 126, 58, 124, - 78, 272, 116, 119, 127, 200, 59, 79, 117, 80, - 80, 81, 81, 120, 79, 121, 87, 87, 87, 87, - 389, 140, 201, 82, 122, 272, 130, 131, 83, 58, - 82, 144, 144, 84, 85, 88, 132, 101, 59, 133, - 89, 102, 141, 146, 82, 101, 147, 147, 157, 388, - 86, 82, 135, 158, 104, 105, 106, 90, 84, 159, - 107, 85, 108, 158, 109, 89, 110, 111, 165, 59, - 75, 75, 75, 75, 112, 158, 202, 142, 158, 66, - 157, 160, 142, 145, 150, 151, 273, 163, 158, 151, - - 166, 203, 164, 136, 75, 75, 75, 75, 148, 79, - 158, 80, 80, 81, 81, 150, 151, 143, 153, 154, - 273, 151, 170, 154, 164, 82, 155, 164, 155, 171, - 83, 156, 156, 156, 156, 84, 193, 196, 387, 153, - 154, 163, 206, 194, 164, 154, 82, 197, 198, 164, - 207, 79, 86, 81, 81, 81, 81, 275, 101, 79, - 84, 87, 87, 87, 87, 58, 208, 82, 209, 164, - 386, 141, 390, 142, 101, 82, 242, 243, 211, 211, - 88, 385, 275, 146, 146, 89, 384, 390, 82, 390, - 390, 167, 213, 213, 146, 278, 82, 156, 156, 156, - - 156, 58, 90, 270, 270, 59, 142, 215, 222, 215, - 89, 142, 216, 216, 216, 216, 217, 279, 217, 66, - 66, 218, 218, 218, 218, 156, 156, 156, 156, 223, - 66, 224, 58, 383, 225, 275, 143, 274, 382, 381, - 219, 59, 275, 345, 219, 268, 268, 216, 216, 216, - 216, 226, 274, 380, 379, 224, 346, 378, 377, 225, - 275, 219, 218, 218, 218, 218, 219, 275, 277, 277, - 277, 277, 59, 58, 376, 216, 216, 216, 216, 313, - 313, 313, 313, 375, 374, 373, 269, 269, 269, 269, - 151, 372, 371, 370, 151, 369, 269, 269, 269, 269, - - 269, 269, 276, 368, 276, 367, 366, 277, 277, 277, - 277, 151, 365, 59, 364, 363, 151, 269, 269, 269, - 269, 269, 269, 146, 315, 315, 315, 315, 362, 361, - 360, 359, 271, 271, 271, 271, 218, 218, 218, 218, - 358, 357, 271, 271, 271, 271, 271, 271, 356, 355, - 354, 154, 353, 352, 351, 154, 350, 349, 348, 66, - 347, 342, 341, 271, 271, 271, 271, 271, 271, 340, - 339, 338, 154, 312, 337, 312, 336, 154, 313, 313, - 313, 313, 314, 335, 314, 334, 333, 315, 315, 315, - 315, 277, 277, 277, 277, 332, 331, 313, 313, 313, - - 313, 330, 329, 328, 327, 326, 316, 325, 324, 323, - 316, 322, 343, 321, 320, 319, 343, 318, 317, 317, - 315, 315, 315, 315, 311, 310, 309, 316, 308, 307, - 306, 305, 316, 343, 304, 344, 303, 302, 343, 344, - 301, 300, 299, 298, 297, 296, 295, 294, 293, 292, - 291, 290, 289, 288, 287, 286, 344, 285, 284, 283, - 282, 344, 57, 281, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57, 60, 60, 60, 60, 60, - 65, 280, 65, 65, 267, 65, 65, 65, 65, 65, - 65, 65, 65, 93, 266, 93, 93, 93, 93, 93, - - 265, 93, 93, 100, 100, 100, 100, 100, 100, 100, - 57, 264, 57, 263, 57, 262, 261, 260, 259, 57, - 57, 65, 258, 65, 257, 65, 256, 255, 254, 253, - 65, 65, 152, 252, 152, 152, 152, 152, 152, 152, - 152, 152, 152, 152, 152, 162, 162, 162, 162, 251, - 250, 162, 212, 212, 212, 249, 248, 212, 214, 214, - 214, 247, 246, 214, 221, 221, 221, 245, 244, 221, - 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, - 231, 230, 229, 228, 227, 227, 220, 220, 101, 210, - 101, 205, 204, 199, 195, 192, 191, 190, 189, 188, - - 187, 186, 185, 184, 183, 182, 181, 180, 179, 178, - 177, 176, 175, 174, 173, 172, 66, 169, 168, 161, - 149, 55, 54, 138, 137, 134, 129, 128, 125, 114, - 113, 103, 97, 91, 66, 56, 55, 54, 390, 3, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390 - } ; - -static const flex_int16_t yy_chk[817] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 8, 10, 10, 11, - 15, 16, 51, 25, 18, 27, 27, 19, 15, 19, - 19, 19, 19, 16, 18, 18, 11, 20, 25, 30, - - 25, 25, 20, 30, 38, 37, 40, 42, 57, 40, - 20, 221, 37, 38, 42, 131, 8, 21, 37, 21, - 21, 21, 21, 39, 22, 39, 22, 22, 22, 22, - 387, 51, 131, 21, 39, 221, 45, 45, 21, 101, - 22, 59, 59, 21, 21, 22, 45, 47, 57, 45, - 22, 47, 58, 65, 21, 58, 66, 66, 83, 386, - 21, 22, 47, 83, 34, 34, 34, 22, 21, 84, - 34, 21, 34, 86, 34, 22, 34, 34, 89, 101, - 75, 75, 75, 75, 34, 157, 132, 58, 83, 65, - 86, 84, 58, 59, 75, 75, 222, 88, 86, 75, - - 89, 132, 88, 47, 79, 79, 79, 79, 66, 80, - 157, 80, 80, 80, 80, 75, 75, 58, 79, 79, - 222, 75, 104, 79, 90, 80, 82, 88, 82, 104, - 80, 82, 82, 82, 82, 80, 127, 129, 385, 79, - 79, 90, 136, 127, 163, 79, 80, 129, 129, 90, - 136, 81, 80, 81, 81, 81, 81, 274, 143, 87, - 80, 87, 87, 87, 87, 144, 137, 81, 137, 163, - 384, 141, 93, 143, 141, 87, 184, 184, 144, 144, - 87, 383, 274, 147, 270, 87, 382, 93, 81, 93, - 93, 93, 147, 147, 213, 225, 87, 155, 155, 155, - - 155, 268, 87, 213, 213, 144, 141, 150, 162, 150, - 87, 141, 150, 150, 150, 150, 153, 225, 153, 147, - 270, 153, 153, 153, 153, 156, 156, 156, 156, 162, - 213, 162, 211, 381, 162, 226, 141, 223, 379, 378, - 156, 268, 223, 318, 156, 211, 211, 215, 215, 215, - 215, 162, 226, 376, 369, 162, 318, 368, 367, 162, - 226, 156, 217, 217, 217, 217, 156, 223, 276, 276, - 276, 276, 211, 212, 366, 216, 216, 216, 216, 312, - 312, 312, 312, 361, 360, 358, 212, 212, 212, 212, - 216, 357, 355, 354, 216, 353, 212, 212, 212, 212, - - 212, 212, 224, 352, 224, 351, 350, 224, 224, 224, - 224, 216, 349, 212, 348, 346, 216, 212, 212, 212, - 212, 212, 212, 214, 314, 314, 314, 314, 345, 342, - 341, 340, 214, 214, 214, 214, 218, 218, 218, 218, - 333, 332, 214, 214, 214, 214, 214, 214, 328, 327, - 326, 218, 325, 324, 323, 218, 322, 321, 320, 214, - 319, 310, 309, 214, 214, 214, 214, 214, 214, 307, - 306, 305, 218, 272, 304, 272, 303, 218, 272, 272, - 272, 272, 273, 302, 273, 300, 299, 273, 273, 273, - 273, 277, 277, 277, 277, 298, 297, 313, 313, 313, - - 313, 295, 294, 293, 292, 289, 277, 288, 287, 286, - 277, 285, 313, 284, 283, 281, 313, 280, 279, 278, - 315, 315, 315, 315, 267, 266, 264, 277, 263, 262, - 261, 260, 277, 313, 259, 315, 258, 257, 313, 315, - 256, 255, 254, 253, 251, 249, 248, 245, 244, 243, - 242, 239, 237, 236, 235, 234, 315, 233, 232, 231, - 230, 315, 391, 229, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 392, 392, 392, 392, 392, - 393, 228, 393, 393, 210, 393, 393, 393, 393, 393, - 393, 393, 393, 394, 209, 394, 394, 394, 394, 394, - - 208, 394, 394, 395, 395, 395, 395, 395, 395, 395, - 396, 207, 396, 206, 396, 205, 204, 203, 202, 396, - 396, 397, 201, 397, 200, 397, 199, 198, 197, 196, - 397, 397, 398, 195, 398, 398, 398, 398, 398, 398, - 398, 398, 398, 398, 398, 399, 399, 399, 399, 193, - 192, 399, 400, 400, 400, 190, 189, 400, 401, 401, - 401, 188, 187, 401, 402, 402, 402, 186, 185, 402, - 183, 182, 181, 180, 179, 178, 177, 176, 175, 174, - 173, 172, 171, 170, 166, 165, 160, 159, 142, 138, - 135, 134, 133, 130, 128, 125, 124, 123, 122, 121, - - 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, - 110, 109, 108, 107, 106, 105, 102, 99, 95, 85, - 74, 55, 54, 49, 48, 46, 44, 43, 41, 36, - 35, 33, 26, 23, 12, 7, 6, 5, 3, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - - 390, 390, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 390, 390 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -extern int yy_flex_debug; -int yy_flex_debug = 0; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#define YY_RESTORE_YY_MORE_OFFSET -char *yytext; -#line 1 "ansi.lex" -#line 26 "ansi.lex" -#include -#include - -#include "y.tab.h" - -int comment_flag = 0; -#define PRINT_DIV(color, text) do{ printf("%s", (comment_flag?"green":(color)), (text)); }while(0); - -extern void yyerror(const char *); /* prints grammar violation message */ - -extern int sym_type(const char *); /* returns type from symbol table */ - -#define sym_type(identifier) IDENTIFIER /* with no symbol table, fake it */ - -static void comment(void); -static int check_type(void); -#line 771 "lex.yy.c" -#line 772 "lex.yy.c" - -#define INITIAL 0 - -#ifndef YY_NO_UNISTD_H -/* Special case for "unistd.h", since it is non-ANSI. We include it way - * down here because we want the user's section 1 to have been scanned first. - * The user has a chance to override it with an option. - */ -#include -#endif - -#ifndef YY_EXTRA_TYPE -#define YY_EXTRA_TYPE void * -#endif - -static int yy_init_globals ( void ); - -/* Accessor methods to globals. - These are made visible to non-reentrant scanners for convenience. */ - -int yylex_destroy ( void ); - -int yyget_debug ( void ); - -void yyset_debug ( int debug_flag ); - -YY_EXTRA_TYPE yyget_extra ( void ); - -void yyset_extra ( YY_EXTRA_TYPE user_defined ); - -FILE *yyget_in ( void ); - -void yyset_in ( FILE * _in_str ); - -FILE *yyget_out ( void ); - -void yyset_out ( FILE * _out_str ); - - int yyget_leng ( void ); - -char *yyget_text ( void ); - -int yyget_lineno ( void ); - -void yyset_lineno ( int _line_number ); - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap ( void ); -#else -extern int yywrap ( void ); -#endif -#endif - -#ifndef YY_NO_UNPUT - - static void yyunput ( int c, char *buf_ptr ); - -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy ( char *, const char *, int ); -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen ( const char * ); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput ( void ); -#else -static int input ( void ); -#endif - -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#ifdef __ia64__ -/* On IA-64, the buffer size is 16k, not 8k */ -#define YY_READ_BUF_SIZE 16384 -#else -#define YY_READ_BUF_SIZE 8192 -#endif /* __ia64__ */ -#endif - -/* Copy whatever the last rule matched to the standard output. */ -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ - { \ - int c = '*'; \ - int n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else \ - { \ - errno=0; \ - while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(yyin); \ - } \ - }\ -\ - -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* end tables serialization structures and prototypes */ - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL_IS_OURS 1 - -extern int yylex (void); - -#define YY_DECL int yylex (void) -#endif /* !YY_DECL */ - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK /*LINTED*/break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -/** The main scanner function which does all the work. - */ -YY_DECL -{ - yy_state_type yy_current_state; - char *yy_cp, *yy_bp; - int yy_act; - - if ( !(yy_init) ) - { - (yy_init) = 1; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! (yy_start) ) - (yy_start) = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! YY_CURRENT_BUFFER ) { - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer( yyin, YY_BUF_SIZE ); - } - - yy_load_buffer_state( ); - } - - { -#line 44 "ansi.lex" - -#line 991 "lex.yy.c" - - while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ - { - yy_cp = (yy_c_buf_p); - - /* Support of yytext. */ - *yy_cp = (yy_hold_char); - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = (yy_start); -yy_match: - do - { - YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 391 ) - yy_c = yy_meta[yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 740 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - -do_action: /* This label is used only to access EOF actions. */ - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = (yy_hold_char); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 45 "ansi.lex" -{ comment_flag = 1; PRINT_DIV("green", yytext); } - YY_BREAK -case 2: -YY_RULE_SETUP -#line 46 "ansi.lex" -{ comment_flag = 1; PRINT_DIV("green", yytext); } - YY_BREAK -case 3: -YY_RULE_SETUP -#line 47 "ansi.lex" -{ PRINT_DIV("green", yytext); comment_flag = 0; } - YY_BREAK -case 4: -YY_RULE_SETUP -#line 49 "ansi.lex" -{ PRINT_DIV("pink", yytext); } - YY_BREAK -case 5: -YY_RULE_SETUP -#line 51 "ansi.lex" -{ PRINT_DIV("pink", yytext); } - YY_BREAK -case 6: -YY_RULE_SETUP -#line 53 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 7: -YY_RULE_SETUP -#line 54 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 8: -YY_RULE_SETUP -#line 55 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 9: -YY_RULE_SETUP -#line 56 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 10: -YY_RULE_SETUP -#line 57 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 11: -YY_RULE_SETUP -#line 58 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 12: -YY_RULE_SETUP -#line 59 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 13: -YY_RULE_SETUP -#line 60 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 14: -YY_RULE_SETUP -#line 61 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 15: -YY_RULE_SETUP -#line 62 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 16: -YY_RULE_SETUP -#line 63 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 17: -YY_RULE_SETUP -#line 64 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 18: -YY_RULE_SETUP -#line 65 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 19: -YY_RULE_SETUP -#line 66 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 20: -YY_RULE_SETUP -#line 67 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 21: -YY_RULE_SETUP -#line 68 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 22: -YY_RULE_SETUP -#line 69 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 23: -YY_RULE_SETUP -#line 70 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 24: -YY_RULE_SETUP -#line 71 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 25: -YY_RULE_SETUP -#line 72 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 26: -YY_RULE_SETUP -#line 73 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 27: -YY_RULE_SETUP -#line 74 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 28: -YY_RULE_SETUP -#line 75 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 29: -YY_RULE_SETUP -#line 76 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 30: -YY_RULE_SETUP -#line 77 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 31: -YY_RULE_SETUP -#line 78 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 32: -YY_RULE_SETUP -#line 79 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 33: -YY_RULE_SETUP -#line 80 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 34: -YY_RULE_SETUP -#line 81 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 35: -YY_RULE_SETUP -#line 82 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 36: -YY_RULE_SETUP -#line 83 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 37: -YY_RULE_SETUP -#line 84 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 38: -YY_RULE_SETUP -#line 85 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 39: -YY_RULE_SETUP -#line 86 "ansi.lex" -{ PRINT_DIV("blue", yytext); } - YY_BREAK -case 40: -YY_RULE_SETUP -#line 87 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 41: -YY_RULE_SETUP -#line 88 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 42: -YY_RULE_SETUP -#line 89 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 43: -YY_RULE_SETUP -#line 90 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 44: -YY_RULE_SETUP -#line 91 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 45: -YY_RULE_SETUP -#line 92 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 46: -YY_RULE_SETUP -#line 93 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 47: -YY_RULE_SETUP -#line 94 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 48: -YY_RULE_SETUP -#line 95 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 49: -YY_RULE_SETUP -#line 96 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 50: -YY_RULE_SETUP -#line 97 "ansi.lex" -{ PRINT_DIV("steelblue", yytext); } - YY_BREAK -case 51: -YY_RULE_SETUP -#line 99 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 52: -YY_RULE_SETUP -#line 101 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 53: -YY_RULE_SETUP -#line 102 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 54: -YY_RULE_SETUP -#line 103 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 55: -YY_RULE_SETUP -#line 104 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 56: -YY_RULE_SETUP -#line 106 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 57: -YY_RULE_SETUP -#line 107 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 58: -YY_RULE_SETUP -#line 108 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 59: -YY_RULE_SETUP -#line 109 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 60: -YY_RULE_SETUP -#line 110 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 61: -YY_RULE_SETUP -#line 111 "ansi.lex" -{ PRINT_DIV("gold", yytext); } - YY_BREAK -case 62: -YY_RULE_SETUP -#line 113 "ansi.lex" -{ PRINT_DIV("pink", yytext); } - YY_BREAK -case 63: -YY_RULE_SETUP -#line 115 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 64: -YY_RULE_SETUP -#line 116 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 65: -YY_RULE_SETUP -#line 117 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 66: -YY_RULE_SETUP -#line 118 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 67: -YY_RULE_SETUP -#line 119 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 68: -YY_RULE_SETUP -#line 120 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 69: -YY_RULE_SETUP -#line 121 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 70: -YY_RULE_SETUP -#line 122 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 71: -YY_RULE_SETUP -#line 123 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 72: -YY_RULE_SETUP -#line 124 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 73: -YY_RULE_SETUP -#line 125 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 74: -YY_RULE_SETUP -#line 126 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 75: -YY_RULE_SETUP -#line 127 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 76: -YY_RULE_SETUP -#line 128 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 77: -YY_RULE_SETUP -#line 129 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 78: -YY_RULE_SETUP -#line 130 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 79: -YY_RULE_SETUP -#line 131 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 80: -YY_RULE_SETUP -#line 132 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 81: -YY_RULE_SETUP -#line 133 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 82: -YY_RULE_SETUP -#line 134 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 83: -YY_RULE_SETUP -#line 135 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 84: -YY_RULE_SETUP -#line 136 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 85: -YY_RULE_SETUP -#line 137 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 86: -YY_RULE_SETUP -#line 138 "ansi.lex" -{ PRINT_DIV("brown", yytext); } - YY_BREAK -case 87: -YY_RULE_SETUP -#line 139 "ansi.lex" -{ PRINT_DIV("brown", yytext); } - YY_BREAK -case 88: -YY_RULE_SETUP -#line 140 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 89: -YY_RULE_SETUP -#line 141 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 90: -YY_RULE_SETUP -#line 142 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 91: -YY_RULE_SETUP -#line 143 "ansi.lex" -{ PRINT_DIV("brown", yytext); } - YY_BREAK -case 92: -YY_RULE_SETUP -#line 144 "ansi.lex" -{ PRINT_DIV("brown", yytext); } - YY_BREAK -case 93: -YY_RULE_SETUP -#line 145 "ansi.lex" -{ PRINT_DIV("brown", yytext); } - YY_BREAK -case 94: -YY_RULE_SETUP -#line 146 "ansi.lex" -{ PRINT_DIV("brown", yytext); } - YY_BREAK -case 95: -YY_RULE_SETUP -#line 147 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 96: -YY_RULE_SETUP -#line 148 "ansi.lex" -{ PRINT_DIV("grey", yytext); } - YY_BREAK -case 97: -YY_RULE_SETUP -#line 149 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 98: -YY_RULE_SETUP -#line 150 "ansi.lex" -{ PRINT_DIV("grey", yytext); } - YY_BREAK -case 99: -YY_RULE_SETUP -#line 151 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 100: -YY_RULE_SETUP -#line 152 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 101: -YY_RULE_SETUP -#line 153 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 102: -YY_RULE_SETUP -#line 154 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 103: -YY_RULE_SETUP -#line 155 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 104: -YY_RULE_SETUP -#line 156 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 105: -YY_RULE_SETUP -#line 157 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 106: -YY_RULE_SETUP -#line 158 "ansi.lex" -{ PRINT_DIV("grey", yytext); } - YY_BREAK -case 107: -YY_RULE_SETUP -#line 159 "ansi.lex" -{ PRINT_DIV("grey", yytext); } - YY_BREAK -case 108: -YY_RULE_SETUP -#line 160 "ansi.lex" -{ PRINT_DIV("black", yytext); } - YY_BREAK -case 109: -YY_RULE_SETUP -#line 162 "ansi.lex" -{ PRINT_DIV("white", yytext); } - YY_BREAK -case 110: -/* rule 110 can match eol */ -YY_RULE_SETUP -#line 163 "ansi.lex" -{ printf("

%s
", yytext); } - YY_BREAK -case 111: -YY_RULE_SETUP -#line 165 "ansi.lex" -{ /* discard bad characters */ } - YY_BREAK -case 112: -YY_RULE_SETUP -#line 167 "ansi.lex" -ECHO; - YY_BREAK -#line 1609 "lex.yy.c" -case YY_STATE_EOF(INITIAL): - yyterminate(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = (yy_hold_char); - YY_RESTORE_YY_MORE_OFFSET - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between YY_CURRENT_BUFFER and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++(yy_c_buf_p); - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = (yy_c_buf_p); - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_END_OF_FILE: - { - (yy_did_buffer_switch_on_eof) = 0; - - if ( yywrap( ) ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = - (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - (yy_c_buf_p) = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of user's declarations */ -} /* end of yylex */ - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ -static int yy_get_next_buffer (void) -{ - char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - char *source = (yytext_ptr); - int number_to_move, i; - int ret_val; - - if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; - - else - { - int num_to_read = - YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; - - int yy_c_buf_p_offset = - (int) ((yy_c_buf_p) - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yyrealloc( (void *) b->yy_ch_buf, - (yy_size_t) (b->yy_buf_size + 2) ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = NULL; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - - number_to_move - 1; - - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); - - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - if ( (yy_n_chars) == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { - /* Extend the array by 50%, plus the number we really need. */ - int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( - (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); - if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); - /* "- 2" to take care of EOB's */ - YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); - } - - (yy_n_chars) += number_to_move; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; - - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - - return ret_val; -} - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - - static yy_state_type yy_get_previous_state (void) -{ - yy_state_type yy_current_state; - char *yy_cp; - - yy_current_state = (yy_start); - - for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) - { - YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 391 ) - yy_c = yy_meta[yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; - } - - return yy_current_state; -} - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) -{ - int yy_is_jam; - char *yy_cp = (yy_c_buf_p); - - YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 391 ) - yy_c = yy_meta[yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; - yy_is_jam = (yy_current_state == 390); - - return yy_is_jam ? 0 : yy_current_state; -} - -#ifndef YY_NO_UNPUT - - static void yyunput (int c, char * yy_bp ) -{ - char *yy_cp; - - yy_cp = (yy_c_buf_p); - - /* undo effects of setting up yytext */ - *yy_cp = (yy_hold_char); - - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - int number_to_move = (yy_n_chars) + 2; - char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ - YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - char *source = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; - - while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = - (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; - - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - (yytext_ptr) = yy_bp; - (yy_hold_char) = *yy_cp; - (yy_c_buf_p) = yy_cp; -} - -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus - static int yyinput (void) -#else - static int input (void) -#endif - -{ - int c; - - *(yy_c_buf_p) = (yy_hold_char); - - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - /* This was really a NUL. */ - *(yy_c_buf_p) = '\0'; - - else - { /* need more input */ - int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); - ++(yy_c_buf_p); - - switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - yyrestart( yyin ); - - /*FALLTHROUGH*/ - - case EOB_ACT_END_OF_FILE: - { - if ( yywrap( ) ) - return 0; - - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = (yytext_ptr) + offset; - break; - } - } - } - - c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve yytext */ - (yy_hold_char) = *++(yy_c_buf_p); - - return c; -} -#endif /* ifndef YY_NO_INPUT */ - -/** Immediately switch to a different input stream. - * @param input_file A readable stream. - * - * @note This function does not reset the start condition to @c INITIAL . - */ - void yyrestart (FILE * input_file ) -{ - - if ( ! YY_CURRENT_BUFFER ){ - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer( yyin, YY_BUF_SIZE ); - } - - yy_init_buffer( YY_CURRENT_BUFFER, input_file ); - yy_load_buffer_state( ); -} - -/** Switch to a different input buffer. - * @param new_buffer The new input buffer. - * - */ - void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) -{ - - /* TODO. We should be able to replace this entire function body - * with - * yypop_buffer_state(); - * yypush_buffer_state(new_buffer); - */ - yyensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) - return; - - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - YY_CURRENT_BUFFER_LVALUE = new_buffer; - yy_load_buffer_state( ); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - (yy_did_buffer_switch_on_eof) = 1; -} - -static void yy_load_buffer_state (void) -{ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); -} - -/** Allocate and initialize an input buffer state. - * @param file A readable stream. - * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * - * @return the allocated buffer state. - */ - YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) -{ - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; -} - -/** Destroy the buffer. - * @param b a buffer created with yy_create_buffer() - * - */ - void yy_delete_buffer (YY_BUFFER_STATE b ) -{ - - if ( ! b ) - return; - - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yyfree( (void *) b->yy_ch_buf ); - - yyfree( (void *) b ); -} - -/* Initializes or reinitializes a buffer. - * This function is sometimes called more than once on the same buffer, - * such as during a yyrestart() or at EOF. - */ - static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) - -{ - int oerrno = errno; - - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - - /* If b is the current buffer, then yy_init_buffer was _probably_ - * called from yyrestart() or through yy_get_next_buffer. - * In that case, we don't want to reset the lineno or column. - */ - if (b != YY_CURRENT_BUFFER){ - b->yy_bs_lineno = 1; - b->yy_bs_column = 0; - } - - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; - - errno = oerrno; -} - -/** Discard all buffered characters. On the next scan, YY_INPUT will be called. - * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * - */ - void yy_flush_buffer (YY_BUFFER_STATE b ) -{ - if ( ! b ) - return; - - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == YY_CURRENT_BUFFER ) - yy_load_buffer_state( ); -} - -/** Pushes the new state onto the stack. The new state becomes - * the current state. This function will allocate the stack - * if necessary. - * @param new_buffer The new state. - * - */ -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) -{ - if (new_buffer == NULL) - return; - - yyensure_buffer_stack(); - - /* This block is copied from yy_switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; - - /* copied from yy_switch_to_buffer. */ - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; -} - -/** Removes and deletes the top of the stack, if present. - * The next element becomes the new top. - * - */ -void yypop_buffer_state (void) -{ - if (!YY_CURRENT_BUFFER) - return; - - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); - - if (YY_CURRENT_BUFFER) { - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } -} - -/* Allocates the stack if it does not exist. - * Guarantees space for at least one push. - */ -static void yyensure_buffer_stack (void) -{ - yy_size_t num_to_alloc; - - if (!(yy_buffer_stack)) { - - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. - */ - num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ - (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc - (num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); - - (yy_buffer_stack_max) = num_to_alloc; - (yy_buffer_stack_top) = 0; - return; - } - - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - - /* Increase the buffer to prepare for a possible push. */ - yy_size_t grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc - ((yy_buffer_stack), - num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - /* zero only the new slots.*/ - memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); - (yy_buffer_stack_max) = num_to_alloc; - } -} - -/** Setup the input buffer state to scan directly from a user-specified character buffer. - * @param base the character buffer - * @param size the size in bytes of the character buffer - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) -{ - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return NULL; - - b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = NULL; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; -} - -/** Setup the input buffer state to scan a string. The next call to yylex() will - * scan from a @e copy of @a str. - * @param yystr a NUL-terminated string to scan - * - * @return the newly allocated buffer state object. - * @note If you want to scan bytes that may contain NUL values, then use - * yy_scan_bytes() instead. - */ -YY_BUFFER_STATE yy_scan_string (const char * yystr ) -{ - - return yy_scan_bytes( yystr, (int) strlen(yystr) ); -} - -/** Setup the input buffer state to scan the given bytes. The next call to yylex() will - * scan from a @e copy of @a bytes. - * @param yybytes the byte buffer to scan - * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) -{ - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = (yy_size_t) (_yybytes_len + 2); - buf = (char *) yyalloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; - - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; -} - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -static void yynoreturn yy_fatal_error (const char* msg ) -{ - fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); -} - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - yytext[yyleng] = (yy_hold_char); \ - (yy_c_buf_p) = yytext + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - yyleng = yyless_macro_arg; \ - } \ - while ( 0 ) - -/* Accessor methods (get/set functions) to struct members. */ - -/** Get the current line number. - * - */ -int yyget_lineno (void) -{ - - return yylineno; -} - -/** Get the input stream. - * - */ -FILE *yyget_in (void) -{ - return yyin; -} - -/** Get the output stream. - * - */ -FILE *yyget_out (void) -{ - return yyout; -} - -/** Get the length of the current token. - * - */ -int yyget_leng (void) -{ - return yyleng; -} - -/** Get the current token. - * - */ - -char *yyget_text (void) -{ - return yytext; -} - -/** Set the current line number. - * @param _line_number line number - * - */ -void yyset_lineno (int _line_number ) -{ - - yylineno = _line_number; -} - -/** Set the input stream. This does not discard the current - * input buffer. - * @param _in_str A readable stream. - * - * @see yy_switch_to_buffer - */ -void yyset_in (FILE * _in_str ) -{ - yyin = _in_str ; -} - -void yyset_out (FILE * _out_str ) -{ - yyout = _out_str ; -} - -int yyget_debug (void) -{ - return yy_flex_debug; -} - -void yyset_debug (int _bdebug ) -{ - yy_flex_debug = _bdebug ; -} - -static int yy_init_globals (void) -{ - /* Initialization is the same as for the non-reentrant scanner. - * This function is called from yylex_destroy(), so don't allocate here. - */ - - (yy_buffer_stack) = NULL; - (yy_buffer_stack_top) = 0; - (yy_buffer_stack_max) = 0; - (yy_c_buf_p) = NULL; - (yy_init) = 0; - (yy_start) = 0; - -/* Defined in main.c */ -#ifdef YY_STDINIT - yyin = stdin; - yyout = stdout; -#else - yyin = NULL; - yyout = NULL; -#endif - - /* For future reference: Set errno on error, since we are called by - * yylex_init() - */ - return 0; -} - -/* yylex_destroy is for both reentrant and non-reentrant scanners. */ -int yylex_destroy (void) -{ - - /* Pop the buffer stack, destroying each element. */ - while(YY_CURRENT_BUFFER){ - yy_delete_buffer( YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - yypop_buffer_state(); - } - - /* Destroy the stack itself. */ - yyfree((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; - - /* Reset the globals. This is important in a non-reentrant scanner so the next time - * yylex() is called, initialization will occur. */ - yy_init_globals( ); - - return 0; -} - -/* - * Internal utility routines. - */ - -#ifndef yytext_ptr -static void yy_flex_strncpy (char* s1, const char * s2, int n ) -{ - - int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; -} -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (const char * s ) -{ - int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; -} -#endif - -void *yyalloc (yy_size_t size ) -{ - return malloc(size); -} - -void *yyrealloc (void * ptr, yy_size_t size ) -{ - - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return realloc(ptr, size); -} - -void yyfree (void * ptr ) -{ - free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ -} - -#define YYTABLES_NAME "yytables" - -#line 167 "ansi.lex" - - -int yywrap(void) /* called at end of input */ -{ - return 1; /* terminate now */ -} - -static void comment(void) -{ - int c; - - while ((c = input()) != 0) - if (c == '*') - { - while ((c = input()) == '*') - ; - - if (c == '/') - return; - - if (c == 0) - break; - } - yyerror("unterminated comment"); -} - -static int check_type(void) -{ - switch (sym_type(yytext)) - { - case TYPEDEF_NAME: /* previously defined */ - return TYPEDEF_NAME; - case ENUMERATION_CONSTANT: /* previously defined */ - return ENUMERATION_CONSTANT; - default: /* includes undefined */ - return IDENTIFIER; - } -} - -int main() -{ - yylex(); - - return 0; -} - diff --git a/homework/4MI3400199/C2HTML/y.tab.c b/homework/4MI3400199/C2HTML/y.tab.c deleted file mode 100644 index abfddb11..00000000 --- a/homework/4MI3400199/C2HTML/y.tab.c +++ /dev/null @@ -1,2388 +0,0 @@ -/* A Bison parser, made by GNU Bison 3.8.2. */ - -/* Bison implementation for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, - Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - -/* C LALR(1) parser skeleton written by Richard Stallman, by - simplifying the original so-called "semantic" parser. */ - -/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, - especially those whose name start with YY_ or yy_. They are - private implementation details that can be changed or removed. */ - -/* All symbols defined below should begin with yy or YY, to avoid - infringing on user name space. This should be done even for local - variables, as they might otherwise be expanded by user macros. - There are some unavoidable exceptions within include files to - define necessary library symbols; they are noted "INFRINGES ON - USER NAME SPACE" below. */ - -/* Identify Bison output, and Bison version. */ -#define YYBISON 30802 - -/* Bison version string. */ -#define YYBISON_VERSION "3.8.2" - -/* Skeleton name. */ -#define YYSKELETON_NAME "yacc.c" - -/* Pure parsers. */ -#define YYPURE 0 - -/* Push parsers. */ -#define YYPUSH 0 - -/* Pull parsers. */ -#define YYPULL 1 - - - - - -# ifndef YY_CAST -# ifdef __cplusplus -# define YY_CAST(Type, Val) static_cast (Val) -# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast (Val) -# else -# define YY_CAST(Type, Val) ((Type) (Val)) -# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) -# endif -# endif -# ifndef YY_NULLPTR -# if defined __cplusplus -# if 201103L <= __cplusplus -# define YY_NULLPTR nullptr -# else -# define YY_NULLPTR 0 -# endif -# else -# define YY_NULLPTR ((void*)0) -# endif -# endif - -/* Use api.header.include to #include this header - instead of duplicating it here. */ -#ifndef YY_YY_Y_TAB_H_INCLUDED -# define YY_YY_Y_TAB_H_INCLUDED -/* Debug traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif -#if YYDEBUG -extern int yydebug; -#endif - -/* Token kinds. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - enum yytokentype - { - YYEMPTY = -2, - YYEOF = 0, /* "end of file" */ - YYerror = 256, /* error */ - YYUNDEF = 257, /* "invalid token" */ - IDENTIFIER = 258, /* IDENTIFIER */ - I_CONSTANT = 259, /* I_CONSTANT */ - F_CONSTANT = 260, /* F_CONSTANT */ - STRING_LITERAL = 261, /* STRING_LITERAL */ - FUNC_NAME = 262, /* FUNC_NAME */ - SIZEOF = 263, /* SIZEOF */ - PTR_OP = 264, /* PTR_OP */ - INC_OP = 265, /* INC_OP */ - DEC_OP = 266, /* DEC_OP */ - LEFT_OP = 267, /* LEFT_OP */ - RIGHT_OP = 268, /* RIGHT_OP */ - LE_OP = 269, /* LE_OP */ - GE_OP = 270, /* GE_OP */ - EQ_OP = 271, /* EQ_OP */ - NE_OP = 272, /* NE_OP */ - AND_OP = 273, /* AND_OP */ - OR_OP = 274, /* OR_OP */ - MUL_ASSIGN = 275, /* MUL_ASSIGN */ - DIV_ASSIGN = 276, /* DIV_ASSIGN */ - MOD_ASSIGN = 277, /* MOD_ASSIGN */ - ADD_ASSIGN = 278, /* ADD_ASSIGN */ - SUB_ASSIGN = 279, /* SUB_ASSIGN */ - LEFT_ASSIGN = 280, /* LEFT_ASSIGN */ - RIGHT_ASSIGN = 281, /* RIGHT_ASSIGN */ - AND_ASSIGN = 282, /* AND_ASSIGN */ - XOR_ASSIGN = 283, /* XOR_ASSIGN */ - OR_ASSIGN = 284, /* OR_ASSIGN */ - TYPEDEF_NAME = 285, /* TYPEDEF_NAME */ - ENUMERATION_CONSTANT = 286, /* ENUMERATION_CONSTANT */ - TYPEDEF = 287, /* TYPEDEF */ - EXTERN = 288, /* EXTERN */ - STATIC = 289, /* STATIC */ - AUTO = 290, /* AUTO */ - REGISTER = 291, /* REGISTER */ - INLINE = 292, /* INLINE */ - CONST = 293, /* CONST */ - RESTRICT = 294, /* RESTRICT */ - VOLATILE = 295, /* VOLATILE */ - BOOL = 296, /* BOOL */ - CHAR = 297, /* CHAR */ - SHORT = 298, /* SHORT */ - INT = 299, /* INT */ - LONG = 300, /* LONG */ - SIGNED = 301, /* SIGNED */ - UNSIGNED = 302, /* UNSIGNED */ - FLOAT = 303, /* FLOAT */ - DOUBLE = 304, /* DOUBLE */ - VOID = 305, /* VOID */ - COMPLEX = 306, /* COMPLEX */ - IMAGINARY = 307, /* IMAGINARY */ - STRUCT = 308, /* STRUCT */ - UNION = 309, /* UNION */ - ENUM = 310, /* ENUM */ - ELLIPSIS = 311, /* ELLIPSIS */ - CASE = 312, /* CASE */ - DEFAULT = 313, /* DEFAULT */ - IF = 314, /* IF */ - ELSE = 315, /* ELSE */ - SWITCH = 316, /* SWITCH */ - WHILE = 317, /* WHILE */ - DO = 318, /* DO */ - FOR = 319, /* FOR */ - GOTO = 320, /* GOTO */ - CONTINUE = 321, /* CONTINUE */ - BREAK = 322, /* BREAK */ - RETURN = 323, /* RETURN */ - ALIGNAS = 324, /* ALIGNAS */ - ALIGNOF = 325, /* ALIGNOF */ - ATOMIC = 326, /* ATOMIC */ - GENERIC = 327, /* GENERIC */ - NORETURN = 328, /* NORETURN */ - STATIC_ASSERT = 329, /* STATIC_ASSERT */ - THREAD_LOCAL = 330 /* THREAD_LOCAL */ - }; - typedef enum yytokentype yytoken_kind_t; -#endif -/* Token kinds. */ -#define YYEMPTY -2 -#define YYEOF 0 -#define YYerror 256 -#define YYUNDEF 257 -#define IDENTIFIER 258 -#define I_CONSTANT 259 -#define F_CONSTANT 260 -#define STRING_LITERAL 261 -#define FUNC_NAME 262 -#define SIZEOF 263 -#define PTR_OP 264 -#define INC_OP 265 -#define DEC_OP 266 -#define LEFT_OP 267 -#define RIGHT_OP 268 -#define LE_OP 269 -#define GE_OP 270 -#define EQ_OP 271 -#define NE_OP 272 -#define AND_OP 273 -#define OR_OP 274 -#define MUL_ASSIGN 275 -#define DIV_ASSIGN 276 -#define MOD_ASSIGN 277 -#define ADD_ASSIGN 278 -#define SUB_ASSIGN 279 -#define LEFT_ASSIGN 280 -#define RIGHT_ASSIGN 281 -#define AND_ASSIGN 282 -#define XOR_ASSIGN 283 -#define OR_ASSIGN 284 -#define TYPEDEF_NAME 285 -#define ENUMERATION_CONSTANT 286 -#define TYPEDEF 287 -#define EXTERN 288 -#define STATIC 289 -#define AUTO 290 -#define REGISTER 291 -#define INLINE 292 -#define CONST 293 -#define RESTRICT 294 -#define VOLATILE 295 -#define BOOL 296 -#define CHAR 297 -#define SHORT 298 -#define INT 299 -#define LONG 300 -#define SIGNED 301 -#define UNSIGNED 302 -#define FLOAT 303 -#define DOUBLE 304 -#define VOID 305 -#define COMPLEX 306 -#define IMAGINARY 307 -#define STRUCT 308 -#define UNION 309 -#define ENUM 310 -#define ELLIPSIS 311 -#define CASE 312 -#define DEFAULT 313 -#define IF 314 -#define ELSE 315 -#define SWITCH 316 -#define WHILE 317 -#define DO 318 -#define FOR 319 -#define GOTO 320 -#define CONTINUE 321 -#define BREAK 322 -#define RETURN 323 -#define ALIGNAS 324 -#define ALIGNOF 325 -#define ATOMIC 326 -#define GENERIC 327 -#define NORETURN 328 -#define STATIC_ASSERT 329 -#define THREAD_LOCAL 330 - -/* Value type. */ -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef int YYSTYPE; -# define YYSTYPE_IS_TRIVIAL 1 -# define YYSTYPE_IS_DECLARED 1 -#endif - - -extern YYSTYPE yylval; - - -int yyparse (void); - - -#endif /* !YY_YY_Y_TAB_H_INCLUDED */ -/* Symbol kind. */ -enum yysymbol_kind_t -{ - YYSYMBOL_YYEMPTY = -2, - YYSYMBOL_YYEOF = 0, /* "end of file" */ - YYSYMBOL_YYerror = 1, /* error */ - YYSYMBOL_YYUNDEF = 2, /* "invalid token" */ - YYSYMBOL_IDENTIFIER = 3, /* IDENTIFIER */ - YYSYMBOL_I_CONSTANT = 4, /* I_CONSTANT */ - YYSYMBOL_F_CONSTANT = 5, /* F_CONSTANT */ - YYSYMBOL_STRING_LITERAL = 6, /* STRING_LITERAL */ - YYSYMBOL_FUNC_NAME = 7, /* FUNC_NAME */ - YYSYMBOL_SIZEOF = 8, /* SIZEOF */ - YYSYMBOL_PTR_OP = 9, /* PTR_OP */ - YYSYMBOL_INC_OP = 10, /* INC_OP */ - YYSYMBOL_DEC_OP = 11, /* DEC_OP */ - YYSYMBOL_LEFT_OP = 12, /* LEFT_OP */ - YYSYMBOL_RIGHT_OP = 13, /* RIGHT_OP */ - YYSYMBOL_LE_OP = 14, /* LE_OP */ - YYSYMBOL_GE_OP = 15, /* GE_OP */ - YYSYMBOL_EQ_OP = 16, /* EQ_OP */ - YYSYMBOL_NE_OP = 17, /* NE_OP */ - YYSYMBOL_AND_OP = 18, /* AND_OP */ - YYSYMBOL_OR_OP = 19, /* OR_OP */ - YYSYMBOL_MUL_ASSIGN = 20, /* MUL_ASSIGN */ - YYSYMBOL_DIV_ASSIGN = 21, /* DIV_ASSIGN */ - YYSYMBOL_MOD_ASSIGN = 22, /* MOD_ASSIGN */ - YYSYMBOL_ADD_ASSIGN = 23, /* ADD_ASSIGN */ - YYSYMBOL_SUB_ASSIGN = 24, /* SUB_ASSIGN */ - YYSYMBOL_LEFT_ASSIGN = 25, /* LEFT_ASSIGN */ - YYSYMBOL_RIGHT_ASSIGN = 26, /* RIGHT_ASSIGN */ - YYSYMBOL_AND_ASSIGN = 27, /* AND_ASSIGN */ - YYSYMBOL_XOR_ASSIGN = 28, /* XOR_ASSIGN */ - YYSYMBOL_OR_ASSIGN = 29, /* OR_ASSIGN */ - YYSYMBOL_TYPEDEF_NAME = 30, /* TYPEDEF_NAME */ - YYSYMBOL_ENUMERATION_CONSTANT = 31, /* ENUMERATION_CONSTANT */ - YYSYMBOL_TYPEDEF = 32, /* TYPEDEF */ - YYSYMBOL_EXTERN = 33, /* EXTERN */ - YYSYMBOL_STATIC = 34, /* STATIC */ - YYSYMBOL_AUTO = 35, /* AUTO */ - YYSYMBOL_REGISTER = 36, /* REGISTER */ - YYSYMBOL_INLINE = 37, /* INLINE */ - YYSYMBOL_CONST = 38, /* CONST */ - YYSYMBOL_RESTRICT = 39, /* RESTRICT */ - YYSYMBOL_VOLATILE = 40, /* VOLATILE */ - YYSYMBOL_BOOL = 41, /* BOOL */ - YYSYMBOL_CHAR = 42, /* CHAR */ - YYSYMBOL_SHORT = 43, /* SHORT */ - YYSYMBOL_INT = 44, /* INT */ - YYSYMBOL_LONG = 45, /* LONG */ - YYSYMBOL_SIGNED = 46, /* SIGNED */ - YYSYMBOL_UNSIGNED = 47, /* UNSIGNED */ - YYSYMBOL_FLOAT = 48, /* FLOAT */ - YYSYMBOL_DOUBLE = 49, /* DOUBLE */ - YYSYMBOL_VOID = 50, /* VOID */ - YYSYMBOL_COMPLEX = 51, /* COMPLEX */ - YYSYMBOL_IMAGINARY = 52, /* IMAGINARY */ - YYSYMBOL_STRUCT = 53, /* STRUCT */ - YYSYMBOL_UNION = 54, /* UNION */ - YYSYMBOL_ENUM = 55, /* ENUM */ - YYSYMBOL_ELLIPSIS = 56, /* ELLIPSIS */ - YYSYMBOL_CASE = 57, /* CASE */ - YYSYMBOL_DEFAULT = 58, /* DEFAULT */ - YYSYMBOL_IF = 59, /* IF */ - YYSYMBOL_ELSE = 60, /* ELSE */ - YYSYMBOL_SWITCH = 61, /* SWITCH */ - YYSYMBOL_WHILE = 62, /* WHILE */ - YYSYMBOL_DO = 63, /* DO */ - YYSYMBOL_FOR = 64, /* FOR */ - YYSYMBOL_GOTO = 65, /* GOTO */ - YYSYMBOL_CONTINUE = 66, /* CONTINUE */ - YYSYMBOL_BREAK = 67, /* BREAK */ - YYSYMBOL_RETURN = 68, /* RETURN */ - YYSYMBOL_ALIGNAS = 69, /* ALIGNAS */ - YYSYMBOL_ALIGNOF = 70, /* ALIGNOF */ - YYSYMBOL_ATOMIC = 71, /* ATOMIC */ - YYSYMBOL_GENERIC = 72, /* GENERIC */ - YYSYMBOL_NORETURN = 73, /* NORETURN */ - YYSYMBOL_STATIC_ASSERT = 74, /* STATIC_ASSERT */ - YYSYMBOL_THREAD_LOCAL = 75, /* THREAD_LOCAL */ - YYSYMBOL_76_ = 76, /* '(' */ - YYSYMBOL_77_ = 77, /* ')' */ - YYSYMBOL_78_ = 78, /* ',' */ - YYSYMBOL_79_ = 79, /* ':' */ - YYSYMBOL_80_ = 80, /* '[' */ - YYSYMBOL_81_ = 81, /* ']' */ - YYSYMBOL_82_ = 82, /* '.' */ - YYSYMBOL_83_ = 83, /* '{' */ - YYSYMBOL_84_ = 84, /* '}' */ - YYSYMBOL_85_ = 85, /* '&' */ - YYSYMBOL_86_ = 86, /* '*' */ - YYSYMBOL_87_ = 87, /* '+' */ - YYSYMBOL_88_ = 88, /* '-' */ - YYSYMBOL_89_ = 89, /* '~' */ - YYSYMBOL_90_ = 90, /* '!' */ - YYSYMBOL_91_ = 91, /* '/' */ - YYSYMBOL_92_ = 92, /* '%' */ - YYSYMBOL_93_ = 93, /* '<' */ - YYSYMBOL_94_ = 94, /* '>' */ - YYSYMBOL_95_ = 95, /* '^' */ - YYSYMBOL_96_ = 96, /* '|' */ - YYSYMBOL_97_ = 97, /* '?' */ - YYSYMBOL_98_ = 98, /* '=' */ - YYSYMBOL_99_ = 99, /* ';' */ - YYSYMBOL_YYACCEPT = 100, /* $accept */ - YYSYMBOL_primary_expression = 101, /* primary_expression */ - YYSYMBOL_constant = 102, /* constant */ - YYSYMBOL_enumeration_constant = 103, /* enumeration_constant */ - YYSYMBOL_string = 104, /* string */ - YYSYMBOL_generic_selection = 105, /* generic_selection */ - YYSYMBOL_generic_assoc_list = 106, /* generic_assoc_list */ - YYSYMBOL_generic_association = 107, /* generic_association */ - YYSYMBOL_postfix_expression = 108, /* postfix_expression */ - YYSYMBOL_argument_expression_list = 109, /* argument_expression_list */ - YYSYMBOL_unary_expression = 110, /* unary_expression */ - YYSYMBOL_unary_operator = 111, /* unary_operator */ - YYSYMBOL_cast_expression = 112, /* cast_expression */ - YYSYMBOL_multiplicative_expression = 113, /* multiplicative_expression */ - YYSYMBOL_additive_expression = 114, /* additive_expression */ - YYSYMBOL_shift_expression = 115, /* shift_expression */ - YYSYMBOL_relational_expression = 116, /* relational_expression */ - YYSYMBOL_equality_expression = 117, /* equality_expression */ - YYSYMBOL_and_expression = 118, /* and_expression */ - YYSYMBOL_exclusive_or_expression = 119, /* exclusive_or_expression */ - YYSYMBOL_inclusive_or_expression = 120, /* inclusive_or_expression */ - YYSYMBOL_logical_and_expression = 121, /* logical_and_expression */ - YYSYMBOL_logical_or_expression = 122, /* logical_or_expression */ - YYSYMBOL_conditional_expression = 123, /* conditional_expression */ - YYSYMBOL_assignment_expression = 124, /* assignment_expression */ - YYSYMBOL_assignment_operator = 125, /* assignment_operator */ - YYSYMBOL_expression = 126, /* expression */ - YYSYMBOL_constant_expression = 127, /* constant_expression */ - YYSYMBOL_declaration = 128, /* declaration */ - YYSYMBOL_declaration_specifiers = 129, /* declaration_specifiers */ - YYSYMBOL_init_declarator_list = 130, /* init_declarator_list */ - YYSYMBOL_init_declarator = 131, /* init_declarator */ - YYSYMBOL_storage_class_specifier = 132, /* storage_class_specifier */ - YYSYMBOL_type_specifier = 133, /* type_specifier */ - YYSYMBOL_struct_or_union_specifier = 134, /* struct_or_union_specifier */ - YYSYMBOL_struct_or_union = 135, /* struct_or_union */ - YYSYMBOL_struct_declaration_list = 136, /* struct_declaration_list */ - YYSYMBOL_struct_declaration = 137, /* struct_declaration */ - YYSYMBOL_specifier_qualifier_list = 138, /* specifier_qualifier_list */ - YYSYMBOL_struct_declarator_list = 139, /* struct_declarator_list */ - YYSYMBOL_struct_declarator = 140, /* struct_declarator */ - YYSYMBOL_enum_specifier = 141, /* enum_specifier */ - YYSYMBOL_enumerator_list = 142, /* enumerator_list */ - YYSYMBOL_enumerator = 143, /* enumerator */ - YYSYMBOL_atomic_type_specifier = 144, /* atomic_type_specifier */ - YYSYMBOL_type_qualifier = 145, /* type_qualifier */ - YYSYMBOL_function_specifier = 146, /* function_specifier */ - YYSYMBOL_alignment_specifier = 147, /* alignment_specifier */ - YYSYMBOL_declarator = 148, /* declarator */ - YYSYMBOL_direct_declarator = 149, /* direct_declarator */ - YYSYMBOL_pointer = 150, /* pointer */ - YYSYMBOL_type_qualifier_list = 151, /* type_qualifier_list */ - YYSYMBOL_parameter_type_list = 152, /* parameter_type_list */ - YYSYMBOL_parameter_list = 153, /* parameter_list */ - YYSYMBOL_parameter_declaration = 154, /* parameter_declaration */ - YYSYMBOL_identifier_list = 155, /* identifier_list */ - YYSYMBOL_type_name = 156, /* type_name */ - YYSYMBOL_abstract_declarator = 157, /* abstract_declarator */ - YYSYMBOL_direct_abstract_declarator = 158, /* direct_abstract_declarator */ - YYSYMBOL_initializer = 159, /* initializer */ - YYSYMBOL_initializer_list = 160, /* initializer_list */ - YYSYMBOL_designation = 161, /* designation */ - YYSYMBOL_designator_list = 162, /* designator_list */ - YYSYMBOL_designator = 163, /* designator */ - YYSYMBOL_static_assert_declaration = 164, /* static_assert_declaration */ - YYSYMBOL_statement = 165, /* statement */ - YYSYMBOL_labeled_statement = 166, /* labeled_statement */ - YYSYMBOL_compound_statement = 167, /* compound_statement */ - YYSYMBOL_block_item_list = 168, /* block_item_list */ - YYSYMBOL_block_item = 169, /* block_item */ - YYSYMBOL_expression_statement = 170, /* expression_statement */ - YYSYMBOL_selection_statement = 171, /* selection_statement */ - YYSYMBOL_iteration_statement = 172, /* iteration_statement */ - YYSYMBOL_jump_statement = 173, /* jump_statement */ - YYSYMBOL_translation_unit = 174, /* translation_unit */ - YYSYMBOL_external_declaration = 175, /* external_declaration */ - YYSYMBOL_function_definition = 176, /* function_definition */ - YYSYMBOL_declaration_list = 177 /* declaration_list */ -}; -typedef enum yysymbol_kind_t yysymbol_kind_t; - - - - -#ifdef short -# undef short -#endif - -/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure - and (if available) are included - so that the code can choose integer types of a good width. */ - -#ifndef __PTRDIFF_MAX__ -# include /* INFRINGES ON USER NAME SPACE */ -# if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ -# include /* INFRINGES ON USER NAME SPACE */ -# define YY_STDINT_H -# endif -#endif - -/* Narrow types that promote to a signed type and that can represent a - signed or unsigned integer of at least N bits. In tables they can - save space and decrease cache pressure. Promoting to a signed type - helps avoid bugs in integer arithmetic. */ - -#ifdef __INT_LEAST8_MAX__ -typedef __INT_LEAST8_TYPE__ yytype_int8; -#elif defined YY_STDINT_H -typedef int_least8_t yytype_int8; -#else -typedef signed char yytype_int8; -#endif - -#ifdef __INT_LEAST16_MAX__ -typedef __INT_LEAST16_TYPE__ yytype_int16; -#elif defined YY_STDINT_H -typedef int_least16_t yytype_int16; -#else -typedef short yytype_int16; -#endif - -/* Work around bug in HP-UX 11.23, which defines these macros - incorrectly for preprocessor constants. This workaround can likely - be removed in 2023, as HPE has promised support for HP-UX 11.23 - (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of - . */ -#ifdef __hpux -# undef UINT_LEAST8_MAX -# undef UINT_LEAST16_MAX -# define UINT_LEAST8_MAX 255 -# define UINT_LEAST16_MAX 65535 -#endif - -#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__ -typedef __UINT_LEAST8_TYPE__ yytype_uint8; -#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \ - && UINT_LEAST8_MAX <= INT_MAX) -typedef uint_least8_t yytype_uint8; -#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX -typedef unsigned char yytype_uint8; -#else -typedef short yytype_uint8; -#endif - -#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__ -typedef __UINT_LEAST16_TYPE__ yytype_uint16; -#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \ - && UINT_LEAST16_MAX <= INT_MAX) -typedef uint_least16_t yytype_uint16; -#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX -typedef unsigned short yytype_uint16; -#else -typedef int yytype_uint16; -#endif - -#ifndef YYPTRDIFF_T -# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__ -# define YYPTRDIFF_T __PTRDIFF_TYPE__ -# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__ -# elif defined PTRDIFF_MAX -# ifndef ptrdiff_t -# include /* INFRINGES ON USER NAME SPACE */ -# endif -# define YYPTRDIFF_T ptrdiff_t -# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX -# else -# define YYPTRDIFF_T long -# define YYPTRDIFF_MAXIMUM LONG_MAX -# endif -#endif - -#ifndef YYSIZE_T -# ifdef __SIZE_TYPE__ -# define YYSIZE_T __SIZE_TYPE__ -# elif defined size_t -# define YYSIZE_T size_t -# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ -# include /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# else -# define YYSIZE_T unsigned -# endif -#endif - -#define YYSIZE_MAXIMUM \ - YY_CAST (YYPTRDIFF_T, \ - (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \ - ? YYPTRDIFF_MAXIMUM \ - : YY_CAST (YYSIZE_T, -1))) - -#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) - - -/* Stored state numbers (used for stacks). */ -typedef yytype_int16 yy_state_t; - -/* State numbers in computations. */ -typedef int yy_state_fast_t; - -#ifndef YY_ -# if defined YYENABLE_NLS && YYENABLE_NLS -# if ENABLE_NLS -# include /* INFRINGES ON USER NAME SPACE */ -# define YY_(Msgid) dgettext ("bison-runtime", Msgid) -# endif -# endif -# ifndef YY_ -# define YY_(Msgid) Msgid -# endif -#endif - - -#ifndef YY_ATTRIBUTE_PURE -# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__) -# define YY_ATTRIBUTE_PURE __attribute__ ((__pure__)) -# else -# define YY_ATTRIBUTE_PURE -# endif -#endif - -#ifndef YY_ATTRIBUTE_UNUSED -# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__) -# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) -# else -# define YY_ATTRIBUTE_UNUSED -# endif -#endif - -/* Suppress unused-variable warnings by "using" E. */ -#if ! defined lint || defined __GNUC__ -# define YY_USE(E) ((void) (E)) -#else -# define YY_USE(E) /* empty */ -#endif - -/* Suppress an incorrect diagnostic about yylval being uninitialized. */ -#if defined __GNUC__ && ! defined __ICC && 406 <= __GNUC__ * 100 + __GNUC_MINOR__ -# if __GNUC__ * 100 + __GNUC_MINOR__ < 407 -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ - _Pragma ("GCC diagnostic push") \ - _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") -# else -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ - _Pragma ("GCC diagnostic push") \ - _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \ - _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") -# endif -# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ - _Pragma ("GCC diagnostic pop") -#else -# define YY_INITIAL_VALUE(Value) Value -#endif -#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -# define YY_IGNORE_MAYBE_UNINITIALIZED_END -#endif -#ifndef YY_INITIAL_VALUE -# define YY_INITIAL_VALUE(Value) /* Nothing. */ -#endif - -#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__ -# define YY_IGNORE_USELESS_CAST_BEGIN \ - _Pragma ("GCC diagnostic push") \ - _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"") -# define YY_IGNORE_USELESS_CAST_END \ - _Pragma ("GCC diagnostic pop") -#endif -#ifndef YY_IGNORE_USELESS_CAST_BEGIN -# define YY_IGNORE_USELESS_CAST_BEGIN -# define YY_IGNORE_USELESS_CAST_END -#endif - - -#define YY_ASSERT(E) ((void) (0 && (E))) - -#if !defined yyoverflow - -/* The parser invokes alloca or malloc; define the necessary symbols. */ - -# ifdef YYSTACK_USE_ALLOCA -# if YYSTACK_USE_ALLOCA -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# elif defined __BUILTIN_VA_ARG_INCR -# include /* INFRINGES ON USER NAME SPACE */ -# elif defined _AIX -# define YYSTACK_ALLOC __alloca -# elif defined _MSC_VER -# include /* INFRINGES ON USER NAME SPACE */ -# define alloca _alloca -# else -# define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS -# include /* INFRINGES ON USER NAME SPACE */ - /* Use EXIT_SUCCESS as a witness for stdlib.h. */ -# ifndef EXIT_SUCCESS -# define EXIT_SUCCESS 0 -# endif -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's 'empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) -# ifndef YYSTACK_ALLOC_MAXIMUM - /* The OS might guarantee only one guard page at the bottom of the stack, - and a page size can be as small as 4096 bytes. So we cannot safely - invoke alloca (N) if N exceeds 4096. Use a slightly smaller number - to allow for a few compiler-allocated temporary stack slots. */ -# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ -# endif -# else -# define YYSTACK_ALLOC YYMALLOC -# define YYSTACK_FREE YYFREE -# ifndef YYSTACK_ALLOC_MAXIMUM -# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM -# endif -# if (defined __cplusplus && ! defined EXIT_SUCCESS \ - && ! ((defined YYMALLOC || defined malloc) \ - && (defined YYFREE || defined free))) -# include /* INFRINGES ON USER NAME SPACE */ -# ifndef EXIT_SUCCESS -# define EXIT_SUCCESS 0 -# endif -# endif -# ifndef YYMALLOC -# define YYMALLOC malloc -# if ! defined malloc && ! defined EXIT_SUCCESS -void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# ifndef YYFREE -# define YYFREE free -# if ! defined free && ! defined EXIT_SUCCESS -void free (void *); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# endif -#endif /* !defined yyoverflow */ - -#if (! defined yyoverflow \ - && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) - -/* A type that is properly aligned for any stack member. */ -union yyalloc -{ - yy_state_t yyss_alloc; - YYSTYPE yyvs_alloc; -}; - -/* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) - -/* The size of an array large to enough to hold all stacks, each with - N elements. */ -# define YYSTACK_BYTES(N) \ - ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \ - + YYSTACK_GAP_MAXIMUM) - -# define YYCOPY_NEEDED 1 - -/* Relocate STACK from its old location to the new one. The - local variables YYSIZE and YYSTACKSIZE give the old and new number of - elements in the stack, and YYPTR gives the new location of the - stack. Advance YYPTR to a properly aligned location for the next - stack. */ -# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ - do \ - { \ - YYPTRDIFF_T yynewbytes; \ - YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ - Stack = &yyptr->Stack_alloc; \ - yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / YYSIZEOF (*yyptr); \ - } \ - while (0) - -#endif - -#if defined YYCOPY_NEEDED && YYCOPY_NEEDED -/* Copy COUNT objects from SRC to DST. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(Dst, Src, Count) \ - __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) -# else -# define YYCOPY(Dst, Src, Count) \ - do \ - { \ - YYPTRDIFF_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (Dst)[yyi] = (Src)[yyi]; \ - } \ - while (0) -# endif -# endif -#endif /* !YYCOPY_NEEDED */ - -/* YYFINAL -- State number of the termination state. */ -#define YYFINAL 67 -/* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 2499 - -/* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 100 -/* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 78 -/* YYNRULES -- Number of rules. */ -#define YYNRULES 275 -/* YYNSTATES -- Number of states. */ -#define YYNSTATES 480 - -/* YYMAXUTOK -- Last valid token kind. */ -#define YYMAXUTOK 330 - - -/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM - as returned by yylex, with out-of-bounds checking. */ -#define YYTRANSLATE(YYX) \ - (0 <= (YYX) && (YYX) <= YYMAXUTOK \ - ? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \ - : YYSYMBOL_YYUNDEF) - -/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM - as returned by yylex. */ -static const yytype_int8 yytranslate[] = -{ - 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 90, 2, 2, 2, 92, 85, 2, - 76, 77, 86, 87, 78, 88, 82, 91, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 79, 99, - 93, 98, 94, 97, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 80, 2, 81, 95, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 83, 96, 84, 89, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, - 75 -}; - -#if YYDEBUG -/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ -static const yytype_int16 yyrline[] = -{ - 0, 22, 22, 23, 24, 25, 26, 30, 31, 32, - 36, 40, 41, 45, 49, 50, 54, 55, 59, 60, - 61, 62, 63, 64, 65, 66, 67, 68, 72, 73, - 77, 78, 79, 80, 81, 82, 83, 87, 88, 89, - 90, 91, 92, 96, 97, 101, 102, 103, 104, 108, - 109, 110, 114, 115, 116, 120, 121, 122, 123, 124, - 128, 129, 130, 134, 135, 139, 140, 144, 145, 149, - 150, 154, 155, 159, 160, 164, 165, 169, 170, 171, - 172, 173, 174, 175, 176, 177, 178, 179, 183, 184, - 188, 192, 193, 194, 198, 199, 200, 201, 202, 203, - 204, 205, 206, 207, 211, 212, 216, 217, 221, 222, - 223, 224, 225, 226, 230, 231, 232, 233, 234, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, - 249, 250, 251, 255, 256, 260, 261, 265, 266, 267, - 271, 272, 273, 274, 278, 279, 283, 284, 285, 289, - 290, 291, 292, 293, 297, 298, 302, 303, 307, 311, - 312, 313, 314, 318, 319, 323, 324, 328, 329, 333, - 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, - 344, 345, 346, 350, 351, 352, 353, 357, 358, 363, - 364, 368, 369, 373, 374, 375, 379, 380, 384, 385, - 389, 390, 391, 395, 396, 397, 398, 399, 400, 401, - 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, 415, 419, 420, 421, 425, 426, 427, - 428, 432, 436, 437, 441, 442, 446, 450, 451, 452, - 453, 454, 455, 459, 460, 461, 465, 466, 470, 471, - 475, 476, 480, 481, 485, 486, 487, 491, 492, 493, - 494, 495, 496, 500, 501, 502, 503, 504, 508, 509, - 513, 514, 518, 519, 523, 524 -}; -#endif - -/** Accessing symbol of state STATE. */ -#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) - -#if YYDEBUG || 0 -/* The user-facing name of the symbol whose (internal) number is - YYSYMBOL. No bounds checking. */ -static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED; - -/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. - First, the terminals, then, starting at YYNTOKENS, nonterminals. */ -static const char *const yytname[] = -{ - "\"end of file\"", "error", "\"invalid token\"", "IDENTIFIER", - "I_CONSTANT", "F_CONSTANT", "STRING_LITERAL", "FUNC_NAME", "SIZEOF", - "PTR_OP", "INC_OP", "DEC_OP", "LEFT_OP", "RIGHT_OP", "LE_OP", "GE_OP", - "EQ_OP", "NE_OP", "AND_OP", "OR_OP", "MUL_ASSIGN", "DIV_ASSIGN", - "MOD_ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "LEFT_ASSIGN", "RIGHT_ASSIGN", - "AND_ASSIGN", "XOR_ASSIGN", "OR_ASSIGN", "TYPEDEF_NAME", - "ENUMERATION_CONSTANT", "TYPEDEF", "EXTERN", "STATIC", "AUTO", - "REGISTER", "INLINE", "CONST", "RESTRICT", "VOLATILE", "BOOL", "CHAR", - "SHORT", "INT", "LONG", "SIGNED", "UNSIGNED", "FLOAT", "DOUBLE", "VOID", - "COMPLEX", "IMAGINARY", "STRUCT", "UNION", "ENUM", "ELLIPSIS", "CASE", - "DEFAULT", "IF", "ELSE", "SWITCH", "WHILE", "DO", "FOR", "GOTO", - "CONTINUE", "BREAK", "RETURN", "ALIGNAS", "ALIGNOF", "ATOMIC", "GENERIC", - "NORETURN", "STATIC_ASSERT", "THREAD_LOCAL", "'('", "')'", "','", "':'", - "'['", "']'", "'.'", "'{'", "'}'", "'&'", "'*'", "'+'", "'-'", "'~'", - "'!'", "'/'", "'%'", "'<'", "'>'", "'^'", "'|'", "'?'", "'='", "';'", - "$accept", "primary_expression", "constant", "enumeration_constant", - "string", "generic_selection", "generic_assoc_list", - "generic_association", "postfix_expression", "argument_expression_list", - "unary_expression", "unary_operator", "cast_expression", - "multiplicative_expression", "additive_expression", "shift_expression", - "relational_expression", "equality_expression", "and_expression", - "exclusive_or_expression", "inclusive_or_expression", - "logical_and_expression", "logical_or_expression", - "conditional_expression", "assignment_expression", "assignment_operator", - "expression", "constant_expression", "declaration", - "declaration_specifiers", "init_declarator_list", "init_declarator", - "storage_class_specifier", "type_specifier", "struct_or_union_specifier", - "struct_or_union", "struct_declaration_list", "struct_declaration", - "specifier_qualifier_list", "struct_declarator_list", - "struct_declarator", "enum_specifier", "enumerator_list", "enumerator", - "atomic_type_specifier", "type_qualifier", "function_specifier", - "alignment_specifier", "declarator", "direct_declarator", "pointer", - "type_qualifier_list", "parameter_type_list", "parameter_list", - "parameter_declaration", "identifier_list", "type_name", - "abstract_declarator", "direct_abstract_declarator", "initializer", - "initializer_list", "designation", "designator_list", "designator", - "static_assert_declaration", "statement", "labeled_statement", - "compound_statement", "block_item_list", "block_item", - "expression_statement", "selection_statement", "iteration_statement", - "jump_statement", "translation_unit", "external_declaration", - "function_definition", "declaration_list", YY_NULLPTR -}; - -static const char * -yysymbol_name (yysymbol_kind_t yysymbol) -{ - return yytname[yysymbol]; -} -#endif - -#define YYPACT_NINF (-370) - -#define yypact_value_is_default(Yyn) \ - ((Yyn) == YYPACT_NINF) - -#define YYTABLE_NINF (-1) - -#define yytable_value_is_error(Yyn) \ - 0 - -/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing - STATE-NUM. */ -static const yytype_int16 yypact[] = -{ - 2229, -370, -370, -370, -370, -370, -370, -370, -370, -370, - -370, -370, -370, -370, -370, -370, -370, -370, -370, -370, - -370, -370, -370, -370, -370, 26, -43, -35, -370, -8, - -370, -370, 28, 2319, 2319, -370, 39, -370, -370, 2319, - 2319, 2319, -370, 1816, -370, -370, -56, 46, 901, 2428, - 1649, -370, 45, 162, -370, -40, -370, 1915, -46, 79, - -370, -370, 2, 2357, -370, -370, -370, -370, -370, 46, - -370, -45, 10, -370, -370, -370, -370, -370, -370, 1671, - 1693, 1693, -370, 61, 71, 901, -370, -370, -370, -370, - -370, -370, -370, -370, -370, -370, 163, -370, 1649, -370, - -67, -30, 156, 125, 209, 92, 64, 65, 166, 20, - -370, 121, 2428, 109, 2428, 128, 155, 160, 165, -370, - -370, -370, 162, 45, -370, 457, 1407, -370, 28, -370, - 2131, 1869, 989, -46, 2357, 2031, -370, 72, -370, 104, - 1649, 29, -370, 901, -370, 901, -370, -370, 2428, 1649, - 450, -370, -370, 150, 169, 251, -370, -370, 1429, 1649, - 253, -370, 1649, 1649, 1649, 1649, 1649, 1649, 1649, 1649, - 1649, 1649, 1649, 1649, 1649, 1649, 1649, 1649, 1649, 1649, - 1649, -370, -370, 1982, 1011, -20, -370, 74, -370, -370, - -370, 259, -370, -370, -370, -370, 174, 195, 1649, 197, - 206, 220, 221, 721, 222, 282, 200, 202, 765, -370, - -370, 50, -370, -370, -370, -370, 578, -370, -370, -370, - -370, -370, 1385, -370, -370, -370, -370, -370, -370, 76, - 227, 228, -370, 157, 1253, -370, 224, 226, 1033, 2078, - -370, -370, 1649, -370, 66, -370, 231, 32, -370, -370, - -370, -370, 234, 238, 242, 249, -370, -370, -370, -370, - -370, -370, -370, -370, -370, -370, -370, 1649, -370, 1649, - 1517, -370, -370, 159, -370, 136, -370, -370, -370, -370, - -67, -67, -30, -30, 156, 156, 156, 156, 125, 125, - 209, 92, 64, 65, 166, 171, -370, 256, 257, 1253, - -370, 254, 258, 1121, 74, 2183, 1143, 260, 721, 261, - 721, 1649, 1649, 1649, 268, 668, 239, -370, -370, -370, - 67, -370, -370, -370, 1649, 340, -370, 129, 1407, 101, - -370, 1759, -370, 77, -370, -370, 2275, -370, 341, 264, - 1253, -370, -370, 1649, -370, 265, 267, -370, -370, 117, - -370, 1649, -370, 266, 266, -370, 2394, -370, -370, 1385, - -370, -370, 1649, -370, 1649, -370, -370, 270, 1253, -370, - -370, 1649, -370, 274, -370, 279, 1253, -370, 276, 277, - 1165, 262, -370, 721, -370, 175, 182, 184, 283, 811, - 811, -370, -370, 281, -370, 1275, -370, -370, -370, -370, - -370, -370, -370, -370, 284, 285, -370, -370, -370, -370, - 289, 186, -370, 290, 131, -370, -370, -370, 291, 292, - -370, -370, 293, 1253, -370, -370, 1649, -370, 295, -370, - -370, 721, 721, 721, 1649, 1539, 1561, -370, -370, -370, - 1407, -370, -370, 1649, -370, 2394, 1649, 1297, -370, -370, - -370, -370, 296, 297, -370, 300, -370, -370, 190, 721, - 193, 721, 201, -370, -370, -370, -370, -370, -370, -370, - 721, 271, -370, 721, -370, 721, -370, -370, -370, -370 -}; - -/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. - Performed when YYTABLE does not specify something else to do. Zero - means the default is an error. */ -static const yytype_int16 yydefact[] = -{ - 0, 129, 108, 109, 110, 112, 113, 163, 159, 160, - 161, 123, 115, 116, 117, 118, 121, 122, 119, 120, - 114, 124, 125, 133, 134, 0, 0, 162, 164, 0, - 111, 271, 0, 95, 97, 127, 0, 128, 126, 99, - 101, 103, 93, 0, 268, 270, 153, 0, 0, 0, - 0, 169, 0, 186, 91, 0, 104, 107, 168, 0, - 94, 96, 132, 0, 98, 100, 102, 1, 269, 0, - 10, 157, 0, 154, 2, 7, 8, 11, 12, 0, - 0, 0, 9, 0, 0, 0, 37, 38, 39, 40, - 41, 42, 18, 3, 4, 6, 30, 43, 0, 45, - 49, 52, 55, 60, 63, 65, 67, 69, 71, 73, - 90, 0, 141, 199, 143, 0, 0, 0, 0, 162, - 187, 185, 184, 0, 92, 0, 0, 274, 0, 273, - 0, 0, 0, 167, 0, 0, 135, 0, 139, 0, - 0, 0, 149, 0, 34, 0, 31, 32, 0, 0, - 43, 75, 88, 0, 0, 0, 24, 25, 0, 0, - 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 166, 140, 0, 0, 201, 198, 202, 142, 165, - 158, 0, 170, 188, 183, 105, 107, 2, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 246, - 252, 0, 250, 251, 237, 238, 0, 248, 239, 240, - 241, 242, 0, 226, 106, 275, 272, 196, 181, 195, - 0, 190, 191, 0, 0, 171, 38, 0, 0, 0, - 130, 136, 0, 137, 0, 144, 148, 0, 151, 156, - 150, 155, 0, 0, 0, 0, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, 77, 0, 5, 0, - 0, 23, 20, 0, 28, 0, 22, 46, 47, 48, - 50, 51, 53, 54, 58, 59, 56, 57, 61, 62, - 64, 66, 68, 70, 72, 0, 220, 0, 0, 0, - 204, 38, 0, 0, 200, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 264, 265, 266, - 0, 253, 247, 249, 0, 0, 228, 0, 0, 0, - 232, 0, 193, 201, 194, 180, 0, 182, 0, 0, - 0, 172, 179, 0, 178, 38, 0, 131, 146, 0, - 138, 0, 152, 35, 0, 36, 0, 76, 89, 0, - 44, 21, 0, 19, 0, 221, 203, 0, 0, 205, - 211, 0, 210, 0, 222, 0, 0, 212, 38, 0, - 0, 0, 243, 0, 245, 0, 0, 0, 0, 0, - 0, 263, 267, 0, 235, 0, 224, 227, 231, 233, - 189, 192, 197, 174, 0, 0, 175, 177, 145, 147, - 0, 0, 14, 0, 0, 29, 74, 207, 0, 0, - 209, 223, 0, 0, 213, 219, 0, 218, 0, 236, - 244, 0, 0, 0, 0, 0, 0, 234, 225, 230, - 0, 173, 176, 0, 13, 0, 0, 0, 26, 206, - 208, 215, 0, 0, 216, 255, 256, 257, 0, 0, - 0, 0, 0, 229, 17, 15, 16, 27, 214, 217, - 0, 0, 261, 0, 259, 0, 254, 258, 262, 260 -}; - -/* YYPGOTO[NTERM-NUM]. */ -static const yytype_int16 yypgoto[] = -{ - -370, -370, -370, -370, -370, -370, -370, -74, -370, -370, - 243, -370, -29, 122, 127, 52, 116, 188, 203, 205, - 207, 210, -370, -38, -59, -370, -82, -22, -49, 11, - -370, 263, -370, -42, -370, -370, 246, -115, -23, -370, - 41, -370, 322, -124, -370, -48, -370, -370, -18, -50, - -51, -119, -113, -370, 56, -370, -2, -91, -169, -122, - 34, -369, -370, 73, -27, -33, -370, -34, -370, 178, - -260, -370, -370, -370, -370, 352, -370, -370 -}; - -/* YYDEFGOTO[NTERM-NUM]. */ -static const yytype_int16 yydefgoto[] = -{ - 0, 92, 93, 71, 94, 95, 411, 412, 96, 273, - 150, 98, 99, 100, 101, 102, 103, 104, 105, 106, - 107, 108, 109, 151, 152, 267, 211, 111, 31, 128, - 55, 56, 33, 34, 35, 36, 135, 136, 113, 244, - 245, 37, 72, 73, 38, 39, 40, 41, 118, 58, - 59, 122, 297, 231, 232, 233, 413, 298, 187, 326, - 327, 328, 329, 330, 42, 213, 214, 215, 216, 217, - 218, 219, 220, 221, 43, 44, 45, 130 -}; - -/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If - positive, shift that token. If negative, reduce the rule whose - number is the opposite. If YYTABLE_NINF, syntax error. */ -static const yytype_int16 yytable[] = -{ - 114, 114, 121, 153, 224, 120, 112, 112, 127, 133, - 110, 32, 110, 238, 57, 114, 304, 251, 230, 162, - 241, 112, 186, 129, 163, 164, 440, 69, 117, 46, - 131, 51, 70, 48, 132, 70, 138, 114, 123, 179, - 137, 49, 62, 112, 60, 61, 115, 116, 51, 70, - 64, 65, 66, 140, 32, 390, 183, 165, 166, 124, - 184, 153, 185, 153, 114, 303, 114, 223, 50, 161, - 112, 194, 112, 237, 193, 51, 212, 275, 440, 51, - 51, 225, 51, 154, 120, 134, 114, 114, 141, 182, - 255, 188, 112, 112, 142, 114, 226, 114, 295, 274, - 114, 112, 110, 112, 52, 196, 112, 138, 138, 47, - 196, 137, 137, 250, 53, 340, 352, 180, 249, 246, - 51, 52, 63, 251, 241, 302, 320, 54, 269, 435, - 436, 53, 185, 277, 278, 279, 120, 148, 334, 169, - 170, 252, 229, 253, 349, 269, 254, 149, 52, 321, - 305, 242, 331, 331, 306, 52, 184, 184, 53, 176, - 110, 177, 53, 223, 304, 350, 392, 212, 167, 168, - 314, 243, 155, 156, 157, 339, 309, 175, 333, 346, - 368, 324, 247, 325, 178, 183, 120, 380, 248, 184, - 193, 114, 375, 52, 229, 53, 242, 112, 181, 398, - 8, 9, 10, 53, 110, 189, 397, 395, 357, 447, - 358, 332, 138, 396, 269, 448, 137, 363, 171, 172, - 348, 284, 285, 286, 287, 173, 174, 268, 269, 385, - 386, 387, 190, 119, 337, 338, 361, 362, 191, 158, - 367, 360, 192, 159, 373, 160, 270, 379, 53, 269, - 364, 120, 431, 269, 271, 193, 276, 423, 120, 432, - 269, 433, 269, 444, 445, 307, 389, 471, 269, 223, - 473, 269, 126, 439, 308, 382, 310, 384, 475, 269, - 333, 404, 311, 133, 405, 316, 110, 280, 281, 288, - 289, 97, 193, 97, 282, 283, 312, 313, 315, 317, - 223, 318, 393, 415, 335, 341, 336, 342, 114, 418, - 351, 353, 419, 110, 112, 354, 229, 422, 463, 355, - 193, 428, 144, 146, 147, 439, 416, 356, 120, 409, - 388, 246, 193, 365, 366, 369, 223, 381, 391, 370, - 383, 97, 229, 394, 402, 403, 406, 229, 407, 359, - 430, 417, 458, 460, 462, 420, 421, 424, 425, 434, - 470, 429, 437, 290, 452, 441, 442, 453, 443, 446, - 477, 465, 449, 450, 451, 193, 454, 468, 469, 291, - 239, 223, 292, 97, 464, 293, 195, 466, 223, 294, - 408, 139, 401, 414, 323, 68, 0, 114, 455, 456, - 457, 0, 399, 112, 0, 97, 97, 97, 97, 97, - 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, - 97, 97, 97, 0, 0, 0, 472, 0, 474, 0, - 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, - 478, 97, 479, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 197, 75, 76, 77, 78, 79, 0, 80, 81, 0, - 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, - 0, 0, 0, 0, 0, 97, 0, 1, 82, 2, - 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 97, 198, 199, 200, 0, 201, 202, - 203, 204, 205, 206, 207, 208, 26, 83, 27, 84, - 28, 29, 30, 85, 0, 0, 0, 0, 0, 0, - 125, 209, 86, 87, 88, 89, 90, 91, 266, 0, - 0, 0, 0, 0, 0, 0, 210, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 97, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 197, 75, 76, 77, 78, 79, 0, 80, 81, - 0, 0, 0, 0, 97, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 97, 1, 82, - 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 0, 198, 199, 200, 0, 201, - 202, 203, 204, 205, 206, 207, 208, 26, 83, 27, - 84, 28, 29, 30, 85, 0, 0, 0, 0, 0, - 0, 125, 322, 86, 87, 88, 89, 90, 91, 0, - 0, 74, 75, 76, 77, 78, 79, 210, 80, 81, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1, 82, - 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 197, 75, 76, 77, 78, 79, - 0, 80, 81, 0, 0, 0, 0, 26, 83, 27, - 84, 28, 29, 30, 85, 0, 0, 0, 0, 0, - 0, 0, 82, 86, 87, 88, 89, 90, 91, 0, - 0, 0, 0, 0, 0, 0, 0, 210, 74, 75, - 76, 77, 78, 79, 0, 80, 81, 0, 198, 199, - 200, 0, 201, 202, 203, 204, 205, 206, 207, 208, - 0, 83, 0, 84, 0, 0, 82, 85, 0, 0, - 0, 0, 0, 0, 125, 0, 86, 87, 88, 89, - 90, 91, 0, 0, 74, 75, 76, 77, 78, 79, - 210, 80, 81, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 83, 0, 84, 0, 0, - 0, 85, 82, 0, 0, 0, 0, 0, 0, 0, - 86, 87, 88, 89, 90, 91, 0, 0, 0, 0, - 0, 0, 0, 0, 319, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 83, 0, 84, 0, 0, 0, 85, 0, 0, - 0, 0, 0, 0, 0, 0, 86, 87, 88, 89, - 90, 91, 0, 0, 74, 75, 76, 77, 78, 79, - 210, 80, 81, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1, 82, 0, 0, 0, 0, 0, 0, 8, - 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 83, 27, 84, 0, 0, 0, 85, 0, 0, - 0, 0, 0, 0, 0, 0, 86, 87, 88, 89, - 90, 91, 74, 75, 76, 77, 78, 79, 0, 80, - 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 74, 75, 76, 77, 78, 79, - 82, 80, 81, 234, 0, 0, 0, 8, 9, 10, - 0, 0, 0, 0, 0, 0, 74, 75, 76, 77, - 78, 79, 82, 80, 81, 299, 0, 0, 0, 8, - 9, 10, 0, 0, 0, 0, 0, 0, 0, 83, - 119, 84, 0, 0, 82, 85, 0, 343, 0, 0, - 235, 8, 9, 10, 86, 236, 88, 89, 90, 91, - 0, 83, 119, 84, 0, 0, 0, 85, 0, 0, - 0, 0, 300, 0, 0, 0, 86, 301, 88, 89, - 90, 91, 0, 83, 119, 84, 0, 0, 0, 85, - 0, 0, 0, 0, 344, 0, 0, 0, 86, 345, - 88, 89, 90, 91, 74, 75, 76, 77, 78, 79, - 0, 80, 81, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 74, 75, 76, 77, - 78, 79, 82, 80, 81, 371, 0, 0, 0, 8, - 9, 10, 0, 0, 0, 0, 0, 0, 74, 75, - 76, 77, 78, 79, 82, 80, 81, 376, 0, 0, - 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, - 0, 83, 119, 84, 0, 0, 82, 85, 0, 426, - 0, 0, 372, 8, 9, 10, 86, 87, 88, 89, - 90, 91, 0, 83, 119, 84, 0, 0, 0, 85, - 0, 0, 0, 0, 377, 0, 0, 0, 86, 378, - 88, 89, 90, 91, 0, 83, 119, 84, 0, 0, - 0, 85, 0, 0, 0, 0, 427, 0, 0, 0, - 86, 87, 88, 89, 90, 91, 74, 75, 76, 77, - 78, 79, 0, 80, 81, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 74, 75, - 76, 77, 78, 79, 82, 80, 81, 0, 0, 0, - 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, - 74, 75, 76, 77, 78, 79, 82, 80, 81, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 83, 119, 84, 0, 0, 82, 85, - 0, 0, 0, 0, 0, 0, 0, 0, 86, 87, - 88, 89, 90, 91, 0, 83, 0, 84, 0, 0, - 0, 85, 0, 0, 0, 324, 0, 325, 222, 438, - 86, 87, 88, 89, 90, 91, 0, 83, 0, 84, - 0, 0, 0, 85, 0, 0, 0, 324, 0, 325, - 222, 467, 86, 87, 88, 89, 90, 91, 74, 75, - 76, 77, 78, 79, 0, 80, 81, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 74, 75, 76, 77, 78, 79, 82, 80, 81, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 74, 75, 76, 77, 78, 79, 82, 80, - 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 83, 0, 84, 0, 0, - 82, 85, 0, 0, 0, 324, 0, 325, 222, 0, - 86, 87, 88, 89, 90, 91, 0, 83, 0, 84, - 0, 0, 0, 85, 0, 0, 0, 0, 0, 0, - 222, 0, 86, 87, 88, 89, 90, 91, 0, 83, - 0, 84, 0, 0, 0, 85, 272, 0, 0, 0, - 0, 0, 0, 0, 86, 87, 88, 89, 90, 91, - 74, 75, 76, 77, 78, 79, 0, 80, 81, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 74, 75, 76, 77, 78, 79, 82, 80, - 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 74, 75, 76, 77, 78, 79, - 82, 80, 81, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 83, 0, 84, - 0, 0, 82, 85, 0, 0, 0, 0, 0, 0, - 359, 0, 86, 87, 88, 89, 90, 91, 0, 83, - 0, 84, 0, 0, 0, 85, 459, 0, 0, 0, - 0, 0, 0, 0, 86, 87, 88, 89, 90, 91, - 0, 83, 0, 84, 0, 0, 0, 85, 461, 0, - 0, 0, 0, 0, 0, 0, 86, 87, 88, 89, - 90, 91, 74, 75, 76, 77, 78, 79, 0, 80, - 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 74, 75, 76, 77, 78, 79, - 82, 80, 81, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 74, 75, 76, 77, - 78, 79, 82, 80, 81, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, - 0, 84, 0, 0, 82, 85, 0, 0, 0, 0, - 0, 0, 0, 0, 86, 87, 88, 89, 90, 91, - 0, 83, 0, 84, 0, 0, 0, 143, 0, 0, - 0, 0, 0, 0, 0, 0, 86, 87, 88, 89, - 90, 91, 51, 83, 0, 84, 0, 0, 0, 145, - 0, 0, 0, 0, 0, 0, 0, 0, 86, 87, - 88, 89, 90, 91, 0, 0, 0, 0, 0, 1, - 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 0, 67, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, - 27, 0, 28, 0, 30, 331, 296, 0, 0, 184, - 0, 0, 0, 0, 0, 53, 1, 0, 2, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 227, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 26, 0, 27, 0, 28, - 29, 30, 0, 0, 0, 0, 0, 0, 0, 1, - 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, - 27, 0, 28, 0, 30, 1, 228, 2, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 26, 0, 27, 0, 28, 29, - 30, 0, 0, 0, 0, 0, 0, 0, 125, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 126, 2, 3, 4, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - 18, 19, 20, 21, 22, 23, 24, 25, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 26, 0, 27, 0, 28, 0, 30, 183, 296, - 0, 1, 184, 0, 0, 0, 0, 0, 53, 8, - 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 27, 0, 0, 29, 0, 0, 1, 0, - 0, 0, 0, 0, 0, 240, 8, 9, 10, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, - 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, - 0, 1, 347, 2, 3, 4, 5, 6, 7, 8, - 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 26, 0, 27, 0, 28, 29, 30, 0, 0, 0, - 0, 0, 0, 1, 125, 2, 3, 4, 5, 6, - 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 26, 0, 27, 0, 28, 0, 30, 1, - 374, 2, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, - 27, 0, 28, 29, 30, 1, 0, 2, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 400, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 26, 0, 27, 0, 28, 1, - 30, 2, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1, 26, 0, - 27, 0, 28, 0, 30, 8, 9, 10, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 0, 0, 27, 0, - 0, 29, 8, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 0, 0, 410, 0, 0, 0, 0, 0, 1, 0, - 0, 0, 0, 0, 0, 27, 8, 9, 10, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 27 -}; - -static const yytype_int16 yycheck[] = -{ - 48, 49, 53, 85, 126, 53, 48, 49, 57, 59, - 48, 0, 50, 132, 32, 63, 185, 141, 131, 86, - 135, 63, 113, 57, 91, 92, 395, 83, 50, 3, - 76, 3, 3, 76, 80, 3, 63, 85, 78, 19, - 63, 76, 3, 85, 33, 34, 48, 49, 3, 3, - 39, 40, 41, 98, 43, 315, 76, 87, 88, 99, - 80, 143, 113, 145, 112, 184, 114, 126, 76, 98, - 112, 122, 114, 132, 122, 3, 125, 159, 447, 3, - 3, 130, 3, 85, 132, 83, 134, 135, 78, 112, - 149, 114, 134, 135, 84, 143, 130, 145, 180, 158, - 148, 143, 140, 145, 76, 123, 148, 134, 135, 83, - 128, 134, 135, 84, 86, 234, 84, 97, 140, 137, - 3, 76, 83, 247, 239, 184, 208, 99, 78, 389, - 390, 86, 183, 162, 163, 164, 184, 76, 229, 14, - 15, 143, 131, 145, 78, 78, 148, 76, 76, 99, - 76, 79, 76, 76, 80, 76, 80, 80, 86, 95, - 198, 96, 86, 222, 333, 99, 99, 216, 12, 13, - 203, 99, 9, 10, 11, 234, 198, 85, 229, 238, - 299, 80, 78, 82, 18, 76, 234, 306, 84, 80, - 238, 239, 305, 76, 183, 86, 79, 239, 77, 98, - 38, 39, 40, 86, 242, 77, 328, 78, 267, 78, - 269, 229, 239, 84, 78, 84, 239, 81, 93, 94, - 242, 169, 170, 171, 172, 16, 17, 77, 78, 311, - 312, 313, 77, 71, 77, 78, 77, 78, 78, 76, - 299, 270, 77, 80, 303, 82, 77, 306, 86, 78, - 79, 299, 77, 78, 3, 303, 3, 376, 306, 77, - 78, 77, 78, 77, 78, 6, 315, 77, 78, 328, - 77, 78, 98, 395, 79, 308, 79, 310, 77, 78, - 331, 340, 76, 333, 343, 3, 324, 165, 166, 173, - 174, 48, 340, 50, 167, 168, 76, 76, 76, 99, - 359, 99, 324, 362, 77, 81, 78, 81, 356, 368, - 79, 77, 371, 351, 356, 77, 305, 376, 440, 77, - 368, 380, 79, 80, 81, 447, 364, 78, 376, 351, - 62, 349, 380, 77, 77, 81, 395, 77, 99, 81, - 79, 98, 331, 3, 3, 81, 81, 336, 81, 83, - 383, 81, 434, 435, 436, 81, 77, 81, 81, 76, - 60, 99, 81, 175, 423, 81, 81, 426, 79, 79, - 99, 445, 81, 81, 81, 423, 81, 81, 81, 176, - 134, 440, 177, 140, 443, 178, 123, 446, 447, 179, - 349, 69, 336, 359, 216, 43, -1, 445, 431, 432, - 433, -1, 329, 445, -1, 162, 163, 164, 165, 166, - 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, - 177, 178, 179, -1, -1, -1, 459, -1, 461, -1, - -1, -1, -1, -1, -1, -1, -1, 470, -1, -1, - 473, 198, 475, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 3, 4, 5, 6, 7, 8, -1, 10, 11, -1, - 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - -1, -1, -1, -1, -1, 242, -1, 30, 31, 32, - 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, 270, 57, 58, 59, -1, 61, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, - 73, 74, 75, 76, -1, -1, -1, -1, -1, -1, - 83, 84, 85, 86, 87, 88, 89, 90, 98, -1, - -1, -1, -1, -1, -1, -1, 99, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 324, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 3, 4, 5, 6, 7, 8, -1, 10, 11, - -1, -1, -1, -1, 351, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 364, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 55, -1, 57, 58, 59, -1, 61, - 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, - 72, 73, 74, 75, 76, -1, -1, -1, -1, -1, - -1, 83, 84, 85, 86, 87, 88, 89, 90, -1, - -1, 3, 4, 5, 6, 7, 8, 99, 10, 11, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 55, 3, 4, 5, 6, 7, 8, - -1, 10, 11, -1, -1, -1, -1, 69, 70, 71, - 72, 73, 74, 75, 76, -1, -1, -1, -1, -1, - -1, -1, 31, 85, 86, 87, 88, 89, 90, -1, - -1, -1, -1, -1, -1, -1, -1, 99, 3, 4, - 5, 6, 7, 8, -1, 10, 11, -1, 57, 58, - 59, -1, 61, 62, 63, 64, 65, 66, 67, 68, - -1, 70, -1, 72, -1, -1, 31, 76, -1, -1, - -1, -1, -1, -1, 83, -1, 85, 86, 87, 88, - 89, 90, -1, -1, 3, 4, 5, 6, 7, 8, - 99, 10, 11, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 70, -1, 72, -1, -1, - -1, 76, 31, -1, -1, -1, -1, -1, -1, -1, - 85, 86, 87, 88, 89, 90, -1, -1, -1, -1, - -1, -1, -1, -1, 99, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 70, -1, 72, -1, -1, -1, 76, -1, -1, - -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, - 89, 90, -1, -1, 3, 4, 5, 6, 7, 8, - 99, 10, 11, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 30, 31, -1, -1, -1, -1, -1, -1, 38, - 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 70, 71, 72, -1, -1, -1, 76, -1, -1, - -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, - 89, 90, 3, 4, 5, 6, 7, 8, -1, 10, - 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, - 31, 10, 11, 34, -1, -1, -1, 38, 39, 40, - -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, - 7, 8, 31, 10, 11, 34, -1, -1, -1, 38, - 39, 40, -1, -1, -1, -1, -1, -1, -1, 70, - 71, 72, -1, -1, 31, 76, -1, 34, -1, -1, - 81, 38, 39, 40, 85, 86, 87, 88, 89, 90, - -1, 70, 71, 72, -1, -1, -1, 76, -1, -1, - -1, -1, 81, -1, -1, -1, 85, 86, 87, 88, - 89, 90, -1, 70, 71, 72, -1, -1, -1, 76, - -1, -1, -1, -1, 81, -1, -1, -1, 85, 86, - 87, 88, 89, 90, 3, 4, 5, 6, 7, 8, - -1, 10, 11, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, - 7, 8, 31, 10, 11, 34, -1, -1, -1, 38, - 39, 40, -1, -1, -1, -1, -1, -1, 3, 4, - 5, 6, 7, 8, 31, 10, 11, 34, -1, -1, - -1, 38, 39, 40, -1, -1, -1, -1, -1, -1, - -1, 70, 71, 72, -1, -1, 31, 76, -1, 34, - -1, -1, 81, 38, 39, 40, 85, 86, 87, 88, - 89, 90, -1, 70, 71, 72, -1, -1, -1, 76, - -1, -1, -1, -1, 81, -1, -1, -1, 85, 86, - 87, 88, 89, 90, -1, 70, 71, 72, -1, -1, - -1, 76, -1, -1, -1, -1, 81, -1, -1, -1, - 85, 86, 87, 88, 89, 90, 3, 4, 5, 6, - 7, 8, -1, 10, 11, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, - 5, 6, 7, 8, 31, 10, 11, -1, -1, -1, - -1, 38, 39, 40, -1, -1, -1, -1, -1, -1, - 3, 4, 5, 6, 7, 8, 31, 10, 11, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 70, 71, 72, -1, -1, 31, 76, - -1, -1, -1, -1, -1, -1, -1, -1, 85, 86, - 87, 88, 89, 90, -1, 70, -1, 72, -1, -1, - -1, 76, -1, -1, -1, 80, -1, 82, 83, 84, - 85, 86, 87, 88, 89, 90, -1, 70, -1, 72, - -1, -1, -1, 76, -1, -1, -1, 80, -1, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 3, 4, - 5, 6, 7, 8, -1, 10, 11, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 3, 4, 5, 6, 7, 8, 31, 10, 11, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 3, 4, 5, 6, 7, 8, 31, 10, - 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 70, -1, 72, -1, -1, - 31, 76, -1, -1, -1, 80, -1, 82, 83, -1, - 85, 86, 87, 88, 89, 90, -1, 70, -1, 72, - -1, -1, -1, 76, -1, -1, -1, -1, -1, -1, - 83, -1, 85, 86, 87, 88, 89, 90, -1, 70, - -1, 72, -1, -1, -1, 76, 77, -1, -1, -1, - -1, -1, -1, -1, 85, 86, 87, 88, 89, 90, - 3, 4, 5, 6, 7, 8, -1, 10, 11, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 3, 4, 5, 6, 7, 8, 31, 10, - 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, - 31, 10, 11, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 70, -1, 72, - -1, -1, 31, 76, -1, -1, -1, -1, -1, -1, - 83, -1, 85, 86, 87, 88, 89, 90, -1, 70, - -1, 72, -1, -1, -1, 76, 77, -1, -1, -1, - -1, -1, -1, -1, 85, 86, 87, 88, 89, 90, - -1, 70, -1, 72, -1, -1, -1, 76, 77, -1, - -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, - 89, 90, 3, 4, 5, 6, 7, 8, -1, 10, - 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, - 31, 10, 11, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, - 7, 8, 31, 10, 11, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 70, - -1, 72, -1, -1, 31, 76, -1, -1, -1, -1, - -1, -1, -1, -1, 85, 86, 87, 88, 89, 90, - -1, 70, -1, 72, -1, -1, -1, 76, -1, -1, - -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, - 89, 90, 3, 70, -1, 72, -1, -1, -1, 76, - -1, -1, -1, -1, -1, -1, -1, -1, 85, 86, - 87, 88, 89, 90, -1, -1, -1, -1, -1, 30, - -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, -1, 0, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, - 71, -1, 73, -1, 75, 76, 77, -1, -1, 80, - -1, -1, -1, -1, -1, 86, 30, -1, 32, 33, - 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 3, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 69, -1, 71, -1, 73, - 74, 75, -1, -1, -1, -1, -1, -1, -1, 30, - -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, - 71, -1, 73, -1, 75, 30, 77, 32, 33, 34, - 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 69, -1, 71, -1, 73, 74, - 75, -1, -1, -1, -1, -1, -1, -1, 83, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 30, 98, 32, 33, 34, 35, 36, 37, - 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, 53, 54, 55, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 69, -1, 71, -1, 73, -1, 75, 76, 77, - -1, 30, 80, -1, -1, -1, -1, -1, 86, 38, - 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 71, -1, -1, 74, -1, -1, 30, -1, - -1, -1, -1, -1, -1, 84, 38, 39, 40, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 55, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 71, - -1, -1, 74, -1, -1, -1, -1, -1, -1, -1, - -1, 30, 84, 32, 33, 34, 35, 36, 37, 38, - 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 69, -1, 71, -1, 73, 74, 75, -1, -1, -1, - -1, -1, -1, 30, 83, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 69, -1, 71, -1, 73, -1, 75, 30, - 77, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, - 71, -1, 73, 74, 75, 30, -1, 32, 33, 34, - 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 69, -1, 71, -1, 73, 30, - 75, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 30, 69, -1, - 71, -1, 73, -1, 75, 38, 39, 40, 41, 42, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 30, -1, -1, -1, 71, -1, - -1, 74, 38, 39, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - -1, -1, 58, -1, -1, -1, -1, -1, 30, -1, - -1, -1, -1, -1, -1, 71, 38, 39, 40, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 55, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 71 -}; - -/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of - state STATE-NUM. */ -static const yytype_uint8 yystos[] = -{ - 0, 30, 32, 33, 34, 35, 36, 37, 38, 39, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 69, 71, 73, 74, - 75, 128, 129, 132, 133, 134, 135, 141, 144, 145, - 146, 147, 164, 174, 175, 176, 3, 83, 76, 76, - 76, 3, 76, 86, 99, 130, 131, 148, 149, 150, - 129, 129, 3, 83, 129, 129, 129, 0, 175, 83, - 3, 103, 142, 143, 3, 4, 5, 6, 7, 8, - 10, 11, 31, 70, 72, 76, 85, 86, 87, 88, - 89, 90, 101, 102, 104, 105, 108, 110, 111, 112, - 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, - 123, 127, 133, 138, 145, 156, 156, 127, 148, 71, - 145, 150, 151, 78, 99, 83, 98, 128, 129, 167, - 177, 76, 80, 149, 83, 136, 137, 138, 164, 142, - 98, 78, 84, 76, 110, 76, 110, 110, 76, 76, - 110, 123, 124, 126, 156, 9, 10, 11, 76, 80, - 82, 112, 86, 91, 92, 87, 88, 12, 13, 14, - 15, 93, 94, 16, 17, 85, 95, 96, 18, 19, - 97, 77, 138, 76, 80, 150, 157, 158, 138, 77, - 77, 78, 77, 145, 150, 131, 148, 3, 57, 58, - 59, 61, 62, 63, 64, 65, 66, 67, 68, 84, - 99, 126, 128, 165, 166, 167, 168, 169, 170, 171, - 172, 173, 83, 124, 159, 128, 167, 3, 77, 129, - 152, 153, 154, 155, 34, 81, 86, 124, 151, 136, - 84, 137, 79, 99, 139, 140, 148, 78, 84, 127, - 84, 143, 156, 156, 156, 124, 20, 21, 22, 23, - 24, 25, 26, 27, 28, 29, 98, 125, 77, 78, - 77, 3, 77, 109, 124, 126, 3, 112, 112, 112, - 113, 113, 114, 114, 115, 115, 115, 115, 116, 116, - 117, 118, 119, 120, 121, 126, 77, 152, 157, 34, - 81, 86, 124, 151, 158, 76, 80, 6, 79, 127, - 79, 76, 76, 76, 165, 76, 3, 99, 99, 99, - 126, 99, 84, 169, 80, 82, 159, 160, 161, 162, - 163, 76, 148, 150, 157, 77, 78, 77, 78, 124, - 151, 81, 81, 34, 81, 86, 124, 84, 127, 78, - 99, 79, 84, 77, 77, 77, 78, 124, 124, 83, - 112, 77, 78, 81, 79, 77, 77, 124, 151, 81, - 81, 34, 81, 124, 77, 152, 34, 81, 86, 124, - 151, 77, 165, 79, 165, 126, 126, 126, 62, 128, - 170, 99, 99, 127, 3, 78, 84, 159, 98, 163, - 56, 154, 3, 81, 124, 124, 81, 81, 140, 127, - 58, 106, 107, 156, 160, 124, 123, 81, 124, 124, - 81, 77, 124, 151, 81, 81, 34, 81, 124, 99, - 165, 77, 77, 77, 76, 170, 170, 81, 84, 159, - 161, 81, 81, 79, 77, 78, 79, 78, 84, 81, - 81, 81, 124, 124, 81, 165, 165, 165, 126, 77, - 126, 77, 126, 159, 124, 107, 124, 84, 81, 81, - 60, 77, 165, 77, 165, 77, 165, 99, 165, 165 -}; - -/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */ -static const yytype_uint8 yyr1[] = -{ - 0, 100, 101, 101, 101, 101, 101, 102, 102, 102, - 103, 104, 104, 105, 106, 106, 107, 107, 108, 108, - 108, 108, 108, 108, 108, 108, 108, 108, 109, 109, - 110, 110, 110, 110, 110, 110, 110, 111, 111, 111, - 111, 111, 111, 112, 112, 113, 113, 113, 113, 114, - 114, 114, 115, 115, 115, 116, 116, 116, 116, 116, - 117, 117, 117, 118, 118, 119, 119, 120, 120, 121, - 121, 122, 122, 123, 123, 124, 124, 125, 125, 125, - 125, 125, 125, 125, 125, 125, 125, 125, 126, 126, - 127, 128, 128, 128, 129, 129, 129, 129, 129, 129, - 129, 129, 129, 129, 130, 130, 131, 131, 132, 132, - 132, 132, 132, 132, 133, 133, 133, 133, 133, 133, - 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, - 134, 134, 134, 135, 135, 136, 136, 137, 137, 137, - 138, 138, 138, 138, 139, 139, 140, 140, 140, 141, - 141, 141, 141, 141, 142, 142, 143, 143, 144, 145, - 145, 145, 145, 146, 146, 147, 147, 148, 148, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 150, 150, 150, 150, 151, 151, 152, - 152, 153, 153, 154, 154, 154, 155, 155, 156, 156, - 157, 157, 157, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 159, 159, 159, 160, 160, 160, - 160, 161, 162, 162, 163, 163, 164, 165, 165, 165, - 165, 165, 165, 166, 166, 166, 167, 167, 168, 168, - 169, 169, 170, 170, 171, 171, 171, 172, 172, 172, - 172, 172, 172, 173, 173, 173, 173, 173, 174, 174, - 175, 175, 176, 176, 177, 177 -}; - -/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */ -static const yytype_int8 yyr2[] = -{ - 0, 2, 1, 1, 1, 3, 1, 1, 1, 1, - 1, 1, 1, 6, 1, 3, 3, 3, 1, 4, - 3, 4, 3, 3, 2, 2, 6, 7, 1, 3, - 1, 2, 2, 2, 2, 4, 4, 1, 1, 1, - 1, 1, 1, 1, 4, 1, 3, 3, 3, 1, - 3, 3, 1, 3, 3, 1, 3, 3, 3, 3, - 1, 3, 3, 1, 3, 1, 3, 1, 3, 1, - 3, 1, 3, 1, 5, 1, 3, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, - 1, 2, 3, 1, 2, 1, 2, 1, 2, 1, - 2, 1, 2, 1, 1, 3, 3, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 4, 5, 2, 1, 1, 1, 2, 2, 3, 1, - 2, 1, 2, 1, 1, 3, 2, 3, 1, 4, - 5, 5, 6, 2, 1, 3, 3, 1, 4, 1, - 1, 1, 1, 1, 1, 4, 4, 2, 1, 1, - 3, 3, 4, 6, 5, 5, 6, 5, 4, 4, - 4, 3, 4, 3, 2, 2, 1, 1, 2, 3, - 1, 1, 3, 2, 2, 1, 1, 3, 2, 1, - 2, 1, 1, 3, 2, 3, 5, 4, 5, 4, - 3, 3, 3, 4, 6, 5, 5, 6, 4, 4, - 2, 3, 3, 4, 3, 4, 1, 2, 1, 4, - 3, 2, 1, 2, 3, 2, 7, 1, 1, 1, - 1, 1, 1, 3, 4, 3, 2, 3, 1, 2, - 1, 1, 1, 2, 7, 5, 5, 5, 7, 6, - 7, 6, 7, 3, 2, 2, 2, 3, 1, 2, - 1, 1, 4, 3, 1, 2 -}; - - -enum { YYENOMEM = -2 }; - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) - -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrorlab -#define YYNOMEM goto yyexhaustedlab - - -#define YYRECOVERING() (!!yyerrstatus) - -#define YYBACKUP(Token, Value) \ - do \ - if (yychar == YYEMPTY) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - YYPOPSTACK (yylen); \ - yystate = *yyssp; \ - goto yybackup; \ - } \ - else \ - { \ - yyerror (YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ - while (0) - -/* Backward compatibility with an undocumented macro. - Use YYerror or YYUNDEF. */ -#define YYERRCODE YYUNDEF - - -/* Enable debugging if requested. */ -#if YYDEBUG - -# ifndef YYFPRINTF -# include /* INFRINGES ON USER NAME SPACE */ -# define YYFPRINTF fprintf -# endif - -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (0) - - - - -# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \ -do { \ - if (yydebug) \ - { \ - YYFPRINTF (stderr, "%s ", Title); \ - yy_symbol_print (stderr, \ - Kind, Value); \ - YYFPRINTF (stderr, "\n"); \ - } \ -} while (0) - - -/*-----------------------------------. -| Print this symbol's value on YYO. | -`-----------------------------------*/ - -static void -yy_symbol_value_print (FILE *yyo, - yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) -{ - FILE *yyoutput = yyo; - YY_USE (yyoutput); - if (!yyvaluep) - return; - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN - YY_USE (yykind); - YY_IGNORE_MAYBE_UNINITIALIZED_END -} - - -/*---------------------------. -| Print this symbol on YYO. | -`---------------------------*/ - -static void -yy_symbol_print (FILE *yyo, - yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) -{ - YYFPRINTF (yyo, "%s %s (", - yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind)); - - yy_symbol_value_print (yyo, yykind, yyvaluep); - YYFPRINTF (yyo, ")"); -} - -/*------------------------------------------------------------------. -| yy_stack_print -- Print the state stack from its BOTTOM up to its | -| TOP (included). | -`------------------------------------------------------------------*/ - -static void -yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) -{ - YYFPRINTF (stderr, "Stack now"); - for (; yybottom <= yytop; yybottom++) - { - int yybot = *yybottom; - YYFPRINTF (stderr, " %d", yybot); - } - YYFPRINTF (stderr, "\n"); -} - -# define YY_STACK_PRINT(Bottom, Top) \ -do { \ - if (yydebug) \ - yy_stack_print ((Bottom), (Top)); \ -} while (0) - - -/*------------------------------------------------. -| Report that the YYRULE is going to be reduced. | -`------------------------------------------------*/ - -static void -yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, - int yyrule) -{ - int yylno = yyrline[yyrule]; - int yynrhs = yyr2[yyrule]; - int yyi; - YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n", - yyrule - 1, yylno); - /* The symbols being reduced. */ - for (yyi = 0; yyi < yynrhs; yyi++) - { - YYFPRINTF (stderr, " $%d = ", yyi + 1); - yy_symbol_print (stderr, - YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]), - &yyvsp[(yyi + 1) - (yynrhs)]); - YYFPRINTF (stderr, "\n"); - } -} - -# define YY_REDUCE_PRINT(Rule) \ -do { \ - if (yydebug) \ - yy_reduce_print (yyssp, yyvsp, Rule); \ -} while (0) - -/* Nonzero means print parse trace. It is left uninitialized so that - multiple parsers can coexist. */ -int yydebug; -#else /* !YYDEBUG */ -# define YYDPRINTF(Args) ((void) 0) -# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) -# define YY_STACK_PRINT(Bottom, Top) -# define YY_REDUCE_PRINT(Rule) -#endif /* !YYDEBUG */ - - -/* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH -# define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only - if the built-in stack extension method is used). - - Do not make this value too large; the results are undefined if - YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) - evaluated with infinite-precision integer arithmetic. */ - -#ifndef YYMAXDEPTH -# define YYMAXDEPTH 10000 -#endif - - - - - - -/*-----------------------------------------------. -| Release the memory associated to this symbol. | -`-----------------------------------------------*/ - -static void -yydestruct (const char *yymsg, - yysymbol_kind_t yykind, YYSTYPE *yyvaluep) -{ - YY_USE (yyvaluep); - if (!yymsg) - yymsg = "Deleting"; - YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp); - - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN - YY_USE (yykind); - YY_IGNORE_MAYBE_UNINITIALIZED_END -} - - -/* Lookahead token kind. */ -int yychar; - -/* The semantic value of the lookahead symbol. */ -YYSTYPE yylval; -/* Number of syntax errors so far. */ -int yynerrs; - - - - -/*----------. -| yyparse. | -`----------*/ - -int -yyparse (void) -{ - yy_state_fast_t yystate = 0; - /* Number of tokens to shift before error messages enabled. */ - int yyerrstatus = 0; - - /* Refer to the stacks through separate pointers, to allow yyoverflow - to reallocate them elsewhere. */ - - /* Their size. */ - YYPTRDIFF_T yystacksize = YYINITDEPTH; - - /* The state stack: array, bottom, top. */ - yy_state_t yyssa[YYINITDEPTH]; - yy_state_t *yyss = yyssa; - yy_state_t *yyssp = yyss; - - /* The semantic value stack: array, bottom, top. */ - YYSTYPE yyvsa[YYINITDEPTH]; - YYSTYPE *yyvs = yyvsa; - YYSTYPE *yyvsp = yyvs; - - int yyn; - /* The return value of yyparse. */ - int yyresult; - /* Lookahead symbol kind. */ - yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY; - /* The variables used to return semantic value and location from the - action routines. */ - YYSTYPE yyval; - - - -#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) - - /* The number of symbols on the RHS of the reduced rule. - Keep to zero when no symbol should be popped. */ - int yylen = 0; - - YYDPRINTF ((stderr, "Starting parse\n")); - - yychar = YYEMPTY; /* Cause a token to be read. */ - - goto yysetstate; - - -/*------------------------------------------------------------. -| yynewstate -- push a new state, which is found in yystate. | -`------------------------------------------------------------*/ -yynewstate: - /* In all cases, when you get here, the value and location stacks - have just been pushed. So pushing a state here evens the stacks. */ - yyssp++; - - -/*--------------------------------------------------------------------. -| yysetstate -- set current state (the top of the stack) to yystate. | -`--------------------------------------------------------------------*/ -yysetstate: - YYDPRINTF ((stderr, "Entering state %d\n", yystate)); - YY_ASSERT (0 <= yystate && yystate < YYNSTATES); - YY_IGNORE_USELESS_CAST_BEGIN - *yyssp = YY_CAST (yy_state_t, yystate); - YY_IGNORE_USELESS_CAST_END - YY_STACK_PRINT (yyss, yyssp); - - if (yyss + yystacksize - 1 <= yyssp) -#if !defined yyoverflow && !defined YYSTACK_RELOCATE - YYNOMEM; -#else - { - /* Get the current used size of the three stacks, in elements. */ - YYPTRDIFF_T yysize = yyssp - yyss + 1; - -# if defined yyoverflow - { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - yy_state_t *yyss1 = yyss; - YYSTYPE *yyvs1 = yyvs; - - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. This used to be a - conditional around just the two extra args, but that might - be undefined if yyoverflow is a macro. */ - yyoverflow (YY_("memory exhausted"), - &yyss1, yysize * YYSIZEOF (*yyssp), - &yyvs1, yysize * YYSIZEOF (*yyvsp), - &yystacksize); - yyss = yyss1; - yyvs = yyvs1; - } -# else /* defined YYSTACK_RELOCATE */ - /* Extend the stack our own way. */ - if (YYMAXDEPTH <= yystacksize) - YYNOMEM; - yystacksize *= 2; - if (YYMAXDEPTH < yystacksize) - yystacksize = YYMAXDEPTH; - - { - yy_state_t *yyss1 = yyss; - union yyalloc *yyptr = - YY_CAST (union yyalloc *, - YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize)))); - if (! yyptr) - YYNOMEM; - YYSTACK_RELOCATE (yyss_alloc, yyss); - YYSTACK_RELOCATE (yyvs_alloc, yyvs); -# undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); - } -# endif - - yyssp = yyss + yysize - 1; - yyvsp = yyvs + yysize - 1; - - YY_IGNORE_USELESS_CAST_BEGIN - YYDPRINTF ((stderr, "Stack size increased to %ld\n", - YY_CAST (long, yystacksize))); - YY_IGNORE_USELESS_CAST_END - - if (yyss + yystacksize - 1 <= yyssp) - YYABORT; - } -#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ - - - if (yystate == YYFINAL) - YYACCEPT; - - goto yybackup; - - -/*-----------. -| yybackup. | -`-----------*/ -yybackup: - /* Do appropriate processing given the current state. Read a - lookahead token if we need one and don't already have one. */ - - /* First try to decide what to do without reference to lookahead token. */ - yyn = yypact[yystate]; - if (yypact_value_is_default (yyn)) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */ - if (yychar == YYEMPTY) - { - YYDPRINTF ((stderr, "Reading a token\n")); - yychar = yylex (); - } - - if (yychar <= YYEOF) - { - yychar = YYEOF; - yytoken = YYSYMBOL_YYEOF; - YYDPRINTF ((stderr, "Now at end of input.\n")); - } - else if (yychar == YYerror) - { - /* The scanner already issued an error message, process directly - to error recovery. But do not keep the error token as - lookahead, it is too special and may lead us to an endless - loop in error recovery. */ - yychar = YYUNDEF; - yytoken = YYSYMBOL_YYerror; - goto yyerrlab1; - } - else - { - yytoken = YYTRANSLATE (yychar); - YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); - } - - /* If the proper action on seeing token YYTOKEN is to reduce or to - detect an error, take that action. */ - yyn += yytoken; - if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) - goto yydefault; - yyn = yytable[yyn]; - if (yyn <= 0) - { - if (yytable_value_is_error (yyn)) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - - /* Count tokens shifted since error; after three, turn off error - status. */ - if (yyerrstatus) - yyerrstatus--; - - /* Shift the lookahead token. */ - YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); - yystate = yyn; - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN - *++yyvsp = yylval; - YY_IGNORE_MAYBE_UNINITIALIZED_END - - /* Discard the shifted token. */ - yychar = YYEMPTY; - goto yynewstate; - - -/*-----------------------------------------------------------. -| yydefault -- do the default action for the current state. | -`-----------------------------------------------------------*/ -yydefault: - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - goto yyreduce; - - -/*-----------------------------. -| yyreduce -- do a reduction. | -`-----------------------------*/ -yyreduce: - /* yyn is the number of a rule to reduce with. */ - yylen = yyr2[yyn]; - - /* If YYLEN is nonzero, implement the default value of the action: - '$$ = $1'. - - Otherwise, the following line sets YYVAL to garbage. - This behavior is undocumented and Bison - users should not rely upon it. Assigning to YYVAL - unconditionally makes the parser a bit smaller, and it avoids a - GCC warning that YYVAL may be used uninitialized. */ - yyval = yyvsp[1-yylen]; - - - YY_REDUCE_PRINT (yyn); - switch (yyn) - { - -#line 2188 "y.tab.c" - - default: break; - } - /* User semantic actions sometimes alter yychar, and that requires - that yytoken be updated with the new translation. We take the - approach of translating immediately before every use of yytoken. - One alternative is translating here after every semantic action, - but that translation would be missed if the semantic action invokes - YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or - if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an - incorrect destructor might then be invoked immediately. In the - case of YYERROR or YYBACKUP, subsequent parser actions might lead - to an incorrect destructor call or verbose syntax error message - before the lookahead is translated. */ - YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc); - - YYPOPSTACK (yylen); - yylen = 0; - - *++yyvsp = yyval; - - /* Now 'shift' the result of the reduction. Determine what state - that goes to, based on the state we popped back to and the rule - number reduced by. */ - { - const int yylhs = yyr1[yyn] - YYNTOKENS; - const int yyi = yypgoto[yylhs] + *yyssp; - yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp - ? yytable[yyi] - : yydefgoto[yylhs]); - } - - goto yynewstate; - - -/*--------------------------------------. -| yyerrlab -- here on detecting error. | -`--------------------------------------*/ -yyerrlab: - /* Make sure we have latest lookahead translation. See comments at - user semantic actions for why this is necessary. */ - yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar); - /* If not already recovering from an error, report this error. */ - if (!yyerrstatus) - { - ++yynerrs; - yyerror (YY_("syntax error")); - } - - if (yyerrstatus == 3) - { - /* If just tried and failed to reuse lookahead token after an - error, discard it. */ - - if (yychar <= YYEOF) - { - /* Return failure if at end of input. */ - if (yychar == YYEOF) - YYABORT; - } - else - { - yydestruct ("Error: discarding", - yytoken, &yylval); - yychar = YYEMPTY; - } - } - - /* Else will try to reuse lookahead token after shifting the error - token. */ - goto yyerrlab1; - - -/*---------------------------------------------------. -| yyerrorlab -- error raised explicitly by YYERROR. | -`---------------------------------------------------*/ -yyerrorlab: - /* Pacify compilers when the user code never invokes YYERROR and the - label yyerrorlab therefore never appears in user code. */ - if (0) - YYERROR; - ++yynerrs; - - /* Do not reclaim the symbols of the rule whose action triggered - this YYERROR. */ - YYPOPSTACK (yylen); - yylen = 0; - YY_STACK_PRINT (yyss, yyssp); - yystate = *yyssp; - goto yyerrlab1; - - -/*-------------------------------------------------------------. -| yyerrlab1 -- common code for both syntax error and YYERROR. | -`-------------------------------------------------------------*/ -yyerrlab1: - yyerrstatus = 3; /* Each real token shifted decrements this. */ - - /* Pop stack until we find a state that shifts the error token. */ - for (;;) - { - yyn = yypact[yystate]; - if (!yypact_value_is_default (yyn)) - { - yyn += YYSYMBOL_YYerror; - if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) - { - yyn = yytable[yyn]; - if (0 < yyn) - break; - } - } - - /* Pop the current state because it cannot handle the error token. */ - if (yyssp == yyss) - YYABORT; - - - yydestruct ("Error: popping", - YY_ACCESSING_SYMBOL (yystate), yyvsp); - YYPOPSTACK (1); - yystate = *yyssp; - YY_STACK_PRINT (yyss, yyssp); - } - - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN - *++yyvsp = yylval; - YY_IGNORE_MAYBE_UNINITIALIZED_END - - - /* Shift the error token. */ - YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp); - - yystate = yyn; - goto yynewstate; - - -/*-------------------------------------. -| yyacceptlab -- YYACCEPT comes here. | -`-------------------------------------*/ -yyacceptlab: - yyresult = 0; - goto yyreturnlab; - - -/*-----------------------------------. -| yyabortlab -- YYABORT comes here. | -`-----------------------------------*/ -yyabortlab: - yyresult = 1; - goto yyreturnlab; - - -/*-----------------------------------------------------------. -| yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here. | -`-----------------------------------------------------------*/ -yyexhaustedlab: - yyerror (YY_("memory exhausted")); - yyresult = 2; - goto yyreturnlab; - - -/*----------------------------------------------------------. -| yyreturnlab -- parsing is finished, clean up and return. | -`----------------------------------------------------------*/ -yyreturnlab: - if (yychar != YYEMPTY) - { - /* Make sure we have latest lookahead translation. See comments at - user semantic actions for why this is necessary. */ - yytoken = YYTRANSLATE (yychar); - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval); - } - /* Do not reclaim the symbols of the rule whose action triggered - this YYABORT or YYACCEPT. */ - YYPOPSTACK (yylen); - YY_STACK_PRINT (yyss, yyssp); - while (yyssp != yyss) - { - yydestruct ("Cleanup: popping", - YY_ACCESSING_SYMBOL (+*yyssp), yyvsp); - YYPOPSTACK (1); - } -#ifndef yyoverflow - if (yyss != yyssa) - YYSTACK_FREE (yyss); -#endif - - return yyresult; -} - -#line 527 "ansi.yacc" - -#include - -void yyerror(const char *s) -{ - fflush(stdout); - fprintf(stderr, "*** %s\n", s); -} diff --git a/homework/4MI3400199/C2HTML/y.tab.h b/homework/4MI3400199/C2HTML/y.tab.h deleted file mode 100644 index 25545bc3..00000000 --- a/homework/4MI3400199/C2HTML/y.tab.h +++ /dev/null @@ -1,226 +0,0 @@ -/* A Bison parser, made by GNU Bison 3.8.2. */ - -/* Bison interface for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, - Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - -/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, - especially those whose name start with YY_ or yy_. They are - private implementation details that can be changed or removed. */ - -#ifndef YY_YY_Y_TAB_H_INCLUDED -# define YY_YY_Y_TAB_H_INCLUDED -/* Debug traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif -#if YYDEBUG -extern int yydebug; -#endif - -/* Token kinds. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - enum yytokentype - { - YYEMPTY = -2, - YYEOF = 0, /* "end of file" */ - YYerror = 256, /* error */ - YYUNDEF = 257, /* "invalid token" */ - IDENTIFIER = 258, /* IDENTIFIER */ - I_CONSTANT = 259, /* I_CONSTANT */ - F_CONSTANT = 260, /* F_CONSTANT */ - STRING_LITERAL = 261, /* STRING_LITERAL */ - FUNC_NAME = 262, /* FUNC_NAME */ - SIZEOF = 263, /* SIZEOF */ - PTR_OP = 264, /* PTR_OP */ - INC_OP = 265, /* INC_OP */ - DEC_OP = 266, /* DEC_OP */ - LEFT_OP = 267, /* LEFT_OP */ - RIGHT_OP = 268, /* RIGHT_OP */ - LE_OP = 269, /* LE_OP */ - GE_OP = 270, /* GE_OP */ - EQ_OP = 271, /* EQ_OP */ - NE_OP = 272, /* NE_OP */ - AND_OP = 273, /* AND_OP */ - OR_OP = 274, /* OR_OP */ - MUL_ASSIGN = 275, /* MUL_ASSIGN */ - DIV_ASSIGN = 276, /* DIV_ASSIGN */ - MOD_ASSIGN = 277, /* MOD_ASSIGN */ - ADD_ASSIGN = 278, /* ADD_ASSIGN */ - SUB_ASSIGN = 279, /* SUB_ASSIGN */ - LEFT_ASSIGN = 280, /* LEFT_ASSIGN */ - RIGHT_ASSIGN = 281, /* RIGHT_ASSIGN */ - AND_ASSIGN = 282, /* AND_ASSIGN */ - XOR_ASSIGN = 283, /* XOR_ASSIGN */ - OR_ASSIGN = 284, /* OR_ASSIGN */ - TYPEDEF_NAME = 285, /* TYPEDEF_NAME */ - ENUMERATION_CONSTANT = 286, /* ENUMERATION_CONSTANT */ - TYPEDEF = 287, /* TYPEDEF */ - EXTERN = 288, /* EXTERN */ - STATIC = 289, /* STATIC */ - AUTO = 290, /* AUTO */ - REGISTER = 291, /* REGISTER */ - INLINE = 292, /* INLINE */ - CONST = 293, /* CONST */ - RESTRICT = 294, /* RESTRICT */ - VOLATILE = 295, /* VOLATILE */ - BOOL = 296, /* BOOL */ - CHAR = 297, /* CHAR */ - SHORT = 298, /* SHORT */ - INT = 299, /* INT */ - LONG = 300, /* LONG */ - SIGNED = 301, /* SIGNED */ - UNSIGNED = 302, /* UNSIGNED */ - FLOAT = 303, /* FLOAT */ - DOUBLE = 304, /* DOUBLE */ - VOID = 305, /* VOID */ - COMPLEX = 306, /* COMPLEX */ - IMAGINARY = 307, /* IMAGINARY */ - STRUCT = 308, /* STRUCT */ - UNION = 309, /* UNION */ - ENUM = 310, /* ENUM */ - ELLIPSIS = 311, /* ELLIPSIS */ - CASE = 312, /* CASE */ - DEFAULT = 313, /* DEFAULT */ - IF = 314, /* IF */ - ELSE = 315, /* ELSE */ - SWITCH = 316, /* SWITCH */ - WHILE = 317, /* WHILE */ - DO = 318, /* DO */ - FOR = 319, /* FOR */ - GOTO = 320, /* GOTO */ - CONTINUE = 321, /* CONTINUE */ - BREAK = 322, /* BREAK */ - RETURN = 323, /* RETURN */ - ALIGNAS = 324, /* ALIGNAS */ - ALIGNOF = 325, /* ALIGNOF */ - ATOMIC = 326, /* ATOMIC */ - GENERIC = 327, /* GENERIC */ - NORETURN = 328, /* NORETURN */ - STATIC_ASSERT = 329, /* STATIC_ASSERT */ - THREAD_LOCAL = 330 /* THREAD_LOCAL */ - }; - typedef enum yytokentype yytoken_kind_t; -#endif -/* Token kinds. */ -#define YYEMPTY -2 -#define YYEOF 0 -#define YYerror 256 -#define YYUNDEF 257 -#define IDENTIFIER 258 -#define I_CONSTANT 259 -#define F_CONSTANT 260 -#define STRING_LITERAL 261 -#define FUNC_NAME 262 -#define SIZEOF 263 -#define PTR_OP 264 -#define INC_OP 265 -#define DEC_OP 266 -#define LEFT_OP 267 -#define RIGHT_OP 268 -#define LE_OP 269 -#define GE_OP 270 -#define EQ_OP 271 -#define NE_OP 272 -#define AND_OP 273 -#define OR_OP 274 -#define MUL_ASSIGN 275 -#define DIV_ASSIGN 276 -#define MOD_ASSIGN 277 -#define ADD_ASSIGN 278 -#define SUB_ASSIGN 279 -#define LEFT_ASSIGN 280 -#define RIGHT_ASSIGN 281 -#define AND_ASSIGN 282 -#define XOR_ASSIGN 283 -#define OR_ASSIGN 284 -#define TYPEDEF_NAME 285 -#define ENUMERATION_CONSTANT 286 -#define TYPEDEF 287 -#define EXTERN 288 -#define STATIC 289 -#define AUTO 290 -#define REGISTER 291 -#define INLINE 292 -#define CONST 293 -#define RESTRICT 294 -#define VOLATILE 295 -#define BOOL 296 -#define CHAR 297 -#define SHORT 298 -#define INT 299 -#define LONG 300 -#define SIGNED 301 -#define UNSIGNED 302 -#define FLOAT 303 -#define DOUBLE 304 -#define VOID 305 -#define COMPLEX 306 -#define IMAGINARY 307 -#define STRUCT 308 -#define UNION 309 -#define ENUM 310 -#define ELLIPSIS 311 -#define CASE 312 -#define DEFAULT 313 -#define IF 314 -#define ELSE 315 -#define SWITCH 316 -#define WHILE 317 -#define DO 318 -#define FOR 319 -#define GOTO 320 -#define CONTINUE 321 -#define BREAK 322 -#define RETURN 323 -#define ALIGNAS 324 -#define ALIGNOF 325 -#define ATOMIC 326 -#define GENERIC 327 -#define NORETURN 328 -#define STATIC_ASSERT 329 -#define THREAD_LOCAL 330 - -/* Value type. */ -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef int YYSTYPE; -# define YYSTYPE_IS_TRIVIAL 1 -# define YYSTYPE_IS_DECLARED 1 -#endif - - -extern YYSTYPE yylval; - - -int yyparse (void); - - -#endif /* !YY_YY_Y_TAB_H_INCLUDED */