anchor.diff:                  next_events_r = [{Type,Content}|NextEventsR]});
           _ ->
               [error,
  -             {bad_action_from_state_function,{next_events,Type,Content}},
  +             {bad_action_from_state_function,{next_event,Type,Content}},
                ?STACKTRACE(),
                ?not_sys_debug]
       end;
  
positive.code:     NewDebug = ?sys_debug(Debug, {Name,State}, {enter,Event,State}),
      case call_callback_mode(S) of
  	#state{} = NewS ->
  	    loop_event_actions(
  	      Parent, NewDebug, NewS,
  	      Events, Event, State, Data, #trans_opts{},
                NewActions, CallEnter);
  	[Class,Reason,Stacktrace] ->
  	    terminate(
  
negative.code:                 next_events_r = [{Type,Content}|NextEventsR]});
          _ ->
              [error,
               {bad_action_from_state_function,{next_event,Type,Content}},
               ?STACKTRACE(),
               Debug]
      end.
  