aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch12.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-04-15 17:22:46 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2021-06-29 14:23:48 +0000
commit339bf0a2a972fe0655dfa3b6508312e748d4fbcc (patch)
tree3af955e792c22b2d0a88edd3ce6c0ea8938f2183 /gcc/ada/sem_ch12.adb
parent8d1427a932f241891f054e55c5d3710ef7d0f303 (diff)
downloadgcc-339bf0a2a972fe0655dfa3b6508312e748d4fbcc.zip
gcc-339bf0a2a972fe0655dfa3b6508312e748d4fbcc.tar.gz
gcc-339bf0a2a972fe0655dfa3b6508312e748d4fbcc.tar.bz2
[Ada] Small tweak in a couple of comments
gcc/ada/ * sem_ch12.adb (Freeze_Subprogram_Body): Add missing "freeze". (Install_Body): Likewise.
Diffstat (limited to 'gcc/ada/sem_ch12.adb')
-rw-r--r--gcc/ada/sem_ch12.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch12.adb b/gcc/ada/sem_ch12.adb
index 893854d..339bb42 100644
--- a/gcc/ada/sem_ch12.adb
+++ b/gcc/ada/sem_ch12.adb
@@ -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