[gcc(refs/users/guojiufu/heads/guojiufu-branch)] [Ada] Minor editorial fixes

Jiu Fu Guo guojiufu@gcc.gnu.org
Wed Jun 10 03:31:24 GMT 2020


https://gcc.gnu.org/g:9f3a17960b09f36bf67e15eb8a5e1feea9c2c9ba

commit 9f3a17960b09f36bf67e15eb8a5e1feea9c2c9ba
Author: Gary Dismukes <dismukes@adacore.com>
Date:   Fri Jan 17 17:50:13 2020 -0500

    [Ada] Minor editorial fixes
    
    2020-06-04  Gary Dismukes  <dismukes@adacore.com>
    
    gcc/ada/
    
            * sem_ch12.adb: Minor editorial fixes.

Diff:
---
 gcc/ada/sem_ch12.adb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/sem_ch12.adb b/gcc/ada/sem_ch12.adb
index 32a6333b496..bb49e8388b5 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).


More information about the Gcc-cvs mailing list