diff options
author | Gary Dismukes <dismukes@adacore.com> | 2007-09-26 12:45:45 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-09-26 12:45:45 +0200 |
commit | d123579abfd2f419fce2f9e8188738912ade4512 (patch) | |
tree | 49e56d926ded7bc88a3b026e4a555ef598a7e18f /gcc/ada/par-ch4.adb | |
parent | 6de1be0227dca0c582c9cf21c45214c6c02918c4 (diff) | |
download | gcc-d123579abfd2f419fce2f9e8188738912ade4512.zip gcc-d123579abfd2f419fce2f9e8188738912ade4512.tar.gz gcc-d123579abfd2f419fce2f9e8188738912ade4512.tar.bz2 |
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
Diffstat (limited to 'gcc/ada/par-ch4.adb')
-rw-r--r-- | gcc/ada/par-ch4.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/par-ch4.adb b/gcc/ada/par-ch4.adb index a814f18..89f3345 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; |