-- return False;
-- end if;
- -- or a null statement if the list L is empty.
+ -- or a null statement if the list L is empty
function Make_Eq_If
(E : Entity_Id;
-- g-trasym.obj.
Object_Directory_Path : constant String :=
- Get_Name_String (Data.Object_Directory.Display_Name);
+ Get_Name_String
+ (Data.Object_Directory.Display_Name);
Standalone : constant Boolean := Data.Standalone_Library;
if In_Main_Object_Directory
or else Last < 5
- or else C_Filename (1 .. B_Start'Length) /=
- B_Start.all
+ or else
+ C_Filename (1 .. B_Start'Length) /= B_Start.all
then
Name_Len := Last;
Name_Buffer (1 .. Name_Len) :=
(In_Tree.Units)
loop
if In_Tree.Units.Table
- (Index).File_Names
- (Body_Part).Name /= No_File
+ (Index).File_Names
+ (Body_Part).Name /= No_File
then
Proj :=
In_Tree.Units.Table (Index).
(Body_Part).Project;
Fname :=
In_Tree.Units.Table (Index).
- File_Names (Body_Part).Name;
+ File_Names (Body_Part).Name;
elsif
In_Tree.Units.Table
Proj :=
In_Tree.Units.Table
(Index).File_Names
- (Specification).Project;
+ (Specification).Project;
Fname :=
In_Tree.Units.Table
(Index).File_Names
- (Specification).Name;
+ (Specification).Name;
else
Proj := No_Project;
-- If the source is in the
-- project or a project it
- -- extends, we may put it in the
- -- library.
+ -- extends, we may put it in
+ -- the library.
if Add_It then
Add_It := Check_Project (Proj);
function Try_Path_Name (Path : String) return String_Access is
Prj_Path : constant String := Project_Path;
- First : Natural := Prj_Path'First;
+ First : Natural;
Last : Natural;
Result : String_Access := null;
-- Locate_Regular_File. So, we try each possible path
-- successively.
+ First := Prj_Path'First;
while First <= Prj_Path'Last loop
while First <= Prj_Path'Last
and then Prj_Path (First) = Path_Separator
Config : Project_Configuration;
- Path : Path_Information := No_Path_Information;
+ Path : Path_Information := No_Path_Information;
-- The path name of the project file
Virtual : Boolean := False;
-- family declaration or a loop iteration. The index is given by an
-- index declaration (a 'box'), or by a discrete range. The later can
-- be the name of a discrete type, or a subtype indication.
+ --
-- Related_Nod is the node where the potential generated implicit types
-- will be inserted. The 2 last parameters are used for creating the name.
Rewrite (N, Make_Real_Literal (Loc, Realval => Val));
- -- Set link to original named number, for ASIS use.
+ -- Set link to original named number, for ASIS use
Set_Original_Entity (N, Ent);