OSDN Git Service

2008-08-08 Robert Dewar <dewar@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Aug 2008 12:22:10 +0000 (12:22 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Aug 2008 12:22:10 +0000 (12:22 +0000)
* g-comlin.ads: Minor reformatting

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138867 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/g-comlin.ads

index 738afe9..41cdfb8 100644 (file)
@@ -530,8 +530,7 @@ package GNAT.Command_Line is
 
    function Get_Switches
      (Config      : Command_Line_Configuration;
-      Switch_Char : Character)
-      return String;
+      Switch_Char : Character) return String;
    --  Get the switches list as expected by getopt. This list is built using
    --  all switches defined previously via Define_Switch above.
 
@@ -636,7 +635,7 @@ package GNAT.Command_Line is
    --  If Remove_All is True, then all matching switches are removed, otherwise
    --  only the first matching one is removed.
    --
-   --  if Has_Parameter is set to True, then only switches having a parameter
+   --  If Has_Parameter is set to True, then only switches having a parameter
    --  are removed.
    --
    --  If the switch belongs to a section, then this section should be
@@ -664,7 +663,7 @@ package GNAT.Command_Line is
    --  string, then only a switch with no parameter will be removed.
 
    ---------------
-   -- Iterating --
+   -- Iteration --
    ---------------
 
    type Command_Line_Iterator is private;
@@ -807,15 +806,15 @@ private
       Prefixes : GNAT.OS_Lib.Argument_List_Access;
       --  The list of prefixes
 
-      Sections   : GNAT.OS_Lib.Argument_List_Access;
+      Sections : GNAT.OS_Lib.Argument_List_Access;
       --  The list of sections
 
       Aliases    : GNAT.OS_Lib.Argument_List_Access;
       Expansions : GNAT.OS_Lib.Argument_List_Access;
-      --  The aliases. Both arrays have the same indices
+      --  The aliases (Both arrays have the same bounds)
 
-      Switches   : GNAT.OS_Lib.Argument_List_Access;
-      --  List of expected switches. Used when expanding switch groups.
+      Switches : GNAT.OS_Lib.Argument_List_Access;
+      --  List of expected switches (Used when expanding switch groups)
    end record;
    type Command_Line_Configuration is access Command_Line_Configuration_Record;
 
@@ -825,19 +824,19 @@ private
 
       Params : GNAT.OS_Lib.Argument_List_Access;
       --  Parameter for the corresponding switch in Expanded. The first
-      --  character is the separator (or ASCII.NUL if there is no separator)
+      --  character is the separator (or ASCII.NUL if there is no separator).
 
-      Sections   : GNAT.OS_Lib.Argument_List_Access;
+      Sections : GNAT.OS_Lib.Argument_List_Access;
       --  The list of sections
 
       Coalesce          : GNAT.OS_Lib.Argument_List_Access;
       Coalesce_Params   : GNAT.OS_Lib.Argument_List_Access;
       Coalesce_Sections : GNAT.OS_Lib.Argument_List_Access;
-      --  Cached version of the command line. This is recomputed every time the
-      --  command line changes. Switches are grouped as much as possible, and
-      --  aliases are used to reduce the length of the command line.
-      --  The parameters are not allocated, they point into Params, so must not
-      --  be freed.
+      --  Cached version of the command line. This is recomputed every time
+      --  the command line changes. Switches are grouped as much as possible,
+      --  and aliases are used to reduce the length of the command line. The
+      --  parameters are not allocated, they point into Params, so they must
+      --  not be freed.
    end record;
 
    type Command_Line_Iterator is record