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> 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 * par.adb: Minor reformatting
Add ??? comment for possible bad comment Add ??? comment for possible bad comment
......
...@@ -396,7 +396,7 @@ package body Lib.Load is ...@@ -396,7 +396,7 @@ package body Lib.Load is
begin begin
while Nkind (Par) = N_Selected_Component while Nkind (Par) = N_Selected_Component
and then Chars (Selector_Name (Par)) /= and then Chars (Selector_Name (Par)) /=
Chars (Cunit_Entity (Unump)) Chars (Cunit_Entity (Unump))
loop loop
Par := Prefix (Par); Par := Prefix (Par);
end loop; end loop;
...@@ -694,6 +694,9 @@ package body Lib.Load is ...@@ -694,6 +694,9 @@ package body Lib.Load is
-- Remove load stack entry and return the entry in the file table -- Remove load stack entry and return the entry in the file table
Load_Stack.Decrement_Last; Load_Stack.Decrement_Last;
-- All done, return unit number
return Unum; return Unum;
-- Case of file not found -- Case of file not found
......
...@@ -1230,20 +1230,20 @@ package body Lib.Writ is ...@@ -1230,20 +1230,20 @@ package body Lib.Writ is
end loop; end loop;
end; end;
-- Output cross-reference information -- Output cross-references
Write_Info_Terminate;
Output_References; Output_References;
-- Output SCO information if present -- Output SCO information if present
if Generate_SCO then if Generate_SCO then
Write_Info_Terminate;
SCO_Output; SCO_Output;
end if; 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; Close_Output_Library_Info;
end Write_ALI; 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