[Ada] Small tweak in a couple of comments
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 15 Apr 2021 15:22:46 +0000 (17:22 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 29 Jun 2021 14:23:48 +0000 (14:23 +0000)
gcc/ada/

* sem_ch12.adb (Freeze_Subprogram_Body): Add missing "freeze".
(Install_Body): Likewise.

gcc/ada/sem_ch12.adb

index 893854d..339bb42 100644 (file)
@@ -9106,7 +9106,7 @@ package body Sem_Ch12 is
          --  Handle the following case:
          --
          --    package Parent_Inst is new ...
-         --    Parent_Inst []
+         --    freeze Parent_Inst []
          --
          --    procedure P ...  --  this body freezes Parent_Inst
          --
@@ -9942,7 +9942,7 @@ package body Sem_Ch12 is
                --  Handle the following case:
 
                --    package Parent_Inst is new ...
-               --    Parent_Inst []
+               --    freeze Parent_Inst []
 
                --    procedure P ...  --  this body freezes Parent_Inst