X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser_proc.h;h=27e6b18f49483a5b876f3d0889152f48dcc15943;hp=b336db1fcb24f91ac3967c03fa1a91463359c904;hb=b029005e56a8913fbb3d17ab497b4a37a00a211c;hpb=b78637d9020222f1032349f231c0dc84a69797bc diff --git a/src/parser_proc.h b/src/parser_proc.h index b336db1..27e6b18 100644 --- a/src/parser_proc.h +++ b/src/parser_proc.h @@ -40,15 +40,20 @@ extern int psi_parser_proc_debug; #endif /* "%code requires" blocks. */ -#line 82 "src/parser_proc_grammar.y" /* glr.c:197 */ +#line 115 "src/parser_proc_grammar.y" /* glr.c:197 */ #include "plist.h" #include "types/layout.h" +#define yytokentype psi_token_type + +#define PSI_T_CAST PSI_T_EQUALS +#define PSI_T_POINTER PSI_T_ASTERISK + struct psi_parser; -#line 52 "src/parser_proc.h" /* glr.c:197 */ +#line 57 "src/parser_proc.h" /* glr.c:197 */ /* Token type. */ #ifndef YYTOKENTYPE @@ -179,8 +184,20 @@ struct psi_parser; PSI_T_CPP_INLINE = 378, PSI_T_CPP_RESTRICT = 379, PSI_T_CPP_ASM = 380, - PSI_T_BINARY = 381, - PSI_T_UNARY = 382 + PSI_T_BSLASH = 381, + PSI_T_LONG_DOUBLE = 382, + PSI_T_INT8 = 383, + PSI_T_UINT8 = 384, + PSI_T_INT16 = 385, + PSI_T_UINT16 = 386, + PSI_T_INT32 = 387, + PSI_T_UINT32 = 388, + PSI_T_INT64 = 389, + PSI_T_UINT64 = 390, + PSI_T_INT128 = 391, + PSI_T_UINT128 = 392, + PSI_T_BINARY = 393, + PSI_T_UNARY = 394 }; #endif @@ -314,10 +331,16 @@ union YYSTYPE 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_extvar_stmt */ + struct psi_plist * PSI_T_decl_extvar_stmt; + /* decl_extvar_list */ + struct psi_plist * PSI_T_decl_extvar_list; /* decl_vars */ struct psi_plist * PSI_T_decl_vars; /* decl_args */ struct psi_plist * PSI_T_decl_args; + /* decl_arg_list */ + struct psi_plist * PSI_T_decl_arg_list; /* decl_struct_args */ struct psi_plist * PSI_T_decl_struct_args; /* struct_args_block */ @@ -608,6 +631,30 @@ union YYSTYPE struct psi_token * PSI_T_CPP_RESTRICT; /* CPP_ASM */ struct psi_token * PSI_T_CPP_ASM; + /* BSLASH */ + struct psi_token * PSI_T_BSLASH; + /* LONG_DOUBLE */ + struct psi_token * PSI_T_LONG_DOUBLE; + /* INT8 */ + struct psi_token * PSI_T_INT8; + /* UINT8 */ + struct psi_token * PSI_T_UINT8; + /* INT16 */ + struct psi_token * PSI_T_INT16; + /* UINT16 */ + struct psi_token * PSI_T_UINT16; + /* INT32 */ + struct psi_token * PSI_T_INT32; + /* UINT32 */ + struct psi_token * PSI_T_UINT32; + /* INT64 */ + struct psi_token * PSI_T_INT64; + /* UINT64 */ + struct psi_token * PSI_T_UINT64; + /* INT128 */ + struct psi_token * PSI_T_INT128; + /* UINT128 */ + struct psi_token * PSI_T_UINT128; /* binary_op_token */ struct psi_token * PSI_T_binary_op_token; /* unary_op_token */ @@ -674,7 +721,7 @@ union YYSTYPE struct psi_token * PSI_T_assert_stmt_token; /* impl_stmt */ struct psi_token ** PSI_T_impl_stmt; -#line 678 "src/parser_proc.h" /* glr.c:197 */ +#line 725 "src/parser_proc.h" /* glr.c:197 */ }; typedef union YYSTYPE YYSTYPE;