mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 05:39:29 +01:00 
			
		
		
		
	* reset funcstab when changing object
This commit is contained in:
		
							parent
							
								
									20089b7a4b
								
							
						
					
					
						commit
						addf7fc302
					
				@ -542,6 +542,12 @@ begin
 | 
			
		||||
                  fillchar(dirstab,sizeof(tstab),0);
 | 
			
		||||
                filestab:=stabs[i];
 | 
			
		||||
                fillchar(linestab,sizeof(tstab),0);
 | 
			
		||||
                { if new file then func is not valid anymore PM }
 | 
			
		||||
                if stabs[i].ntype=N_SourceFile then
 | 
			
		||||
                  begin
 | 
			
		||||
                    fillchar(funcstab,sizeof(tstab),0);
 | 
			
		||||
                    fillchar(lastfunc,sizeof(tstab),0);
 | 
			
		||||
                  end;
 | 
			
		||||
              end;
 | 
			
		||||
           end;
 | 
			
		||||
       end;
 | 
			
		||||
@ -616,7 +622,10 @@ finalization
 | 
			
		||||
end.
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.7  2000-03-23 22:00:08  pierre
 | 
			
		||||
  Revision 1.8  2000-04-12 11:15:06  pierre
 | 
			
		||||
   * reset funcstab when changing object
 | 
			
		||||
 | 
			
		||||
  Revision 1.7  2000/03/23 22:00:08  pierre
 | 
			
		||||
   * fix for OS/2 hopefully
 | 
			
		||||
 | 
			
		||||
  Revision 1.6  2000/03/19 18:10:41  hajny
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user