Commit 7cc6d416 by Gary Dismukes Committed by Pierre-Marie de Rodat

[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
parent 5e648d30
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.
......
......@@ -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));
......
......@@ -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.
----------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment