summaryrefslogtreecommitdiff
path: root/gcc/ada/aspects.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-10 14:58:22 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-10 14:58:22 +0000
commitb21edad92b3c4d17c8abac8609ce43841572379a (patch)
tree2c4e4339b74ae20e780c1d67dd69c45555187397 /gcc/ada/aspects.ads
parent57d8d1f30d5385f1f3867ce6218773da98d3b429 (diff)
downloadgcc-b21edad92b3c4d17c8abac8609ce43841572379a.tar.gz
2013-09-10 Thomas Quinot <quinot@adacore.com>
* aspects.ads, sem_ch13.adb: Minor reformatting. * adaint.c (__gnat_set_close_on_exec): Add comment documenting that this routine is shared between OS_Lib and Sockets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202458 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/aspects.ads')
-rw-r--r--gcc/ada/aspects.ads14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/aspects.ads b/gcc/ada/aspects.ads
index a7429d79119..acaa4cc8cab 100644
--- a/gcc/ada/aspects.ads
+++ b/gcc/ada/aspects.ads
@@ -499,8 +499,8 @@ package Aspects is
-- To deal with the delayed aspect case, we use two flags. The first is
-- set on the parent type if it has delayed representation aspects. This
-- flag Has_Delayed_Rep_Aspects indicates that if we derive from this type
- -- we have to worry about making sure we inherit any delayed types. The
- -- second flag is set on a derived type. May_Have_Inherited_Rep_Aspects
+ -- we have to worry about making sure we inherit any delayed aspects. The
+ -- second flag is set on a derived type: May_Have_Inherited_Rep_Aspects
-- is set if the parent type has Has_Delayed_Rep_Aspects set.
-- When we freeze a derived type, if the May_Have_Inherited_Rep_Aspects
@@ -517,17 +517,17 @@ package Aspects is
-- is always delayed, as required by the language definition.
Never_Delay,
- -- There are two cases. There are language defined attributes like
- -- Convention where the "expression" is simply an uninterprted
+ -- There are two cases. There are language defined aspects like
+ -- Convention where the "expression" is simply an uninterpreted
-- identifier, and there is no issue of evaluating it and thus no
-- issue of delaying the evaluation. The second case is implementation
- -- defined attributes where we have decided that we don't want to
- -- allow delays (and for our own attributes we can do what we like!)
+ -- defined aspects where we have decided that we don't want to allow
+ -- delays (and for our own aspects we can do what we like!).
Rep_Aspect);
-- These are the cases of representation aspects that are in general
-- delayed, and where there is a potential issue of derived types that
- -- inherit delayed representation values
+ -- inherit delayed representation values.
-- Note: even if this table indicates that an aspect is delayed, we never
-- delay Boolean aspects that have a missing expression (taken as True),