diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-22 11:57:03 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-22 11:57:03 +0200 |
commit | 1ef4d0a80a0f685d97c032717c90032f9793f3af (patch) | |
tree | f6c48168660afba6763dcb54837b600ff4e8f36e /gcc/ada/lib-load.adb | |
parent | 1cb46af046435fde79f3b2cf351e2bfc654d8422 (diff) | |
download | gcc-1ef4d0a80a0f685d97c032717c90032f9793f3af.zip gcc-1ef4d0a80a0f685d97c032717c90032f9793f3af.tar.gz gcc-1ef4d0a80a0f685d97c032717c90032f9793f3af.tar.bz2 |
[multiple changes]
2009-04-22 Robert Dewar <dewar@adacore.com>
* lib-load.adb: Minor reformatting
2009-04-22 Arnaud Charlet <charlet@adacore.com>
* s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax,
since this unit is now part of bootstrap units, so must use Ada 95
syntax only.
2009-04-22 Thomas Quinot <quinot@adacore.com>
* a-tasatt.adb: Minor reformatting
2009-04-22 Bob Duff <duff@adacore.com>
* s-stalib.ads: Remove "with System;" since we're inside System, so
it's unnecessary.
2009-04-22 Vincent Celier <celier@adacore.com>
* prj-nmsc.adb (Add_Source): Always put the dependency file name in
the source record, as there may be a dependency file even if no object
file is created.
From-SVN: r146558
Diffstat (limited to 'gcc/ada/lib-load.adb')
-rw-r--r-- | gcc/ada/lib-load.adb | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gcc/ada/lib-load.adb b/gcc/ada/lib-load.adb index 0bce925..d93b3d0 100644 --- a/gcc/ada/lib-load.adb +++ b/gcc/ada/lib-load.adb @@ -783,9 +783,9 @@ package body Lib.Load is Units.Table (Main_Unit).Version := Source_Checksum (Sind); else - -- Duplicate information from instance unit, for the body - -- The unit node N has been rewritten as a body, but it was placed - -- in the units table when first loaded as a declaration. + -- Duplicate information from instance unit, for the body. The unit + -- node N has been rewritten as a body, but it was placed in the + -- units table when first loaded as a declaration. Units.Table (Units.Last) := Units.Table (Get_Cunit_Unit_Number (N)); Units.Table (Units.Last).Cunit := N; @@ -804,11 +804,10 @@ package body Lib.Load is Bunit : constant Node_Id := Cunit (Body_Unit); begin - -- The spec is irrelevant if the body is a subprogram body, and the - -- spec is other than a subprogram spec or generic subprogram spec. - -- Note that the names must be the same, we don't need to check that, - -- because we already know that from the fact that the file names are - -- the same. + -- The spec is irrelevant if the body is a subprogram body, and the spec + -- is other than a subprogram spec or generic subprogram spec. Note that + -- the names must be the same, we don't need to check that, because we + -- already know that from the fact that the file names are the same. return Nkind (Unit (Bunit)) = N_Subprogram_Body |