aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_attr.adb
diff options
context:
space:
mode:
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;