aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGary Dismukes <dismukes@adacore.com>2020-01-17 17:50:13 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-04 05:10:55 -0400
commit9f3a17960b09f36bf67e15eb8a5e1feea9c2c9ba (patch)
treebd03537ffa349784f59c716a8dd033d6a48436a2 /gcc
parent54ecfb182bc32140722022c1d9818dee4bdc0e45 (diff)
downloadgcc-9f3a17960b09f36bf67e15eb8a5e1feea9c2c9ba.zip
gcc-9f3a17960b09f36bf67e15eb8a5e1feea9c2c9ba.tar.gz
gcc-9f3a17960b09f36bf67e15eb8a5e1feea9c2c9ba.tar.bz2
[Ada] Minor editorial fixes
2020-06-04 Gary Dismukes <dismukes@adacore.com> gcc/ada/ * sem_ch12.adb: Minor editorial fixes.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/sem_ch12.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch12.adb b/gcc/ada/sem_ch12.adb
index 32a6333..bb49e83 100644
--- a/gcc/ada/sem_ch12.adb
+++ b/gcc/ada/sem_ch12.adb
@@ -7845,8 +7845,8 @@ package body Sem_Ch12 is
-- Adding e.g. a dummy variable of type Pt in the body is
-- sufficient to make everything work, so we generate an
-- artificial reference to Pt on the fly and thus force
- -- the switcthing of views on the ground that, if the
- -- comparison was accepted during the semantics analysis
+ -- the switching of views on the grounds that, if the
+ -- comparison was accepted during the semantic analysis
-- of the generic, this means that the component cannot
-- have been private (see Sem_Type.Valid_Comparison_Arg).