diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-08 12:22:10 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-08 12:22:10 +0000 |
commit | 25278d78fe9e25c1e65a1d67cdaa1eda16e28b02 (patch) | |
tree | 2f1b0eb9ca3a17c5997a94caf67bf72ed34f596f /gcc/ada/g-comlin.ads | |
parent | 48028aed682ea8248eb9e929778f3c7f0d4eb786 (diff) | |
download | gcc-25278d78fe9e25c1e65a1d67cdaa1eda16e28b02.tar.gz |
2008-08-08 Robert Dewar <dewar@adacore.com>
* g-comlin.ads: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138867 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-comlin.ads')
-rw-r--r-- | gcc/ada/g-comlin.ads | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/gcc/ada/g-comlin.ads b/gcc/ada/g-comlin.ads index 738afe96a69..41cdfb8e36d 100644 --- a/gcc/ada/g-comlin.ads +++ b/gcc/ada/g-comlin.ads @@ -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 |