From: Gary Dismukes Date: Wed, 30 May 2018 08:57:55 +0000 (+0000) Subject: [Ada] Fix several typos X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cc6d416ae9fa0e476523d30ab403fa3fd5970c2;p=gcc.git [Ada] Fix several typos 2018-05-30 Gary Dismukes gcc/ada/ * sem_res.adb, sem_util.adb: Fix several typos. From-SVN: r260939 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 7d70d82fd6e..295ec6493a3 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2018-05-30 Gary Dismukes + + * sem_res.adb, sem_util.adb: Fix several typos. + 2018-05-30 Olivier Hainque * vx_crtbegin_attr.c (CTOR_ATTRIBUTE, DTOR_ATTRIBUTE): Empty. diff --git a/gcc/ada/sem_res.adb b/gcc/ada/sem_res.adb index 9df0cd6ae5a..32ea60fcf46 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 5004e3220f0..fd0864c77c0 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. ----------------------