aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_dist.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2013-01-02 10:51:35 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2013-01-02 10:51:35 +0100
commit324ac54054c45c6641e601f02b74568c277f903d (patch)
tree6c0f061975c47c8cd7246bcfe9ca7b69a6bec8f8 /gcc/ada/sem_dist.adb
parentdbfeb4faf0c407d23fc6c47ad126ef26bd417aa7 (diff)
downloadgcc-324ac54054c45c6641e601f02b74568c277f903d.zip
gcc-324ac54054c45c6641e601f02b74568c277f903d.tar.gz
gcc-324ac54054c45c6641e601f02b74568c277f903d.tar.bz2
[multiple changes]
2013-01-02 Robert Dewar <dewar@adacore.com> * errout.ads: Minor comment fixes. * opt.ads: Minor comment additions. * exp_aggr.adb: Add tags to warning messages * exp_ch11.adb, exp_ch3.adb, exp_ch4.adb, exp_util.adb, sem_aggr.adb, sem_attr.adb, sem_case.adb, sem_cat.adb, sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_disp.adb, sem_dist.adb, sem_elab.adb, sem_eval.adb, sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb, sem_util.adb, sem_warn.adb: Add tags to warning messages 2013-01-02 Doug Rupp <rupp@adacore.com> * init.c [VMS] Remove subtest on reason mask for ACCVIO that is a C_E. 2013-01-02 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb: Recover source name for renamed packagea. From-SVN: r194786
Diffstat (limited to 'gcc/ada/sem_dist.adb')
-rw-r--r--gcc/ada/sem_dist.adb7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ada/sem_dist.adb b/gcc/ada/sem_dist.adb
index 678a600..f3d3e33 100644
--- a/gcc/ada/sem_dist.adb
+++ b/gcc/ada/sem_dist.adb
@@ -522,8 +522,9 @@ package body Sem_Dist is
Parameter := First (Parameter_Specifications (Type_Def));
while Present (Parameter) loop
if Nkind (Parameter_Type (Parameter)) = N_Access_Definition then
- Error_Msg_N ("formal parameter& has anonymous access type?",
- Defining_Identifier (Parameter));
+ Error_Msg_N
+ ("formal parameter& has anonymous access type??",
+ Defining_Identifier (Parameter));
Is_Degenerate := True;
exit;
end if;
@@ -533,7 +534,7 @@ package body Sem_Dist is
if Is_Degenerate then
Error_Msg_NE
- ("remote access-to-subprogram type& can only be null?",
+ ("remote access-to-subprogram type& can only be null??",
Defining_Identifier (Parameter), User_Type);
-- The only legal value for a RAS with a formal parameter of an