[Ada] Two typo fixes

2020-06-02  Gary Dismukes  <dismukes@adacore.com>

gcc/ada/

	* sem_ch3.adb: Two typo fixes.
This commit is contained in:
Gary Dismukes 2019-12-13 14:20:56 -05:00 committed by Pierre-Marie de Rodat
parent 663091bc78
commit 6618a9b67c
1 changed files with 2 additions and 2 deletions

View 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