------------------------------------------------------------------------------
with Casing; use Casing;
-with Fname; use Fname;
with Gnatvsn; use Gnatvsn;
with Hostparm;
with Namet; use Namet;
-- Nothing to do if predefined unit in no run time mode
- if No_Run_Time_Mode and then Is_Predefined_File_Name (U.Sfile) then
+ if No_Run_Time_Mode and then U.Predefined then
null;
-- Likewise if this is an interface to a stand alone library
-- Don't generate reference for predefined file in No_Run_Time
-- mode, since we don't include the object files in this case
- and then not
- (No_Run_Time_Mode
- and then Is_Predefined_File_Name (U.Sfile))
+ and then not (No_Run_Time_Mode and then U.Predefined)
then
Get_Name_String (U.Sfile);
Set_String (" ");