aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_unst.adb
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2019-12-12 10:03:01 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-12-12 10:03:01 +0000
commit604801a4a689414e1dd264dced60b00d4e7517a5 (patch)
tree9dafd457a788c84e90c610b4fb5ed59923010db2 /gcc/ada/exp_unst.adb
parent955379e4ed77883365cd041840bb17245810c095 (diff)
downloadgcc-604801a4a689414e1dd264dced60b00d4e7517a5.zip
gcc-604801a4a689414e1dd264dced60b00d4e7517a5.tar.gz
gcc-604801a4a689414e1dd264dced60b00d4e7517a5.tar.bz2
[Ada] Fix repeated words and typos in doc and comments
2019-12-12 Piotr Trojanek <trojanek@adacore.com> gcc/ada/ * libgnat/g-altive.ads: Fix typo in comment. * bindo-graphs.adb: Fix repeated words in comment. * exp_ch4.adb: Likewise. * exp_ch5.adb: Likewise. * exp_ch7.adb: Likewise. * exp_pakd.adb: Likewise. * exp_unst.adb: Likewise. * exp_util.adb: Likewise. * freeze.adb: Likewise. * inline.adb: Likewise. * layout.adb: Likewise. * sem_ch12.adb: Likewise. * sem_ch13.adb: Likewise. * sem_ch4.adb: Likewise. * sem_ch9.adb: Likewise. * sem_elab.adb: Likewise. * doc/gnat_ugn/gnat_and_program_execution.rst: Fix repeated words in user documentation. * gnat_ugn.texi: Regenerate. From-SVN: r279294
Diffstat (limited to 'gcc/ada/exp_unst.adb')
-rw-r--r--gcc/ada/exp_unst.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/exp_unst.adb b/gcc/ada/exp_unst.adb
index b25b449..6c1eb4b 100644
--- a/gcc/ada/exp_unst.adb
+++ b/gcc/ada/exp_unst.adb
@@ -526,8 +526,8 @@ package body Exp_Unst is
procedure Note_Uplevel_Bound (N : Node_Id; Ref : Node_Id) is
begin
-- Entity name case. Make sure that the entity is declared
- -- in a subprogram. This may not be the case for for a type
- -- in a loop appearing in a precondition.
+ -- in a subprogram. This may not be the case for a type in a
+ -- loop appearing in a precondition.
-- Exclude explicitly discriminants (that can appear
-- in bounds of discriminated components).