From d123579abfd2f419fce2f9e8188738912ade4512 Mon Sep 17 00:00:00 2001 From: Gary Dismukes Date: Wed, 26 Sep 2007 12:45:45 +0200 Subject: [PATCH] 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 * 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 --- gcc/ada/par-ch4.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/ada/par-ch4.adb b/gcc/ada/par-ch4.adb index a814f186e97..89f3345e887 100644 --- a/gcc/ada/par-ch4.adb +++ b/gcc/ada/par-ch4.adb @@ -1436,11 +1436,11 @@ package body Ch4 is if Token = Tok_Box then -- 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 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"); end if; -- 2.30.2