]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Typo fix in finalization comment
authorMarc Poulhiès <poulhies@adacore.com>
Fri, 18 Mar 2022 15:11:41 +0000 (16:11 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 17 May 2022 08:25:43 +0000 (08:25 +0000)
Add missing 's' and reformat the comment block.

gcc/ada/

* exp_ch7.adb: Fix typo.

gcc/ada/exp_ch7.adb

index ae3663ecdf6c75d0e785f09b071f1b00fd2aa7f4..7434364651504631a3ff4343f3664fe9b53fdb13 100644 (file)
@@ -157,14 +157,14 @@ package body Exp_Ch7 is
    -- Finalization Management --
    -----------------------------
 
-   --  This part describe how Initialization/Adjustment/Finalization procedures
-   --  are generated and called. Two cases must be considered, types that are
-   --  Controlled (Is_Controlled flag set) and composite types that contain
-   --  controlled components (Has_Controlled_Component flag set). In the first
-   --  case the procedures to call are the user-defined primitive operations
-   --  Initialize/Adjust/Finalize. In the second case, GNAT generates
-   --  Deep_Initialize, Deep_Adjust and Deep_Finalize that are in charge
-   --  of calling the former procedures on the controlled components.
+   --  This part describes how Initialization/Adjustment/Finalization
+   --  procedures are generated and called. Two cases must be considered: types
+   --  that are Controlled (Is_Controlled flag set) and composite types that
+   --  contain controlled components (Has_Controlled_Component flag set). In
+   --  the first case the procedures to call are the user-defined primitive
+   --  operations Initialize/Adjust/Finalize. In the second case, GNAT
+   --  generates Deep_Initialize, Deep_Adjust and Deep_Finalize that are in
+   --  charge of calling the former procedures on the controlled components.
 
    --  For records with Has_Controlled_Component set, a hidden "controller"
    --  component is inserted. This controller component contains its own