public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-1838] [Ada] Fix typo in comment of Get_Index_Subtype
@ 2020-07-06 11:40 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2020-07-06 11:40 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:cf7cdde51a249ff292b603dc345a19d343461779

commit r11-1838-gcf7cdde51a249ff292b603dc345a19d343461779
Author: Piotr Trojanek <trojanek@adacore.com>
Date:   Thu May 7 15:52:20 2020 +0200

    [Ada] Fix typo in comment of Get_Index_Subtype
    
    gcc/ada/
    
            * exp_util.ads (Get_Index_Subtype): Fix duplicate "Last".

Diff:
---
 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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-06 11:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 11:40 [gcc r11-1838] [Ada] Fix typo in comment of Get_Index_Subtype Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).