Add semantics action to ReturnPlanParser