osint.adb, osint.ads: Minor reformatting

2007-09-26  Vincent Celier  <celier@adacore.com>

	* osint.adb, osint.ads: Minor reformatting

	* osint-b.adb, osint-b.ads (Set_Current_File_Name_Index): New procedure

From-SVN: r128799
This commit is contained in:
Vincent Celier 2007-09-26 12:45:36 +02:00 committed by Arnaud Charlet
parent 503299f994
commit 6de1be0227
4 changed files with 15 additions and 2 deletions

View File

@ -167,6 +167,15 @@ package body Osint.B is
function Next_Main_Lib_File return File_Name_Type renames Next_Main_File;
---------------------------------
-- Set_Current_File_Name_Index --
---------------------------------
procedure Set_Current_File_Name_Index (To : Int) is
begin
Current_File_Name_Index := To;
end Set_Current_File_Name_Index;
-----------------------
-- Write_Binder_Info --
-----------------------

View File

@ -78,4 +78,8 @@ package Osint.B is
-- Closes the file created by Create_Binder_Output, flushing any
-- buffers etc from writes by Write_Binder_Info.
procedure Set_Current_File_Name_Index (To : Int);
-- Set the value of Current_File_Name_Index (in the private part of Osint)
-- to To.
end Osint.B;

View File

@ -119,7 +119,7 @@ package body Osint is
-- End of line character
Number_File_Names : Int := 0;
-- Number of file names founde on command line and placed in File_Names
-- Number of file names found on command line and placed in File_Names
Look_In_Primary_Directory_For_Current_Main : Boolean := False;
-- When this variable is True, Find_File only looks in Primary_Directory

View File

@ -590,7 +590,7 @@ private
type File_Name_Array_Ptr is access File_Name_Array;
File_Names : File_Name_Array_Ptr :=
new File_Name_Array (1 .. Int (Argument_Count) + 2);
-- As arguments are scanned, file names are stored in this array The
-- As arguments are scanned, file names are stored in this array. The
-- strings do not have terminating NUL files. The array is extensible,
-- because when using project files, there may be more files than
-- arguments on the command line.