aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnatbind.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-10-27 14:22:25 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2009-10-27 14:22:25 +0100
commit0c0c6f49d575f70b8fbd64a5d033d65ee24f9ad2 (patch)
tree19a3adc4ab8d0fc718d9a6dc0de8064797138b72 /gcc/ada/gnatbind.adb
parentfdfcc663025bcdca7562b2d16211a0588e484927 (diff)
downloadgcc-0c0c6f49d575f70b8fbd64a5d033d65ee24f9ad2.zip
gcc-0c0c6f49d575f70b8fbd64a5d033d65ee24f9ad2.tar.gz
gcc-0c0c6f49d575f70b8fbd64a5d033d65ee24f9ad2.tar.bz2
[multiple changes]
2009-10-27 Thomas Quinot <quinot@adacore.com> * sem_ch12.adb (Install_Formal_Packages): Do not omit installation of visible entities when the formal package doesn't have a box. * checks.adb: Minor reformatting. 2009-10-27 Vincent Celier <celier@adacore.com> * prj-part.adb (Parse): Catch exception Types.Unrecoverable_Error and set Project to Empty_Node. 2009-10-27 Robert Dewar <dewar@adacore.com> * gnatbind.adb: Minor reformatting From-SVN: r153593
Diffstat (limited to 'gcc/ada/gnatbind.adb')
-rw-r--r--gcc/ada/gnatbind.adb17
1 files changed, 9 insertions, 8 deletions
diff --git a/gcc/ada/gnatbind.adb b/gcc/ada/gnatbind.adb
index 2c5def4..fb3dc3d 100644
--- a/gcc/ada/gnatbind.adb
+++ b/gcc/ada/gnatbind.adb
@@ -838,12 +838,14 @@ begin
end if;
end loop;
- -- Subunits do not appear in the elaboration table because
- -- they are subsumed by their parent units, but we need to
- -- list them for other tools. For now they are listed after
- -- other files, rather than following immediately their parent,
- -- because there is no cheap link between the elaboration table
- -- and the ALIs table.
+ -- Subunits do not appear in the elaboration table because they
+ -- are subsumed by their parent units, but we need to list them
+ -- for other tools. For now they are listed after other files,
+ -- rather than right after their parent, since there is no easy
+ -- link between the elaboration table and the ALIs table ???
+ -- Note also that subunits may appear repeatedly in the list,
+ -- if the parent unit appears in the context of several units
+ -- in the closure.
for J in Sdep.First .. Sdep.Last loop
if Sdep.Table (J).Subunit_Name /= No_Name
@@ -853,8 +855,7 @@ begin
Write_Str (" ");
end if;
- Write_Str
- (Get_Name_String (Sdep.Table (J).Sfile));
+ Write_Str (Get_Name_String (Sdep.Table (J).Sfile));
Write_Eol;
end if;
end loop;