anchor.diff:      loop(Parent, Debug, S).
   
   system_terminate(Reason, _Parent, Debug, S) ->
  -    terminate(
  -      exit, Reason, ?STACKTRACE(),
  -      Debug, S, []).
  +    terminate(exit, Reason, ?STACKTRACE(), Debug, S, []).
   
   system_code_change(
     #{module := Module,
  
positive.code:     case call_state_function(S, enter, State, NextState, NewData) of
  	{ok,Result,NewS} ->
  	    case parse_event_result(
  		   false, Debug, NewS, Result,
  		   Events, Event, NextState, NewData) of
  		{NewerData,_,Actions,EnterCall} ->
  		    loop_event_enter_actions(
  		      Parent, Debug, NewS, TimerRefs, TimerTypes,
  
negative.code: 	      error,
  	      {bad_return_from_state_function,Result},
  	      ?STACKTRACE(),
  	      Debug,
  	      S#{
  		timer_refs := TimerRefs,
  		timer_types := TimerTypes,
  		hibernate := Hibernate},
  	      [Event|Events])
      end.
  
  
  