summaryrefslogtreecommitdiff
path: root/gcc/ada/par-ch4.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-26 10:45:45 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-26 10:45:45 +0000
commitd5cafb092179876bd9aa212d6811069f7940a2ee (patch)
tree49e56d926ded7bc88a3b026e4a555ef598a7e18f /gcc/ada/par-ch4.adb
parenta62b78c7cd83f25670f2b03bc0bb71d8c5b2aff6 (diff)
downloadgcc-d5cafb092179876bd9aa212d6811069f7940a2ee.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128800 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/par-ch4.adb')
-rw-r--r--gcc/ada/par-ch4.adb4
1 files 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;