X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser_proc.h;h=8791392a416c9f7002eedc825976c0254506a439;hp=b336db1fcb24f91ac3967c03fa1a91463359c904;hb=6708d7f169e6675203bf63568d40e888a4f4e209;hpb=b78637d9020222f1032349f231c0dc84a69797bc diff --git a/src/parser_proc.h b/src/parser_proc.h index b336db1..8791392 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 107 "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 @@ -318,6 +335,8 @@ union YYSTYPE 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 +627,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 +717,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 721 "src/parser_proc.h" /* glr.c:197 */ }; typedef union YYSTYPE YYSTYPE;