Commit 6d93ae14 by Vincent Celier Committed by Arnaud Charlet

re PR ada/17566 (Gnatxref formatting)

2009-08-10  Vincent Celier  <celier@adacore.com>

	PR ada/17566
	* xref_lib.adb (Print_Xref): Make sure that there is at least one space
	between a declaration name and its type.

From-SVN: r150617
parent b1d82db0
2009-08-10 Vincent Celier <celier@adacore.com>
PR ada/17566
* xref_lib.adb (Print_Xref): Make sure that there is at least one space
between a declaration name and its type.
2009-08-07 Javier Miranda <miranda@adacore.com>
* exp_ch7.adb (Wrap_Transient_Expression): Add missing adjustment of
......
......@@ -1607,10 +1607,16 @@ package body Xref_Lib is
Write_Str (Get_Symbol (Decl));
while Column < Type_Position loop
-- Put the declaration type in column Type_Position, but if the
-- declaration name is too long, put at least one space between its
-- name and its type.
while Column < Type_Position - 1 loop
Write_Char (' ');
end loop;
Write_Char (' ');
Write_Line (Get_Full_Type (Decl));
Write_Parent_Info : declare
......
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