From: Ronan Desplanques Date: Mon, 24 Mar 2025 11:39:29 +0000 (+0100) Subject: ada: Fix omission in comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d5375aa4fe6245162c7bdc99862d3b8527ec6e3;p=thirdparty%2Fgcc.git ada: Fix omission in comment gcc/ada/ChangeLog: * sem_ch3.adb (Find_Type_Of_Object): Fix comment. --- diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb index fb24f0f5db2..323548c0aa4 100644 --- a/gcc/ada/sem_ch3.adb +++ b/gcc/ada/sem_ch3.adb @@ -18838,7 +18838,8 @@ package body Sem_Ch3 is or else Nkind (P) /= N_Object_Declaration or else Is_Library_Level_Entity (Defining_Identifier (P))); - -- Otherwise, the object definition is just a subtype_mark + -- Otherwise, either the object definition is just a subtype_mark or we + -- are analyzing a component declaration. else T :=