diff options
author | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-13 17:41:15 +0000 |
---|---|---|
committer | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-13 17:41:15 +0000 |
commit | 1a34e48c1d7cf4f23d39788e46f64629cddf53b9 (patch) | |
tree | d233d5950c2c7ac628ce9413ff3d59a39a79f59c /gcc/ada/sem_ch4.adb | |
parent | febb409f6902e6f6fe5898499b6e4088b8b22f31 (diff) | |
download | gcc-1a34e48c1d7cf4f23d39788e46f64629cddf53b9.tar.gz |
gcc/ada/
* sem_ch10.adb, sem_ch10.ads,
sem_ch12.adb, sem_ch12.ads, sem_ch13.adb, sem_ch13.ads,
sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb,
sem_ch6.ads, sem_ch8.adb, sem_ch8.ads, sem_ch9.adb,
sem_elab.adb, sem_elab.ads, sem_elim.ads, sem_eval.adb,
sem_eval.ads, sem_intr.adb, sem_mech.adb, sem_mech.ads,
sem_prag.adb, sem_prag.ads, sem_res.adb, sem_res.ads,
sem_type.adb, sem_util.adb, sem_util.ads, sem_warn.adb,
sem_warn.ads: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134242 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch4.adb')
-rw-r--r-- | gcc/ada/sem_ch4.adb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/sem_ch4.adb b/gcc/ada/sem_ch4.adb index 224639983b5..60d3cd3f689 100644 --- a/gcc/ada/sem_ch4.adb +++ b/gcc/ada/sem_ch4.adb @@ -132,7 +132,7 @@ package body Sem_Ch4 is -- an invalid selector error message. function Defined_In_Scope (T : Entity_Id; S : Entity_Id) return Boolean; - -- Verify that type T is declared in scope S. Used to find intepretations + -- Verify that type T is declared in scope S. Used to find interpretations -- for operators given by expanded names. This is abstracted as a separate -- function to handle extensions to System, where S is System, but T is -- declared in the extension. @@ -1344,7 +1344,7 @@ package body Sem_Ch4 is if not Is_Overloaded (P) then if Is_Access_Type (Etype (P)) then - -- Set the Etype. We need to go thru Is_For_Access_Subtypes to + -- Set the Etype. We need to go through Is_For_Access_Subtypes to -- avoid other problems caused by the Private_Subtype and it is -- safe to go to the Base_Type because this is the same as -- converting the access value to its Base_Type. @@ -2213,7 +2213,7 @@ package body Sem_Ch4 is (N, Nam, Designated_Type (Subp_Type), Must_Skip); -- The prefix can also be a parameterless function that returns an - -- access to subprogram. in which case this is an indirect call. + -- access to subprogram, in which case this is an indirect call. elsif Is_Access_Type (Subp_Type) and then Ekind (Designated_Type (Subp_Type)) = E_Subprogram_Type @@ -3195,7 +3195,7 @@ package body Sem_Ch4 is -- If the prefix is a private extension, check only the visible -- components of the partial view. This must include the tag, - -- wich can appear in expanded code in a tag check. + -- which can appear in expanded code in a tag check. if Ekind (Type_To_Use) = E_Record_Type_With_Private and then Chars (Selector_Name (N)) /= Name_uTag @@ -3262,7 +3262,7 @@ package body Sem_Ch4 is Set_Original_Discriminant (Sel, Comp); end if; - -- Before declararing an error, check whether this is tagged + -- Before declaring an error, check whether this is tagged -- private type and a call to a primitive operation. elsif Ada_Version >= Ada_05 @@ -5340,8 +5340,8 @@ package body Sem_Ch4 is -- is never appropriate, even when Address is defined as a visible -- Integer type. The reason is that we would really prefer Address -- to behave as a private type, even in this case, which is there - -- only to accomodate oddities of VMS address sizes. If Address is - -- a visible integer type, we get lots of overload ambiguities. + -- only to accommodate oddities of VMS address sizes. If Address + -- is a visible integer type, we get lots of overload ambiguities. if Nkind (N) in N_Binary_Op then declare |