[gcc(refs/users/guojiufu/heads/personal-branch)] [Ada] Two typo fixes

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


https://gcc.gnu.org/g:6618a9b67ca825c92d0cdd88df8c81bdf58de90c

commit 6618a9b67ca825c92d0cdd88df8c81bdf58de90c
Author: Gary Dismukes <dismukes@adacore.com>
Date:   Fri Dec 13 14:20:56 2019 -0500

    [Ada] Two typo fixes
    
    2020-06-02  Gary Dismukes  <dismukes@adacore.com>
    
    gcc/ada/
    
            * sem_ch3.adb: Two typo fixes.

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

diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb
index 3fa2dd8e7a1..c57be77a46c 100644
--- a/gcc/ada/sem_ch3.adb
+++ b/gcc/ada/sem_ch3.adb
@@ -662,8 +662,8 @@ package body Sem_Ch3 is
    --  first create the list of components for the derived type from that of
    --  the parent by means of Inherit_Components and then build a copy of the
    --  declaration tree of the parent with the help of the mapping returned by
-   --  Inherit_Components, which will for example by used to validate record
-   --  representation claused given for the derived type. If the parent type
+   --  Inherit_Components, which will for example be used to validate record
+   --  representation clauses given for the derived type. If the parent type
    --  is private and has discriminants, the ancestor discriminants used in the
    --  inheritance are that of the private declaration, whereas the ancestor
    --  discriminants present in the declaration tree of the parent are that of


More information about the Gcc-cvs mailing list