]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Two typo fixes
authorGary Dismukes <dismukes@adacore.com>
Fri, 13 Dec 2019 19:20:56 +0000 (14:20 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 2 Jun 2020 08:58:08 +0000 (04:58 -0400)
2020-06-02  Gary Dismukes  <dismukes@adacore.com>

gcc/ada/

* sem_ch3.adb: Two typo fixes.

gcc/ada/sem_ch3.adb

index 3fa2dd8e7a1e7d0933329a4f9ccde96411ca739f..c57be77a46c8d382bd5e55e542629ed497b601ff 100644 (file)
@@ -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