aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGary Dismukes <dismukes@adacore.com>2018-05-30 08:57:55 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-30 08:57:55 +0000
commit7cc6d416ae9fa0e476523d30ab403fa3fd5970c2 (patch)
tree74104922f9b37feca9364c8a77128c11c303fcb3 /gcc
parent5e648d3021c10f8bc1fcc3404dcd5ede6cdc32f9 (diff)
downloadgcc-7cc6d416ae9fa0e476523d30ab403fa3fd5970c2.zip
gcc-7cc6d416ae9fa0e476523d30ab403fa3fd5970c2.tar.gz
gcc-7cc6d416ae9fa0e476523d30ab403fa3fd5970c2.tar.bz2
[Ada] Fix several typos
2018-05-30 Gary Dismukes <dismukes@adacore.com> gcc/ada/ * sem_res.adb, sem_util.adb: Fix several typos. From-SVN: r260939
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/sem_res.adb8
-rw-r--r--gcc/ada/sem_util.adb2
3 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 7d70d82..295ec64 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-30 Gary Dismukes <dismukes@adacore.com>
+
+ * sem_res.adb, sem_util.adb: Fix several typos.
+
2018-05-30 Olivier Hainque <hainque@adacore.com>
* vx_crtbegin_attr.c (CTOR_ATTRIBUTE, DTOR_ATTRIBUTE): Empty.
diff --git a/gcc/ada/sem_res.adb b/gcc/ada/sem_res.adb
index 9df0cd6..32ea60f 100644
--- a/gcc/ada/sem_res.adb
+++ b/gcc/ada/sem_res.adb
@@ -10120,10 +10120,10 @@ package body Sem_Res is
-- The type of the context and that of the component are
-- compatible and in general identical, but if they are anonymous
- -- access_to_subprogram types the relevwnt type is that of the
- -- component. Thid matters in Unnest_Subprograms mode, where the
- -- relevant context is the one in which the type is declared. not
- -- the point of use. this determines what activation record to use.
+ -- access-to-subprogram types, the relevant type is that of the
+ -- component. This matters in Unnest_Subprograms mode, where the
+ -- relevant context is the one in which the type is declared, not
+ -- the point of use. This determines what activation record to use.
if Ekind (Typ) = E_Anonymous_Access_Subprogram_Type then
Set_Etype (N, Etype (Comp1));
diff --git a/gcc/ada/sem_util.adb b/gcc/ada/sem_util.adb
index 5004e32..fd0864c 100644
--- a/gcc/ada/sem_util.adb
+++ b/gcc/ada/sem_util.adb
@@ -13162,7 +13162,7 @@ package body Sem_Util is
-- components.
function Is_Atomic_Prefix (Pref : Node_Id) return Boolean;
- -- Determine whether prefix Pref of a indexed or selected component is
+ -- Determine whether prefix Pref of an indexed or selected component is
-- an atomic object.
----------------------