aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/par-ch12.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2010-06-18 12:14:52 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2010-06-18 14:14:52 +0200
commited2233dc6daaa5066470858c3ff939392b2f42ff (patch)
treebef0d0f79e8fa4b8956e144ca031f29b858f8ed9 /gcc/ada/par-ch12.adb
parent9628d8f6670fcf721ce6c96619820e9fe6f90174 (diff)
downloadgcc-ed2233dc6daaa5066470858c3ff939392b2f42ff.zip
gcc-ed2233dc6daaa5066470858c3ff939392b2f42ff.tar.gz
gcc-ed2233dc6daaa5066470858c3ff939392b2f42ff.tar.bz2
par-ch9.adb, [...]: Update comments.
* par-ch9.adb, sem_aggr.adb, sem_ch3.adb, layout.adb, sem_ch4.adb, sem_ch5.adb, sem_mech.adb, exp_util.adb, par-ch10.adb, sem_ch6.adb, par-ch11.adb, sem_ch7.adb, par-prag.adb, exp_disp.adb, par-ch12.adb, sem_ch8.adb, style.adb, sem_ch9.adb, sem_ch10.adb, prep.adb, sem_warn.adb, par-util.adb, scng.adb, sem_eval.adb, checks.adb, sem_prag.adb, sem_ch12.adb, styleg.adb, sem_ch13.adb, par-ch3.adb, par-tchk.adb, freeze.adb, sfn_scan.adb, par-ch4.adb, sem_util.adb, sem_res.adb, par-ch5.adb, lib-xref.adb, sem_attr.adb, par-ch6.adb, sem_disp.adb, prepcomp.adb, par-ch7.adb, sem_elab.adb, exp_ch4.adb, errout.ads: Update comments. Minor reformatting. From-SVN: r160979
Diffstat (limited to 'gcc/ada/par-ch12.adb')
-rw-r--r--gcc/ada/par-ch12.adb7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ada/par-ch12.adb b/gcc/ada/par-ch12.adb
index 046ac43..642c05a 100644
--- a/gcc/ada/par-ch12.adb
+++ b/gcc/ada/par-ch12.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2010, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -346,7 +346,7 @@ package body Ch12 is
Scan; -- past OTHERS
if Token /= Tok_Arrow then
- Error_Msg_BC ("expect arrow after others");
+ Error_Msg_BC ("expect arrow after others");
else
Scan; -- past arrow
end if;
@@ -912,7 +912,8 @@ package body Ch12 is
Scan;
if Token = Tok_Private then
- Error_Msg_SC ("TAGGED should be WITH");
+ Error_Msg_SC -- CODEFIX
+ ("TAGGED should be WITH");
Set_Private_Present (Def_Node, True);
T_Private;
else