Commit 671eb586 by Robert Dewar Committed by Arnaud Charlet

lib-load.adb: Minor reformatting

2009-07-15  Robert Dewar  <dewar@adacore.com>

	* lib-load.adb: Minor reformatting

	* lib-writ.adb (Write_ALI): Fix handling of SCO_Output wrt Generate_SCO.

From-SVN: r149678
parent 8aaeba8f
2009-07-15 Robert Dewar <dewar@adacore.com>
* lib-load.adb: Minor reformatting
* lib-writ.adb (Write_ALI): Fix handling of SCO_Output wrt Generate_SCO.
2009-07-15 Robert Dewar <dewar@adacore.com>
* par.adb: Minor reformatting
Add ??? comment for possible bad comment
......
......@@ -396,7 +396,7 @@ package body Lib.Load is
begin
while Nkind (Par) = N_Selected_Component
and then Chars (Selector_Name (Par)) /=
Chars (Cunit_Entity (Unump))
Chars (Cunit_Entity (Unump))
loop
Par := Prefix (Par);
end loop;
......@@ -694,6 +694,9 @@ package body Lib.Load is
-- Remove load stack entry and return the entry in the file table
Load_Stack.Decrement_Last;
-- All done, return unit number
return Unum;
-- Case of file not found
......
......@@ -1230,20 +1230,20 @@ package body Lib.Writ is
end loop;
end;
-- Output cross-reference information
-- Output cross-references
Write_Info_Terminate;
Output_References;
-- Output SCO information if present
if Generate_SCO then
Write_Info_Terminate;
SCO_Output;
end if;
-- Output of ALI file is complete
-- Output final blank line and we are done. This final blank line is
-- probably junk, but we don't feel like making an incompatible change!
Write_Info_Terminate;
Close_Output_Library_Info;
end Write_ALI;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment