aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_attr.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2009-04-08 14:31:44 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-08 16:31:44 +0200
commitae8c7d8762ad36ce460e495cd82e46f7ebd9552d (patch)
tree5c7d5ca8363e3376e29cd2917f4cc98c87d8eae6 /gcc/ada/sem_attr.adb
parentff69f95af086f0041be775afb527e3b98f9e8bf6 (diff)
downloadgcc-ae8c7d8762ad36ce460e495cd82e46f7ebd9552d.zip
gcc-ae8c7d8762ad36ce460e495cd82e46f7ebd9552d.tar.gz
gcc-ae8c7d8762ad36ce460e495cd82e46f7ebd9552d.tar.bz2
exp_attr.adb, [...]: Code clean up.
2009-04-08 Robert Dewar <dewar@adacore.com> * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up. From-SVN: r145741
Diffstat (limited to 'gcc/ada/sem_attr.adb')
-rw-r--r--gcc/ada/sem_attr.adb11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb
index 533c8b4..014f0ca 100644
--- a/gcc/ada/sem_attr.adb
+++ b/gcc/ada/sem_attr.adb
@@ -713,8 +713,7 @@ package body Sem_Attr is
then
null;
- -- OK if reference to the current instance of a protected
- -- object.
+ -- OK if reference to current instance of a protected object
elsif Is_Protected_Self_Reference (P) then
null;
@@ -1651,8 +1650,8 @@ package body Sem_Attr is
elsif Is_Protected_Self_Reference (P) then
Error_Attr_P
- ("prefix of % attribute denotes current instance " &
- "(RM 9.4(21/2))");
+ ("prefix of % attribute denotes current instance "
+ & "(RM 9.4(21/2))");
elsif Ekind (Entity (P)) = E_Incomplete_Type
and then Present (Full_View (Entity (P)))
@@ -2021,8 +2020,8 @@ package body Sem_Attr is
-- applies to other entity-denoting expressions.
if Is_Protected_Self_Reference (P) then
- -- An Address attribute on a protected object self reference
- -- is legal.
+
+ -- Address attribute on a protected object self reference is legal
null;