mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 06:39:31 +01:00 
			
		
		
		
	codetools: clena up
git-svn-id: trunk@30585 -
This commit is contained in:
		
							parent
							
								
									005d8e828c
								
							
						
					
					
						commit
						a4e552ff9d
					
				@ -1163,7 +1163,7 @@ var
 | 
			
		||||
  var
 | 
			
		||||
    p: Pointer;
 | 
			
		||||
  begin
 | 
			
		||||
    p:=Pointer(CleanPos);
 | 
			
		||||
    p:=Pointer(PtrUInt(CleanPos));
 | 
			
		||||
    if WithIdentifiers=nil then WithIdentifiers:=TAVLTree.Create;
 | 
			
		||||
    if WithIdentifiers.Find(p)<>nil then exit;
 | 
			
		||||
    debugln(['AddIdentifier ',GetIdentifier(@Src[CleanPos])]);
 | 
			
		||||
@ -1363,7 +1363,7 @@ var
 | 
			
		||||
 | 
			
		||||
      AVLNode:=WithIdentifiers.FindLowest;
 | 
			
		||||
      while AVLNode<>nil do begin
 | 
			
		||||
        CleanPos:=integer(AVLNode.Data);
 | 
			
		||||
        CleanPos:=integer(PtrUInt(AVLNode.Data));
 | 
			
		||||
        //debugln(['Replace Prefix identifier: ',GetIdentifier(@Src[CleanPos])]);
 | 
			
		||||
        if not SourceChangeCache.Replace(gtNone,gtNone,CleanPos,CleanPos,WithVar)
 | 
			
		||||
        then
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user