+return_exp:
+ decl_var[func] LPAREN call_decl_vars[args] RPAREN AS set_func {
+ $return_exp = psi_return_exp_init($func, $args, psi_set_exp_init(PSI_SET_FUNC, $set_func));
+ $return_exp->token = psi_token_copy($func->token);
+}
+| set_func {
+ $return_exp = psi_return_exp_init(NULL, NULL, psi_set_exp_init(PSI_SET_FUNC, $set_func));
+ $return_exp->token = psi_token_copy($set_func->token);
+}
+;
+
+call_decl_vars[args]:
+ %empty {
+ $args = NULL;
+}
+| VOID {
+ $args = NULL;
+}
+| decl_vars[vars] {
+ $args = $vars;
+}
+;
+