fix coupling of impl + call_info + decl
[m6w6/ext-psi] / src / parser_proc.h
index ba52a9c924bf103966cd699f996031b674cbbca8..a1e2ddf4b1074b22f5806fdda169fb7b2a7702bc 100644 (file)
@@ -40,7 +40,7 @@
 extern int psi_parser_proc_debug;
 #endif
 /* "%code requires" blocks.  */
-#line 93 "src/parser_proc_grammar.y" /* glr.c:197  */
+#line 92 "src/parser_proc_grammar.y" /* glr.c:197  */
 
 #include "plist.h"
 #include "types/layout.h"
@@ -126,60 +126,65 @@ struct psi_parser;
     PSI_T_ELLIPSIS = 325,
     PSI_T_IIF = 326,
     PSI_T_PRAGMA = 327,
-    PSI_T_ONCE = 328,
-    PSI_T_ERROR = 329,
-    PSI_T_WARNING = 330,
-    PSI_T_IF = 331,
-    PSI_T_IFDEF = 332,
-    PSI_T_IFNDEF = 333,
-    PSI_T_ELSE = 334,
-    PSI_T_ELIF = 335,
-    PSI_T_ENDIF = 336,
-    PSI_T_DEFINE = 337,
-    PSI_T_DEFINED = 338,
-    PSI_T_UNDEF = 339,
-    PSI_T_IMPORT = 340,
-    PSI_T_INCLUDE = 341,
-    PSI_T_INCLUDE_NEXT = 342,
-    PSI_T_TYPEDEF = 343,
-    PSI_T_STRUCT = 344,
-    PSI_T_UNION = 345,
-    PSI_T_ENUM = 346,
-    PSI_T_CONST = 347,
-    PSI_T_LIB = 348,
-    PSI_T_STATIC = 349,
-    PSI_T_CALLBACK = 350,
-    PSI_T_FUNCTION = 351,
-    PSI_T_LET = 352,
-    PSI_T_SET = 353,
-    PSI_T_TEMP = 354,
-    PSI_T_FREE = 355,
-    PSI_T_RETURN = 356,
-    PSI_T_PRE_ASSERT = 357,
-    PSI_T_POST_ASSERT = 358,
-    PSI_T_BOOLVAL = 359,
-    PSI_T_INTVAL = 360,
-    PSI_T_STRVAL = 361,
-    PSI_T_PATHVAL = 362,
-    PSI_T_STRLEN = 363,
-    PSI_T_FLOATVAL = 364,
-    PSI_T_ARRVAL = 365,
-    PSI_T_OBJVAL = 366,
-    PSI_T_COUNT = 367,
-    PSI_T_CALLOC = 368,
-    PSI_T_TO_BOOL = 369,
-    PSI_T_TO_INT = 370,
-    PSI_T_TO_STRING = 371,
-    PSI_T_TO_FLOAT = 372,
-    PSI_T_TO_ARRAY = 373,
-    PSI_T_TO_OBJECT = 374,
-    PSI_T_COMMENT = 375,
-    PSI_T_WHITESPACE = 376,
-    PSI_T_NO_WHITESPACE = 377,
-    PSI_T_CPP_HEADER = 378,
-    PSI_T_CPP_ATTRIBUTE = 379,
-    PSI_T_BINARY = 380,
-    PSI_T_UNARY = 381
+    PSI_T_PRAGMA_ONCE = 328,
+    PSI_T_LINE = 329,
+    PSI_T_ERROR = 330,
+    PSI_T_WARNING = 331,
+    PSI_T_IF = 332,
+    PSI_T_IFDEF = 333,
+    PSI_T_IFNDEF = 334,
+    PSI_T_ELSE = 335,
+    PSI_T_ELIF = 336,
+    PSI_T_ENDIF = 337,
+    PSI_T_DEFINE = 338,
+    PSI_T_DEFINED = 339,
+    PSI_T_UNDEF = 340,
+    PSI_T_IMPORT = 341,
+    PSI_T_INCLUDE = 342,
+    PSI_T_INCLUDE_NEXT = 343,
+    PSI_T_TYPEDEF = 344,
+    PSI_T_STRUCT = 345,
+    PSI_T_UNION = 346,
+    PSI_T_ENUM = 347,
+    PSI_T_CONST = 348,
+    PSI_T_LIB = 349,
+    PSI_T_STATIC = 350,
+    PSI_T_CALLBACK = 351,
+    PSI_T_FUNCTION = 352,
+    PSI_T_LET = 353,
+    PSI_T_SET = 354,
+    PSI_T_TEMP = 355,
+    PSI_T_FREE = 356,
+    PSI_T_RETURN = 357,
+    PSI_T_PRE_ASSERT = 358,
+    PSI_T_POST_ASSERT = 359,
+    PSI_T_BOOLVAL = 360,
+    PSI_T_INTVAL = 361,
+    PSI_T_STRVAL = 362,
+    PSI_T_PATHVAL = 363,
+    PSI_T_STRLEN = 364,
+    PSI_T_FLOATVAL = 365,
+    PSI_T_ARRVAL = 366,
+    PSI_T_OBJVAL = 367,
+    PSI_T_COUNT = 368,
+    PSI_T_CALLOC = 369,
+    PSI_T_TO_BOOL = 370,
+    PSI_T_TO_INT = 371,
+    PSI_T_TO_STRING = 372,
+    PSI_T_TO_FLOAT = 373,
+    PSI_T_TO_ARRAY = 374,
+    PSI_T_TO_OBJECT = 375,
+    PSI_T_COMMENT = 376,
+    PSI_T_WHITESPACE = 377,
+    PSI_T_NO_WHITESPACE = 378,
+    PSI_T_CPP_HEADER = 379,
+    PSI_T_CPP_ATTRIBUTE = 380,
+    PSI_T_CPP_EXTENSION = 381,
+    PSI_T_CPP_PASTE = 382,
+    PSI_T_CPP_RESTRICT = 383,
+    PSI_T_CPP_ASM = 384,
+    PSI_T_BINARY = 385,
+    PSI_T_UNARY = 386
   };
 #endif
 
@@ -197,6 +202,8 @@ union YYSTYPE
   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  */
@@ -213,20 +220,24 @@ union YYSTYPE
   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;
   /* 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  */
@@ -295,6 +306,8 @@ 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_vars  */
+  struct psi_plist * PSI_T_decl_vars;
   /* decl_args  */
   struct psi_plist * PSI_T_decl_args;
   /* decl_struct_args  */
@@ -303,6 +316,10 @@ union YYSTYPE
   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  */
@@ -323,8 +340,6 @@ union YYSTYPE
   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  */
@@ -475,8 +490,10 @@ union YYSTYPE
   struct psi_token * PSI_T_IIF;
   /* PRAGMA  */
   struct psi_token * PSI_T_PRAGMA;
-  /* ONCE  */
-  struct psi_token * PSI_T_ONCE;
+  /* PRAGMA_ONCE  */
+  struct psi_token * PSI_T_PRAGMA_ONCE;
+  /* LINE  */
+  struct psi_token * PSI_T_LINE;
   /* ERROR  */
   struct psi_token * PSI_T_ERROR;
   /* WARNING  */
@@ -579,6 +596,14 @@ union YYSTYPE
   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_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  */
@@ -601,6 +626,8 @@ union YYSTYPE
   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  */
@@ -645,7 +672,7 @@ union YYSTYPE
   struct psi_token * PSI_T_assert_stmt_token;
   /* impl_stmt  */
   struct psi_token ** PSI_T_impl_stmt;
-#line 649 "src/parser_proc.h" /* glr.c:197  */
+#line 676 "src/parser_proc.h" /* glr.c:197  */
 };
 
 typedef union YYSTYPE YYSTYPE;