]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix typo in comment
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 13 Jan 2023 07:53:06 +0000 (08:53 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 16 Jan 2023 14:44:55 +0000 (15:44 +0100)
gcc/ada/

* exp_ch3.adb (Make_Allocator_For_Return): Fix typo in comment.

gcc/ada/exp_ch3.adb

index daa96df4b32c7b6862ab0881bb407f5e1da40aab..abe71b252e7761a8da1cb8d7a42a2705c6a6694f 100644 (file)
@@ -7196,7 +7196,7 @@ package body Exp_Ch3 is
             --  We always use the type of the expression for the qualified
             --  expression, rather than the return object's type. We cannot
             --  always use the return object's type because the expression
-            --  might be of a specific type and the result object mignt not.
+            --  might be of a specific type and the return object mignt not.
 
             Alloc :=
               Make_Allocator (Loc,