Commit d123579a by Gary Dismukes Committed by Arnaud Charlet

par-ch4.adb (P_Record_Or_Array_Component_Association): Change Ada 95 message to…

par-ch4.adb (P_Record_Or_Array_Component_Association): Change Ada 95 message to cite use of <> in aggregate component associations...

2007-09-26  Gary Dismukes  <dismukes@adacore.com>

	* par-ch4.adb (P_Record_Or_Array_Component_Association): Change Ada 95
	message to cite use of <> in aggregate component associations rather
	than wrongly indicating use of limited aggregates.

From-SVN: r128800
parent 6de1be02
...@@ -1436,11 +1436,11 @@ package body Ch4 is ...@@ -1436,11 +1436,11 @@ package body Ch4 is
if Token = Tok_Box then if Token = Tok_Box then
-- Ada 2005(AI-287): The box notation is used to indicate the -- Ada 2005(AI-287): The box notation is used to indicate the
-- default initialization of limited aggregate components -- default initialization of aggregate components
if Ada_Version < Ada_05 then if Ada_Version < Ada_05 then
Error_Msg_SP Error_Msg_SP
("limited aggregate is an Ada 2005 extension"); ("component association with '<'> is an Ada 2005 extension");
Error_Msg_SP ("\unit must be compiled with -gnat05 switch"); Error_Msg_SP ("\unit must be compiled with -gnat05 switch");
end if; 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