X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fada%2Fexp_tss.ads;h=5e290be754225989f09b2a22c86d888614fa30f1;hb=914796b1122e63f14d506bac0d830bdc53064abd;hp=cdacb3223460930f7d43c689991b1f6b18770da2;hpb=f27cea3abf8ded22456f5f46a812cc3915969815;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ada/exp_tss.ads b/gcc/ada/exp_tss.ads index cdacb322346..5e290be7542 100644 --- a/gcc/ada/exp_tss.ads +++ b/gcc/ada/exp_tss.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2005 Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -26,6 +26,7 @@ -- Type Support Subprogram (TSS) handling +with Namet; use Namet; with Types; use Types; package Exp_Tss is @@ -172,20 +173,20 @@ package Exp_Tss is procedure Set_TSS (Typ : Entity_Id; TSS : Entity_Id); -- This procedure is used to install a newly created TSS. The second - -- argument is the entity for such a new TSS. This entity is placed in - -- the TSS list for the type given as the first argument, replacing an - -- old entry of the same name if one was present. The tree for the body - -- of this TSS, which is not analyzed yet, is placed in the actions field - -- of the freeze node for the type. All such bodies are inserted into the - -- main tree and analyzed at the point at which the freeze node itself is - -- is expanded. + -- argument is the entity for such a new TSS. This entity is placed in the + -- TSS list for the type given as the first argument, replacing an old + -- entry of the same name if one was present. The tree for the body of this + -- TSS, which is not analyzed yet, is placed in the actions field of the + -- freeze node for the type. All such bodies are inserted into the main + -- tree and analyzed at the point at which the freeze node itself is + -- expanded. procedure Copy_TSS (TSS : Entity_Id; Typ : Entity_Id); -- Given an existing TSS for another type (which is already installed, -- analyzed and expanded), install it as the corresponding TSS for Typ. - -- Note that this just copies a reference, not the tree. This can also - -- be used to initially install a TSS in the case where the subprogram - -- for the TSS has already been created and its declaration processed. + -- Note that this just copies a reference, not the tree. This can also be + -- used to initially install a TSS in the case where the subprogram for the + -- TSS has already been created and its declaration processed. function Init_Proc (Typ : Entity_Id) return Entity_Id; pragma Inline (Init_Proc); @@ -198,7 +199,7 @@ package Exp_Tss is -- the corresponding base type (see Base_Init_Proc function). A special -- case arises for concurrent types. Such types do not themselves have an -- init proc TSS, but initialization is required. The init proc used is - -- the one fot the corresponding record type (see Base_Init_Proc). + -- the one for the corresponding record type (see Base_Init_Proc). function Base_Init_Proc (Typ : Entity_Id) return Entity_Id; -- Obtains the _Init TSS entry from the base type of the entity, and also