Parcourir la source

* Fix bug #21607

git-svn-id: trunk@20696 -
pierre il y a 13 ans
Parent
commit
24ba8e2dca
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      compiler/fppu.pas

+ 1 - 1
compiler/fppu.pas

@@ -1629,7 +1629,7 @@ var
                               break;
                             pu:=tused_unit(pu.next);
                           end;
-                        if assigned(pu) then
+                        if assigned(pu) and assigned(pu.unitsym) then
                           MessagePos2(pu.unitsym.fileinfo,unit_f_cant_find_ppu,realmodulename^,loaded_from.realmodulename^)
                         else
                           Message2(unit_f_cant_find_ppu,realmodulename^,loaded_from.realmodulename^);