From: Marc Poulhiès Date: Mon, 8 Jan 2024 14:50:03 +0000 (+0100) Subject: ada: Minor typo fix in comment X-Git-Tag: basepoints/gcc-16~9077 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ec8c070f3ccebc9a58ecb593c2e5cfdb6bcfd5c;p=thirdparty%2Fgcc.git ada: Minor typo fix in comment gcc/ada/ * sem_util.adb: Typo fix in comment. * exp_aggr.adb: Likewise. --- diff --git a/gcc/ada/exp_aggr.adb b/gcc/ada/exp_aggr.adb index 27a7f3d2b49..bdaca4aab58 100644 --- a/gcc/ada/exp_aggr.adb +++ b/gcc/ada/exp_aggr.adb @@ -1988,7 +1988,7 @@ package body Exp_Aggr is -- STEP 1: Process component associations -- For those associations that may generate a loop, initialize - -- Loop_Actions to collect inserted actions that may be crated. + -- Loop_Actions to collect inserted actions that may be created. -- Skip this if no component associations diff --git a/gcc/ada/sem_util.adb b/gcc/ada/sem_util.adb index 4e1258e7cec..1785931530f 100644 --- a/gcc/ada/sem_util.adb +++ b/gcc/ada/sem_util.adb @@ -7785,7 +7785,7 @@ package body Sem_Util is Set_Is_Immediately_Visible (E, False); -- Case of renaming declaration constructed for package instances. - -- if there is an explicit declaration with the same identifier, + -- If there is an explicit declaration with the same identifier, -- the renaming is not immediately visible any longer, but remains -- visible through selected component notation. @@ -7794,7 +7794,7 @@ package body Sem_Util is then Set_Is_Immediately_Visible (E, False); - -- The new entity may be the package renaming, which has the same + -- The new entity may be the package renaming, which has the -- same name as a generic formal which has been seen already. elsif Nkind (Parent (Def_Id)) = N_Package_Renaming_Declaration