Commit b59283f2 by Robert Dewar Committed by Arnaud Charlet

g-comlin.adb: Minor reformatting

2008-08-04  Robert Dewar  <dewar@adacore.com>

	* g-comlin.adb: Minor reformatting

From-SVN: r138604
parent 05a76b51
......@@ -33,6 +33,7 @@
with Ada.Unchecked_Deallocation;
with Ada.Strings.Unbounded;
with GNAT.OS_Lib; use GNAT.OS_Lib;
package body GNAT.Command_Line is
......@@ -1468,10 +1469,12 @@ package body GNAT.Command_Line is
and then Looking_At
(Result (C).all, Result (C)'First, Cmd.Config.Prefixes (P).all)
then
Group := Group &
Group :=
Group &
Result (C)
(Result (C)'First + Cmd.Config.Prefixes (P)'Length ..
Result (C)'Last);
if First = 0 then
First := C;
end if;
......@@ -1481,7 +1484,8 @@ package body GNAT.Command_Line is
end loop;
if First > 0 then
Result (First) := new String'
Result (First) :=
new String'
(Cmd.Config.Prefixes (P).all &
Ada.Strings.Unbounded.To_String (Group));
end if;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment