extern int psi_parser_proc_debug;
#endif
/* "%code requires" blocks. */
-#line 94 "src/parser_proc_grammar.y" /* glr.c:197 */
+#line 90 "src/parser_proc_grammar.y" /* glr.c:197 */
#include "plist.h"
#include "types/layout.h"
PSI_T_NUMBER = 288,
PSI_T_QUOTED_STRING = 289,
PSI_T_QUOTED_CHAR = 290,
- PSI_T_EOL = 291,
- PSI_T_EOS = 292,
- PSI_T_LPAREN = 293,
- PSI_T_RPAREN = 294,
- PSI_T_COMMA = 295,
- PSI_T_COLON = 296,
- PSI_T_LBRACE = 297,
- PSI_T_RBRACE = 298,
- PSI_T_LBRACKET = 299,
- PSI_T_RBRACKET = 300,
- PSI_T_EQUALS = 301,
- PSI_T_HASH = 302,
- PSI_T_PIPE = 303,
- PSI_T_CARET = 304,
- PSI_T_AMPERSAND = 305,
- PSI_T_LSHIFT = 306,
- PSI_T_RSHIFT = 307,
- PSI_T_PLUS = 308,
- PSI_T_MINUS = 309,
- PSI_T_ASTERISK = 310,
- PSI_T_SLASH = 311,
- PSI_T_MODULO = 312,
- PSI_T_LCHEVR = 313,
- PSI_T_RCHEVR = 314,
- PSI_T_CMP_GE = 315,
- PSI_T_CMP_LE = 316,
- PSI_T_OR = 317,
- PSI_T_AND = 318,
- PSI_T_CMP_EQ = 319,
- PSI_T_CMP_NE = 320,
- PSI_T_TILDE = 321,
- PSI_T_NOT = 322,
- PSI_T_PERIOD = 323,
- PSI_T_BACKSLASH = 324,
- PSI_T_ELLIPSIS = 325,
- PSI_T_ERROR = 326,
- PSI_T_WARNING = 327,
- PSI_T_IF = 328,
- PSI_T_IFDEF = 329,
- PSI_T_IFNDEF = 330,
- PSI_T_ELSE = 331,
- PSI_T_ELIF = 332,
- PSI_T_ENDIF = 333,
- PSI_T_DEFINE = 334,
- PSI_T_DEFINED = 335,
- PSI_T_UNDEF = 336,
- PSI_T_IMPORT = 337,
- PSI_T_INCLUDE = 338,
- PSI_T_INCLUDE_NEXT = 339,
- PSI_T_TYPEDEF = 340,
- PSI_T_STRUCT = 341,
- PSI_T_UNION = 342,
- PSI_T_ENUM = 343,
- PSI_T_CONST = 344,
- PSI_T_LIB = 345,
- PSI_T_STATIC = 346,
- PSI_T_CALLBACK = 347,
- PSI_T_FUNCTION = 348,
- PSI_T_LET = 349,
- PSI_T_SET = 350,
- PSI_T_TEMP = 351,
- PSI_T_FREE = 352,
- PSI_T_RETURN = 353,
- PSI_T_PRE_ASSERT = 354,
- PSI_T_POST_ASSERT = 355,
- PSI_T_BOOLVAL = 356,
- PSI_T_INTVAL = 357,
- PSI_T_STRVAL = 358,
- PSI_T_PATHVAL = 359,
- PSI_T_STRLEN = 360,
- PSI_T_FLOATVAL = 361,
- PSI_T_ARRVAL = 362,
- PSI_T_OBJVAL = 363,
- PSI_T_COUNT = 364,
- PSI_T_CALLOC = 365,
- PSI_T_TO_BOOL = 366,
- PSI_T_TO_INT = 367,
- PSI_T_TO_STRING = 368,
- PSI_T_TO_FLOAT = 369,
- PSI_T_TO_ARRAY = 370,
- PSI_T_TO_OBJECT = 371,
- PSI_T_COMMENT = 372,
- PSI_T_WHITESPACE = 373,
- PSI_T_NO_WHITESPACE = 374,
- PSI_T_CPP_HEADER = 375,
- PSI_T_BINARY = 376,
- PSI_T_UNARY = 377
+ PSI_T_SIZEOF = 291,
+ PSI_T_VOLATILE = 292,
+ PSI_T_EOL = 293,
+ PSI_T_EOS = 294,
+ PSI_T_LPAREN = 295,
+ PSI_T_RPAREN = 296,
+ PSI_T_COMMA = 297,
+ PSI_T_COLON = 298,
+ PSI_T_LBRACE = 299,
+ PSI_T_RBRACE = 300,
+ PSI_T_LBRACKET = 301,
+ PSI_T_RBRACKET = 302,
+ PSI_T_EQUALS = 303,
+ PSI_T_HASH = 304,
+ PSI_T_PIPE = 305,
+ PSI_T_CARET = 306,
+ PSI_T_AMPERSAND = 307,
+ PSI_T_LSHIFT = 308,
+ PSI_T_RSHIFT = 309,
+ PSI_T_PLUS = 310,
+ PSI_T_MINUS = 311,
+ PSI_T_ASTERISK = 312,
+ PSI_T_SLASH = 313,
+ PSI_T_MODULO = 314,
+ PSI_T_LCHEVR = 315,
+ PSI_T_RCHEVR = 316,
+ PSI_T_CMP_GE = 317,
+ PSI_T_CMP_LE = 318,
+ PSI_T_OR = 319,
+ PSI_T_AND = 320,
+ PSI_T_CMP_EQ = 321,
+ PSI_T_CMP_NE = 322,
+ PSI_T_TILDE = 323,
+ PSI_T_NOT = 324,
+ PSI_T_PERIOD = 325,
+ PSI_T_BACKSLASH = 326,
+ PSI_T_ELLIPSIS = 327,
+ PSI_T_IIF = 328,
+ PSI_T_PRAGMA = 329,
+ PSI_T_PRAGMA_ONCE = 330,
+ PSI_T_LINE = 331,
+ PSI_T_ERROR = 332,
+ PSI_T_WARNING = 333,
+ PSI_T_IF = 334,
+ PSI_T_IFDEF = 335,
+ PSI_T_IFNDEF = 336,
+ PSI_T_ELSE = 337,
+ PSI_T_ELIF = 338,
+ PSI_T_ENDIF = 339,
+ PSI_T_DEFINE = 340,
+ PSI_T_DEFINED = 341,
+ PSI_T_UNDEF = 342,
+ PSI_T_IMPORT = 343,
+ PSI_T_INCLUDE = 344,
+ PSI_T_INCLUDE_NEXT = 345,
+ PSI_T_TYPEDEF = 346,
+ PSI_T_STRUCT = 347,
+ PSI_T_UNION = 348,
+ PSI_T_ENUM = 349,
+ PSI_T_CONST = 350,
+ PSI_T_LIB = 351,
+ PSI_T_STATIC = 352,
+ PSI_T_CALLBACK = 353,
+ PSI_T_FUNCTION = 354,
+ PSI_T_LET = 355,
+ PSI_T_SET = 356,
+ PSI_T_TEMP = 357,
+ PSI_T_FREE = 358,
+ PSI_T_RETURN = 359,
+ PSI_T_PRE_ASSERT = 360,
+ PSI_T_POST_ASSERT = 361,
+ PSI_T_BOOLVAL = 362,
+ PSI_T_INTVAL = 363,
+ PSI_T_STRVAL = 364,
+ PSI_T_PATHVAL = 365,
+ PSI_T_STRLEN = 366,
+ PSI_T_FLOATVAL = 367,
+ PSI_T_ARRVAL = 368,
+ PSI_T_OBJVAL = 369,
+ PSI_T_COUNT = 370,
+ PSI_T_CALLOC = 371,
+ PSI_T_TO_BOOL = 372,
+ PSI_T_TO_INT = 373,
+ PSI_T_TO_STRING = 374,
+ PSI_T_TO_FLOAT = 375,
+ PSI_T_TO_ARRAY = 376,
+ PSI_T_TO_OBJECT = 377,
+ PSI_T_COMMENT = 378,
+ PSI_T_WHITESPACE = 379,
+ PSI_T_NO_WHITESPACE = 380,
+ PSI_T_CPP_HEADER = 381,
+ PSI_T_CPP_ATTRIBUTE = 382,
+ PSI_T_CPP_EXTENSION = 383,
+ PSI_T_CPP_PASTE = 384,
+ PSI_T_CPP_INLINE = 385,
+ PSI_T_CPP_RESTRICT = 386,
+ PSI_T_CPP_ASM = 387,
+ PSI_T_BINARY = 388,
+ PSI_T_UNARY = 389
};
#endif
size_t PSI_T_indirection;
/* pointers */
size_t PSI_T_pointers;
+ /* asterisks */
+ size_t PSI_T_asterisks;
/* assert_stmt */
struct psi_assert_stmt * PSI_T_assert_stmt;
/* constant */
struct psi_decl * PSI_T_decl_stmt;
/* decl */
struct psi_decl * PSI_T_decl;
+ /* decl_body */
+ struct psi_decl * PSI_T_decl_body;
+ /* decl_func_body */
+ struct psi_decl * PSI_T_decl_func_body;
+ /* decl_functor_body */
+ struct psi_decl * PSI_T_decl_functor_body;
/* decl_typedef */
struct psi_decl_arg * PSI_T_decl_typedef;
/* typedef */
struct psi_decl_arg * PSI_T_typedef;
- /* decl_fn */
- struct psi_decl_arg * PSI_T_decl_fn;
+ /* typedef_anon */
+ struct psi_decl_arg * PSI_T_typedef_anon;
+ /* typedef_decl */
+ struct psi_decl_arg * PSI_T_typedef_decl;
+ /* typedef_anon_decl */
+ struct psi_decl_arg * PSI_T_typedef_anon_decl;
/* decl_functor */
struct psi_decl_arg * PSI_T_decl_functor;
/* decl_func */
struct psi_decl_arg * PSI_T_decl_func;
+ /* decl_anon_arg */
+ struct psi_decl_arg * PSI_T_decl_anon_arg;
/* decl_arg */
struct psi_decl_arg * PSI_T_decl_arg;
- /* struct_arg */
- struct psi_decl_arg * PSI_T_struct_arg;
/* decl_enum */
struct psi_decl_enum * PSI_T_decl_enum;
/* decl_enum_item */
struct psi_decl_enum_item * PSI_T_decl_enum_item;
/* decl_struct */
struct psi_decl_struct * PSI_T_decl_struct;
- /* const_decl_type */
- struct psi_decl_type * PSI_T_const_decl_type;
+ /* qualified_decl_type */
+ struct psi_decl_type * PSI_T_qualified_decl_type;
/* decl_type */
struct psi_decl_type * PSI_T_decl_type;
/* decl_type_complex */
struct psi_num_exp * PSI_T_num_exp;
/* number */
struct psi_number * PSI_T_number;
+ /* sizeof */
+ struct psi_number * PSI_T_sizeof;
+ /* sizeof_body */
+ struct psi_number * PSI_T_sizeof_body;
+ /* sizeof_body_notypes */
+ struct psi_number * PSI_T_sizeof_body_notypes;
/* cpp_macro_sig */
struct psi_plist * PSI_T_cpp_macro_sig;
/* cpp_macro_sig_args */
struct psi_plist * PSI_T_cpp_macro_call_args;
/* cpp_macro_call_arg_list */
struct psi_plist * PSI_T_cpp_macro_call_arg_list;
+ /* decl_vars */
+ struct psi_plist * PSI_T_decl_vars;
/* decl_args */
struct psi_plist * PSI_T_decl_args;
/* decl_struct_args */
struct psi_plist * PSI_T_struct_args_block;
/* struct_args */
struct psi_plist * PSI_T_struct_args;
+ /* struct_arg_var_list */
+ struct psi_plist * PSI_T_struct_arg_var_list;
+ /* decl_vars_with_layout */
+ struct psi_plist * PSI_T_decl_vars_with_layout;
/* decl_enum_items */
struct psi_plist * PSI_T_decl_enum_items;
/* impl_args */
struct psi_plist * PSI_T_set_exps;
/* free_exps */
struct psi_plist * PSI_T_free_exps;
- /* decl_vars */
- struct psi_plist * PSI_T_decl_vars;
/* return_stmt */
struct psi_return_stmt * PSI_T_return_stmt;
/* set_exp */
struct psi_token * PSI_T_QUOTED_STRING;
/* QUOTED_CHAR */
struct psi_token * PSI_T_QUOTED_CHAR;
+ /* SIZEOF */
+ struct psi_token * PSI_T_SIZEOF;
+ /* VOLATILE */
+ struct psi_token * PSI_T_VOLATILE;
/* "end of line" */
struct psi_token * PSI_T_EOL;
/* ";" */
struct psi_token * PSI_T_BACKSLASH;
/* "..." */
struct psi_token * PSI_T_ELLIPSIS;
+ /* "?" */
+ struct psi_token * PSI_T_IIF;
+ /* PRAGMA */
+ struct psi_token * PSI_T_PRAGMA;
+ /* PRAGMA_ONCE */
+ struct psi_token * PSI_T_PRAGMA_ONCE;
+ /* LINE */
+ struct psi_token * PSI_T_LINE;
/* ERROR */
struct psi_token * PSI_T_ERROR;
/* WARNING */
struct psi_token * PSI_T_NO_WHITESPACE;
/* CPP_HEADER */
struct psi_token * PSI_T_CPP_HEADER;
+ /* CPP_ATTRIBUTE */
+ struct psi_token * PSI_T_CPP_ATTRIBUTE;
+ /* CPP_EXTENSION */
+ struct psi_token * PSI_T_CPP_EXTENSION;
+ /* CPP_PASTE */
+ struct psi_token * PSI_T_CPP_PASTE;
+ /* CPP_INLINE */
+ struct psi_token * PSI_T_CPP_INLINE;
+ /* CPP_RESTRICT */
+ struct psi_token * PSI_T_CPP_RESTRICT;
+ /* CPP_ASM */
+ struct psi_token * PSI_T_CPP_ASM;
/* binary_op_token */
struct psi_token * PSI_T_binary_op_token;
/* unary_op_token */
struct psi_token * PSI_T_cpp_name_arg_token;
/* cpp_exp_arg_token */
struct psi_token * PSI_T_cpp_exp_arg_token;
+ /* cpp_special_name_token */
+ struct psi_token * PSI_T_cpp_special_name_token;
/* constant_type_token */
struct psi_token * PSI_T_constant_type_token;
/* impl_def_val_token */
struct psi_token * PSI_T_assert_stmt_token;
/* impl_stmt */
struct psi_token ** PSI_T_impl_stmt;
-#line 637 "src/parser_proc.h" /* glr.c:197 */
+#line 697 "src/parser_proc.h" /* glr.c:197 */
};
typedef union YYSTYPE YYSTYPE;