]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] sem_util.adb: fix typos in Accessibility_Level docs
authorGhjuvan Lacambre <lacambre@adacore.com>
Wed, 27 Oct 2021 08:26:00 +0000 (10:26 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 9 Nov 2021 09:44:47 +0000 (09:44 +0000)
gcc/ada/

* sem_util.adb (Accessibility_Level): Fix typos.

gcc/ada/sem_util.adb

index 724068138573eb39e438c2c97fe861d05e7422ff..8785e2e140c2ff151438409411d20b37871cf5b5 100644 (file)
@@ -686,9 +686,9 @@ package body Sem_Util is
                return New_Occurrence_Of
                         (Get_Dynamic_Accessibility (E), Loc);
 
-            --  Initialization procedures have a special extra accessitility
+            --  Initialization procedures have a special extra accessibility
             --  parameter associated with the level at which the object
-            --  begin initialized exists
+            --  being initialized exists
 
             elsif Ekind (E) = E_Record_Type
               and then Is_Limited_Record (E)