Code cleanup.
gcc/ada/
* exp_ch9.adb, sem_ch10.adb, sem_util.adb: Fix comments.
-- Generate:
-- if K = Ada.Tags.TK_Limited_Tagged
-- or else K = Ada.Tags.TK_Tagged
- -- then
+ -- then
-- Lim_Typ_Stmts
-- else
-- Conc_Typ_Stmts
-- Generate:
-- if K = Ada.Tags.TK_Limited_Tagged
-- or else K = Ada.Tags.TK_Tagged
- -- then
+ -- then
-- Lim_Typ_Stmts
-- else
-- Conc_Typ_Stmts
then
-- If the unit is an ancestor of the current one, it is the
-- case of a private limited with clause on a child unit, and
- -- the compilation of one of its descendants, In that case the
+ -- the compilation of one of its descendants, in that case the
-- limited view is errelevant.
if Limited_Present (Item) then
Param_Typ := Etype (Param);
end if;
- -- In the case where an Itype was created for a dispatchin call, the
+ -- In the case where an Itype was created for a dispatching call, the
-- procedure call has been rewritten. The actual may be an access to
-- interface type in which case it is the designated type that is the
-- controlling type.