/*
* decl_args: <empty>
*/
-PASS(decl_args, )
+PARSE_TYPED(decl_args, args, ) {
+ args = NULL;
+}
/*
* decl_args: VOID
*/
-PASS(decl_args, VOID)
+PARSE_TYPED(decl_args, args,
+ TOKEN(VOID)) {
+ args = NULL;
+}
/*
* decl_args: decl_arg
/*
* callback_arg_list: <empty>
*/
-PASS(callback_arg_list, )
+PARSE_TYPED(callback_arg_list, args, ) {
+ args = NULL;
+}
/*
* callback_arg_list: callback_args
arg_->var->token = N;
arg_->token = N;
}
-decl_args ::= .
-decl_args ::= VOID.
+decl_args(args) ::= . {
+ args = NULL;
+}
+decl_args(args) ::= VOID. {
+ args = NULL;
+}
decl_args(args) ::= decl_arg(arg). {
args = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free),
&arg);
let_exps(exps) ::= let_exps(exps_) COMMA let_exp(exp). {
exps = psi_plist_add(exps_, &exp);
}
-callback_arg_list ::= .
+callback_arg_list(args) ::= . {
+ args = NULL;
+}
callback_arg_list(args) ::= callback_args(args_). {
args = args_;
}