removed unnecessary BnfTerm parameter from YieldBefore and from YieldAfter