]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix comment
authorRonan Desplanques <desplanques@adacore.com>
Mon, 10 Mar 2025 09:31:21 +0000 (10:31 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 9 Jun 2025 06:32:11 +0000 (08:32 +0200)
gcc/ada/ChangeLog:

* sem.adb (Analyze): Fix comment.

gcc/ada/sem.adb

index 06df00ec8718e4ba2c7e72c06349527e1b0ee008..f5ce9f2300e0b76ae8856f15474e36c612dd49d1 100644 (file)
@@ -770,7 +770,7 @@ package body Sem is
               and then Present (Scope (E))
               and then Ekind (Scope (E)) = E_Record_Type
             then
-               null; -- Set it later, in Analyze_Component_Declaration
+               null; -- Set it later, in Record_Type_Definition
             elsif not Is_Not_Self_Hidden (E) then
                Set_Is_Not_Self_Hidden (E);
             end if;