]> gcc.gnu.org Git - gcc.git/commitdiff
ada: Minor typo fix in comment
authorMarc Poulhiès <poulhies@adacore.com>
Mon, 8 Jan 2024 14:50:03 +0000 (15:50 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 14 May 2024 08:19:59 +0000 (10:19 +0200)
gcc/ada/

* sem_util.adb: Typo fix in comment.
* exp_aggr.adb: Likewise.

gcc/ada/exp_aggr.adb
gcc/ada/sem_util.adb

index 27a7f3d2b49548e7b692717db141caaf2180fd46..bdaca4aab58b86fb1a1afeaf9cbafd3d32048a13 100644 (file)
@@ -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
 
index 4e1258e7cecd6fba2c9a23e4e4812974a22d19f9..1785931530f810c18fe90d03ba341f541950a2a8 100644 (file)
@@ -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
This page took 0.090891 seconds and 5 git commands to generate.