diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-05-07 15:52:20 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-07-06 07:35:08 -0400 |
commit | cf7cdde51a249ff292b603dc345a19d343461779 (patch) | |
tree | b41b9fe78eccb27fe4e95645d12495ad60f00065 /gcc | |
parent | befc919fde5a26fe2bc564a13201f603aef951d0 (diff) | |
download | gcc-cf7cdde51a249ff292b603dc345a19d343461779.zip gcc-cf7cdde51a249ff292b603dc345a19d343461779.tar.gz gcc-cf7cdde51a249ff292b603dc345a19d343461779.tar.bz2 |
[Ada] Fix typo in comment of Get_Index_Subtype
gcc/ada/
* exp_util.ads (Get_Index_Subtype): Fix duplicate "Last".
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/exp_util.ads | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_util.ads b/gcc/ada/exp_util.ads index e30a4f3..c0a7e9e 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; |