2020-06-16 Gary Dismukes <dismukes@adacore.com>
gcc/ada/
* sem_ch6.adb: Add closing paren in a comment.
* sem_util.adb: Correct comment typo (aggreate => aggregate).
-- only once, i.e. not to the simple return statement generated at
-- the end of its expansion because, prior to leaving the function,
-- the accessibility level of the return object changes to be a level
- -- determined by the point of call (RM 3.10.2(10.8/3).
+ -- determined by the point of call (RM 3.10.2(10.8/3)).
if Ada_Version >= Ada_2005
and then Ekind (R_Type) = E_Anonymous_Access_Type
return Ada_Version >= Ada_2012
and then Is_Object_Reference (Expression (N));
- -- In Ada 95 an aggreate is an object reference
+ -- In Ada 95 an aggregate is an object reference
when N_Aggregate =>
return Ada_Version >= Ada_95;