anchor.diff:  begin
    result:=BitStateNFAError;
   
  - Input:=ThreadLocalState.Input;
  - InputLength:=ThreadLocalState.InputLength;
  + Input:=ThreadLocalStorage.Input;
  + InputLength:=ThreadLocalStorage.InputLength;
   
    Len:=UntilExcludingPosition-StartPosition;
    if Len<1 then begin
  
positive.code:  TakeOverFrom^.Flags:=0;
  end;
  
  procedure TFLREThreadLocalState.DFAFreeState(State:PFLREDFAState);
  begin
   if assigned(State) then begin
    SetLength(State^.Instructions,0);
  
negative.code:  end;
  end;
  
  function TFLREThreadLocalStorage.DFACacheState(const State:PFLREDFAState):PFLREDFAState; {$ifdef caninline}inline;{$endif}
  begin
  
   // Is it already cached?
  