From cf7cdde51a249ff292b603dc345a19d343461779 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Thu, 7 May 2020 15:52:20 +0200 Subject: [PATCH] [Ada] Fix typo in comment of Get_Index_Subtype gcc/ada/ * exp_util.ads (Get_Index_Subtype): Fix duplicate "Last". --- gcc/ada/exp_util.ads | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/exp_util.ads b/gcc/ada/exp_util.ads index e30a4f3bbf7..c0a7e9e3fa8 100644 --- a/gcc/ada/exp_util.ads +++ b/gcc/ada/exp_util.ads @@ -725,7 +725,7 @@ package Exp_Util is -- (e.g. no access check required if N_Op_Ne Null). function Get_Index_Subtype (N : Node_Id) return Entity_Id; - -- Used for Last, Last, and Length, when the prefix is an array type. + -- Used for First, Last, and Length, when the prefix is an array type. -- Obtains the corresponding index subtype. function Get_Stream_Size (E : Entity_Id) return Uint; -- 2.30.2