From cb9d41eb252c44feeda1b137aca593a521b2b1a7 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Thu, 8 Oct 2020 23:39:07 +0200 Subject: [PATCH] [Ada] Fix minor typos in comments gcc/ada/ * checks.adb (Apply_Access_Check): Remove unbalanced paren. * exp_attr.adb (Expand_N_Attribute_Reference): Fix typo in comment. --- gcc/ada/checks.adb | 2 +- gcc/ada/exp_attr.adb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/ada/checks.adb b/gcc/ada/checks.adb index b389da5accb..1914fc3024a 100644 --- a/gcc/ada/checks.adb +++ b/gcc/ada/checks.adb @@ -535,7 +535,7 @@ package body Checks is -- We do not need checks if we are not generating code (i.e. the -- expander is not active). This is not just an optimization, there -- are cases (e.g. with pragma Debug) where generating the checks - -- can cause real trouble). + -- can cause real trouble. if not Expander_Active then return; diff --git a/gcc/ada/exp_attr.adb b/gcc/ada/exp_attr.adb index 40de27b86bc..70e13359a7e 100644 --- a/gcc/ada/exp_attr.adb +++ b/gcc/ada/exp_attr.adb @@ -6224,7 +6224,7 @@ package body Exp_Attr is then Set_Attribute_Name (N, Name_Object_Size); - -- In all other cases, Size and VADS_Size are the sane + -- In all other cases, Size and VADS_Size are the same else Set_Attribute_Name (N, Name_Size); -- 2.30.2