* osint.adb, osint.ads: Minor reformatting
* osint-b.adb, osint-b.ads (Set_Current_File_Name_Index): New procedure
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128799
138bc75d-0d04-0410-961f-
82ee72b054a4
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 --
-----------------------
-- 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;
-- 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
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.