osint.adb, osint.ads: Minor reformatting
authorVincent Celier <celier@adacore.com>
Wed, 26 Sep 2007 10:45:36 +0000 (12:45 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 26 Sep 2007 10:45:36 +0000 (12:45 +0200)
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

gcc/ada/osint-b.adb
gcc/ada/osint-b.ads
gcc/ada/osint.adb
gcc/ada/osint.ads

index c148a4465fc8d3c30b40b3e74b7201e01e7383d2..80009a56c7415ded38451d239ac32b7ac335dacf 100644 (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 --
    -----------------------
index 5fa19ee17741c38eb3075c2dffb3cbd674ad0d5b..a0fa2bba15e5358f7276cada49d428c31a36d589 100644 (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;
index b3a13777fc29c7f56409d4b372525aa616360c33..ca42b44a918139807da7746faa7f0062edd8e7d3 100644 (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
index 80638020a916eee8780a7c44368ef2a610178e33..afe29742f3ef6d572b8b2c08c3ee96b97404e32f 100644 (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.