/* 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 <https://www.gnu.org/licenses/>.  */

/* 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_PARSER_H_INCLUDED
# define YY_YY_PARSER_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"  */
    Y_cast = 258,                  /* Y_cast  */
    Y_constant = 259,              /* Y_constant  */
    Y_declare = 260,               /* Y_declare  */
    Y_define = 261,                /* Y_define  */
    Y_dynamic = 262,               /* Y_dynamic  */
    Y_explain = 263,               /* Y_explain  */
    Y_no = 264,                    /* Y_no  */
    Y_quit = 265,                  /* Y_quit  */
    Y_reinterpret = 266,           /* Y_reinterpret  */
    Y_set = 267,                   /* Y_set  */
    Y_show = 268,                  /* Y_show  */
    Y_aligned = 269,               /* Y_aligned  */
    Y_all = 270,                   /* Y_all  */
    Y_array = 271,                 /* Y_array  */
    Y_as = 272,                    /* Y_as  */
    Y_binding = 273,               /* Y_binding  */
    Y_bit = 274,                   /* Y_bit  */
    Y_bit_precise = 275,           /* Y_bit_precise  */
    Y_bits = 276,                  /* Y_bits  */
    Y_by = 277,                    /* Y_by  */
    Y_bytes = 278,                 /* Y_bytes  */
    Y_capturing = 279,             /* Y_capturing  */
    Y_commands = 280,              /* Y_commands  */
    Y_constructor = 281,           /* Y_constructor  */
    Y_conversion = 282,            /* Y_conversion  */
    Y_copy = 283,                  /* Y_copy  */
    Y_defined = 284,               /* Y_defined  */
    Y_destructor = 285,            /* Y_destructor  */
    Y_english = 286,               /* Y_english  */
    Y_evaluation = 287,            /* Y_evaluation  */
    Y_expand = 288,                /* Y_expand  */
    Y_expression = 289,            /* Y_expression  */
    Y_floating = 290,              /* Y_floating  */
    Y_function = 291,              /* Y_function  */
    Y_initialization = 292,        /* Y_initialization  */
    Y_into = 293,                  /* Y_into  */
    Y_lambda = 294,                /* Y_lambda  */
    Y_length = 295,                /* Y_length  */
    Y_linkage = 296,               /* Y_linkage  */
    Y_literal = 297,               /* Y_literal  */
    Y_macros = 298,                /* Y_macros  */
    Y_member = 299,                /* Y_member  */
    Y_non_empty = 300,             /* Y_non_empty  */
    Y_non_member = 301,            /* Y_non_member  */
    Y_of = 302,                    /* Y_of  */
    Y_options = 303,               /* Y_options  */
    Y_point = 304,                 /* Y_point  */
    Y_pointer = 305,               /* Y_pointer  */
    Y_precise = 306,               /* Y_precise  */
    Y_precision = 307,             /* Y_precision  */
    Y_predefined = 308,            /* Y_predefined  */
    Y_pure = 309,                  /* Y_pure  */
    Y_reference = 310,             /* Y_reference  */
    Y_returning = 311,             /* Y_returning  */
    Y_rvalue = 312,                /* Y_rvalue  */
    Y_scope = 313,                 /* Y_scope  */
    Y_structured = 314,            /* Y_structured  */
    Y_to = 315,                    /* Y_to  */
    Y_user = 316,                  /* Y_user  */
    Y_user_defined = 317,          /* Y_user_defined  */
    Y_variable = 318,              /* Y_variable  */
    Y_wide = 319,                  /* Y_wide  */
    Y_width = 320,                 /* Y_width  */
    Y_PREC_LESS_THAN_upc_layout_qualifier = 321, /* Y_PREC_LESS_THAN_upc_layout_qualifier  */
    Y_COLON_COLON = 322,           /* Y_COLON_COLON  */
    Y_COLON_COLON_STAR = 324,      /* Y_COLON_COLON_STAR  */
    Y_PLUS_PLUS = 325,             /* "++"  */
    Y_MINUS_MINUS = 326,           /* "--"  */
    Y_MINUS_GREATER = 327,         /* Y_MINUS_GREATER  */
    Y_sizeof = 329,                /* Y_sizeof  */
    Y_DOT_STAR = 330,              /* Y_DOT_STAR  */
    Y_MINUS_GREATER_STAR = 332,    /* Y_MINUS_GREATER_STAR  */
    Y_LESS_LESS = 334,             /* Y_LESS_LESS  */
    Y_GREATER_GREATER = 336,       /* Y_GREATER_GREATER  */
    Y_LESS_EQUAL_GREATER = 338,    /* Y_LESS_EQUAL_GREATER  */
    Y_LESS_EQUAL = 340,            /* Y_LESS_EQUAL  */
    Y_GREATER_EQUAL = 342,         /* Y_GREATER_EQUAL  */
    Y_EQUAL_EQUAL = 344,           /* Y_EQUAL_EQUAL  */
    Y_EXCLAM_EQUAL = 346,          /* Y_EXCLAM_EQUAL  */
    Y_bit_and = 347,               /* Y_bit_and  */
    Y_AMPER_AMPER = 348,           /* Y_AMPER_AMPER  */
    Y_PIPE_PIPE = 349,             /* Y_PIPE_PIPE  */
    Y_QMARK_COLON = 350,           /* Y_QMARK_COLON  */
    Y_PERCENT_EQUAL = 352,         /* Y_PERCENT_EQUAL  */
    Y_AMPER_EQUAL = 354,           /* Y_AMPER_EQUAL  */
    Y_STAR_EQUAL = 355,            /* Y_STAR_EQUAL  */
    Y_PLUS_EQUAL = 357,            /* Y_PLUS_EQUAL  */
    Y_MINUS_EQUAL = 359,           /* Y_MINUS_EQUAL  */
    Y_SLASH_EQUAL = 361,           /* Y_SLASH_EQUAL  */
    Y_LESS_LESS_EQUAL = 363,       /* Y_LESS_LESS_EQUAL  */
    Y_GREATER_GREATER_EQUAL = 365, /* Y_GREATER_GREATER_EQUAL  */
    Y_CARET_EQUAL = 367,           /* Y_CARET_EQUAL  */
    Y_PIPE_EQUAL = 368,            /* Y_PIPE_EQUAL  */
    Y_auto_STORAGE = 369,          /* Y_auto_STORAGE  */
    Y_break = 370,                 /* Y_break  */
    Y_case = 371,                  /* Y_case  */
    Y_char = 372,                  /* Y_char  */
    Y_continue = 373,              /* Y_continue  */
    Y_default = 374,               /* Y_default  */
    Y_do = 375,                    /* Y_do  */
    Y_double = 376,                /* Y_double  */
    Y_else = 377,                  /* Y_else  */
    Y_extern = 378,                /* Y_extern  */
    Y_float = 379,                 /* Y_float  */
    Y_for = 380,                   /* Y_for  */
    Y_goto = 381,                  /* Y_goto  */
    Y_if = 382,                    /* Y_if  */
    Y_int = 383,                   /* Y_int  */
    Y_long = 384,                  /* Y_long  */
    Y_register = 385,              /* Y_register  */
    Y_return = 386,                /* Y_return  */
    Y_short = 387,                 /* Y_short  */
    Y_static = 388,                /* Y_static  */
    Y_struct = 389,                /* Y_struct  */
    Y_switch = 390,                /* Y_switch  */
    Y_typedef = 391,               /* Y_typedef  */
    Y_union = 392,                 /* Y_union  */
    Y_unsigned = 393,              /* Y_unsigned  */
    Y_while = 394,                 /* Y_while  */
    Y_PRE_CONCAT = 395,            /* "##"  */
    Y_PRE_SPACE = 396,             /* Y_PRE_SPACE  */
    Y_PRE_define = 397,            /* Y_PRE_define  */
    Y_PRE_elif = 398,              /* Y_PRE_elif  */
    Y_PRE_else = 399,              /* Y_PRE_else  */
    Y_PRE_error = 400,             /* Y_PRE_error  */
    Y_PRE_if = 401,                /* Y_PRE_if  */
    Y_PRE_ifdef = 402,             /* Y_PRE_ifdef  */
    Y_PRE_ifndef = 403,            /* Y_PRE_ifndef  */
    Y_PRE_line = 404,              /* Y_PRE_line  */
    Y_PRE_undef = 405,             /* Y_PRE_undef  */
    Y_PRE___VA_ARGS__ = 406,       /* Y_PRE___VA_ARGS__  */
    Y_PRE___VA_OPT__ = 407,        /* Y_PRE___VA_OPT__  */
    Y_PRE_pragma = 408,            /* Y_PRE_pragma  */
    Y_PRE_elifdef = 409,           /* Y_PRE_elifdef  */
    Y_PRE_elifndef = 410,          /* Y_PRE_elifndef  */
    Y_PRE_embed = 411,             /* Y_PRE_embed  */
    Y_PRE_warning = 412,           /* Y_PRE_warning  */
    Y_asm = 413,                   /* Y_asm  */
    Y_const = 414,                 /* Y_const  */
    Y_ELLIPSIS = 415,              /* "..."  */
    Y_enum = 416,                  /* Y_enum  */
    Y_signed = 417,                /* Y_signed  */
    Y_void = 418,                  /* Y_void  */
    Y_volatile = 419,              /* Y_volatile  */
    Y_wchar_t = 420,               /* Y_wchar_t  */
    Y__Bool = 421,                 /* Y__Bool  */
    Y__Complex = 422,              /* Y__Complex  */
    Y__Imaginary = 423,            /* Y__Imaginary  */
    Y_inline = 424,                /* Y_inline  */
    Y_restrict = 425,              /* Y_restrict  */
    Y__Alignas = 426,              /* Y__Alignas  */
    Y__Alignof = 427,              /* Y__Alignof  */
    Y__Atomic_QUAL = 428,          /* Y__Atomic_QUAL  */
    Y__Atomic_SPEC = 429,          /* Y__Atomic_SPEC  */
    Y__Generic = 430,              /* Y__Generic  */
    Y__Noreturn = 431,             /* Y__Noreturn  */
    Y__Static_assert = 432,        /* Y__Static_assert  */
    Y__Thread_local = 433,         /* Y__Thread_local  */
    Y_thread = 434,                /* Y_thread  */
    Y_local = 435,                 /* Y_local  */
    Y_bool = 436,                  /* Y_bool  */
    Y_catch = 437,                 /* Y_catch  */
    Y_class = 438,                 /* Y_class  */
    Y_const_cast = 439,            /* Y_const_cast  */
    Y_CONSTRUCTOR_SNAME = 440,     /* Y_CONSTRUCTOR_SNAME  */
    Y_delete = 441,                /* Y_delete  */
    Y_DESTRUCTOR_SNAME = 442,      /* Y_DESTRUCTOR_SNAME  */
    Y_dynamic_cast = 443,          /* Y_dynamic_cast  */
    Y_explicit = 444,              /* Y_explicit  */
    Y_false = 445,                 /* Y_false  */
    Y_friend = 446,                /* Y_friend  */
    Y_mutable = 447,               /* Y_mutable  */
    Y_namespace = 448,             /* Y_namespace  */
    Y_new = 449,                   /* Y_new  */
    Y_operator = 450,              /* Y_operator  */
    Y_OPERATOR_SNAME = 451,        /* Y_OPERATOR_SNAME  */
    Y_private = 452,               /* Y_private  */
    Y_protected = 453,             /* Y_protected  */
    Y_public = 454,                /* Y_public  */
    Y_reinterpret_cast = 455,      /* Y_reinterpret_cast  */
    Y_static_cast = 456,           /* Y_static_cast  */
    Y_template = 457,              /* Y_template  */
    Y_this = 458,                  /* Y_this  */
    Y_throw = 459,                 /* Y_throw  */
    Y_true = 460,                  /* Y_true  */
    Y_try = 461,                   /* Y_try  */
    Y_typeid = 462,                /* Y_typeid  */
    Y_typename = 463,              /* Y_typename  */
    Y_using = 464,                 /* Y_using  */
    Y_virtual = 465,               /* Y_virtual  */
    Y_char16_t = 466,              /* Y_char16_t  */
    Y_char32_t = 467,              /* Y_char32_t  */
    Y__BitInt = 468,               /* Y__BitInt  */
    Y_reproducible = 469,          /* Y_reproducible  */
    Y_typeof = 470,                /* Y_typeof  */
    Y_typeof_unqual = 471,         /* Y_typeof_unqual  */
    Y_unsequenced = 472,           /* Y_unsequenced  */
    Y_ATTR_BEGIN = 473,            /* Y_ATTR_BEGIN  */
    Y_auto_TYPE = 474,             /* Y_auto_TYPE  */
    Y_alignas = 475,               /* Y_alignas  */
    Y_alignof = 476,               /* Y_alignof  */
    Y_carries = 477,               /* Y_carries  */
    Y_dependency = 478,            /* Y_dependency  */
    Y_carries_dependency = 479,    /* Y_carries_dependency  */
    Y_constexpr = 480,             /* Y_constexpr  */
    Y_decltype = 481,              /* Y_decltype  */
    Y_except = 482,                /* Y_except  */
    Y_final = 483,                 /* Y_final  */
    Y_noexcept = 484,              /* Y_noexcept  */
    Y_nullptr = 485,               /* Y_nullptr  */
    Y_override = 486,              /* Y_override  */
    Y_static_assert = 487,         /* Y_static_assert  */
    Y_thread_local = 488,          /* Y_thread_local  */
    Y_deprecated = 489,            /* Y_deprecated  */
    Y_auto_STRUCTURED_BINDING = 490, /* Y_auto_STRUCTURED_BINDING  */
    Y_discard = 491,               /* Y_discard  */
    Y_maybe_unused = 492,          /* Y_maybe_unused  */
    Y_maybe = 493,                 /* Y_maybe  */
    Y_unused = 494,                /* Y_unused  */
    Y_nodiscard = 495,             /* Y_nodiscard  */
    Y_noreturn = 496,              /* Y_noreturn  */
    Y_char8_t = 497,               /* Y_char8_t  */
    Y_concept = 498,               /* Y_concept  */
    Y_consteval = 499,             /* Y_consteval  */
    Y_constinit = 500,             /* Y_constinit  */
    Y_co_await = 501,              /* Y_co_await  */
    Y_co_return = 502,             /* Y_co_return  */
    Y_co_yield = 503,              /* Y_co_yield  */
    Y_export = 504,                /* Y_export  */
    Y_no_unique_address = 505,     /* Y_no_unique_address  */
    Y_parameter = 506,             /* Y_parameter  */
    Y_pack = 507,                  /* Y_pack  */
    Y_requires = 508,              /* Y_requires  */
    Y_unique = 509,                /* Y_unique  */
    Y_address = 510,               /* Y_address  */
    Y_EMC__Accum = 511,            /* Y_EMC__Accum  */
    Y_EMC__Fract = 512,            /* Y_EMC__Fract  */
    Y_EMC__Sat = 513,              /* Y_EMC__Sat  */
    Y_UPC_relaxed = 514,           /* Y_UPC_relaxed  */
    Y_UPC_shared = 515,            /* Y_UPC_shared  */
    Y_UPC_strict = 516,            /* Y_UPC_strict  */
    Y_GNU___attribute__ = 517,     /* Y_GNU___attribute__  */
    Y_GNU___restrict = 518,        /* Y_GNU___restrict  */
    Y_Apple___block = 519,         /* Y_Apple___block  */
    Y_Apple_block = 520,           /* Y_Apple_block  */
    Y_MSC___cdecl = 521,           /* Y_MSC___cdecl  */
    Y_MSC___clrcall = 522,         /* Y_MSC___clrcall  */
    Y_MSC___declspec = 523,        /* Y_MSC___declspec  */
    Y_MSC___fastcall = 524,        /* Y_MSC___fastcall  */
    Y_MSC___stdcall = 525,         /* Y_MSC___stdcall  */
    Y_MSC___thiscall = 526,        /* Y_MSC___thiscall  */
    Y_MSC___vectorcall = 527,      /* Y_MSC___vectorcall  */
    Y_CHAR_LIT = 528,              /* Y_CHAR_LIT  */
    Y_CONCEPT_SNAME = 529,         /* Y_CONCEPT_SNAME  */
    Y_END = 530,                   /* Y_END  */
    Y_ERROR = 531,                 /* Y_ERROR  */
    Y_FLOAT_LIT = 532,             /* Y_FLOAT_LIT  */
    Y_GLOB = 533,                  /* Y_GLOB  */
    Y_INT_LIT = 534,               /* Y_INT_LIT  */
    Y_NAME = 535,                  /* Y_NAME  */
    Y_SET_OPTION = 536,            /* Y_SET_OPTION  */
    Y_STR_LIT = 537,               /* Y_STR_LIT  */
    Y_TYPEDEF_NAME_TDEF = 538,     /* Y_TYPEDEF_NAME_TDEF  */
    Y_TYPEDEF_SNAME_TDEF = 539,    /* Y_TYPEDEF_SNAME_TDEF  */
    Y_LEXER_ERROR = 540            /* Y_LEXER_ERROR  */
  };
  typedef enum yytokentype yytoken_kind_t;
#endif

/* Value type.  */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE
{
#line 1300 "parser.y"

  c_alignas_t         align;
  c_ast_t            *ast;            // for the AST being built
  c_ast_list_t        ast_list;       // for declarations & function parameters
  c_ast_pair_t        ast_pair;       // for the AST being built
  c_cast_kind_t       cast_kind;      // C/C++ cast kind
  bool                flag;           // simple flag
  unsigned            flags;          // multipurpose bitwise flags
  char const         *literal;        // token L_* literal for new-style casts
  int                 int_val;        // signed integer value, cf. uint_val
  char               *name;           // identifier name, cf. sname
  c_func_member_t     member;         // member, non-member, or unspecified
  c_op_id_t           op_id;          // overloaded operator ID
  p_arg_list_t       *p_arg_list;     // preprocessor macro argument list
  p_param_t          *p_param;        // preprocessor macro parameter
  p_param_list_t     *p_param_list;   // preprocessor macro parameter list
  p_token_t          *p_token;        // preprocessor token
  p_token_list_t     *p_token_list;   // preprocessor token list
  void               *ptrs[2];        // pair of pointers
  cdecl_show_t        show;           // which types to show
  c_sname_t           sname;          // scoped identifier name, cf. name
  slist_t             sname_list;     // c_sname_t list
  char               *str_val;        // quoted string value
  c_typedef_t const  *tdef;           // typedef
  c_tid_t             tid;            // built-ins, storage classes, qualifiers
  c_type_t            type;           // complete type
  unsigned            uint_val;       // unsigned integer value

#line 360 "parser.h"

};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif

/* Location type.  */
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
typedef struct YYLTYPE YYLTYPE;
struct YYLTYPE
{
  int first_line;
  int first_column;
  int last_line;
  int last_column;
};
# define YYLTYPE_IS_DECLARED 1
# define YYLTYPE_IS_TRIVIAL 1
#endif


extern YYSTYPE yylval;
extern YYLTYPE yylloc;

int yyparse (void);


#endif /* !YY_YY_PARSER_H_INCLUDED  */
