projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befc919
)
[Ada] Fix typo in comment of Get_Index_Subtype
author
Piotr Trojanek
<trojanek@adacore.com>
Thu, 7 May 2020 13:52:20 +0000
(15:52 +0200)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Mon, 6 Jul 2020 11:35:08 +0000
(07:35 -0400)
gcc/ada/
* exp_util.ads (Get_Index_Subtype): Fix duplicate "Last".
gcc/ada/exp_util.ads
patch
|
blob
|
history
diff --git
a/gcc/ada/exp_util.ads
b/gcc/ada/exp_util.ads
index e30a4f3bbf71368872e062e7eea2fae9ac7a6018..c0a7e9e3fa86fe73fdb922b904311e2543385ea6 100644
(file)
--- 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
La
st, Last, and Length, when the prefix is an array type.
+ -- Used for
Fir
st, Last, and Length, when the prefix is an array type.
-- Obtains the corresponding index subtype.
function Get_Stream_Size (E : Entity_Id) return Uint;