From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 762DE3857354 for ; Fri, 4 Nov 2022 13:56:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 762DE3857354 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wm1-x32d.google.com with SMTP id v124-20020a1cac82000000b003cf7a4ea2caso5468936wme.5 for ; Fri, 04 Nov 2022 06:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/gxDr1ZxuLU2+QHrUNytFM+ynxV0oSt0XLD3bh9Mwyc=; b=fq8mKA+6eVv/jD12doOpksH3s67os3gFe169ECoLVAcWE042fdEV+Pz0ZVij9rvBjK NDNwQQakSQA9dMcSuVM6KX7+cC6oFYSW/dqnqzz5jibJvCSrWzms4KvuVjvTmtkYLLzE H9FOjtS5lW81RlAgVMO4wBuZkBPUboSVm4vr2k3ObuT3A9Md322sies1C7LrNiqfjvrm ZS9NjVXNiXYNWxabqvfZqznUh/uLX4JwMOeWuvclILVxgyEnJytVEsTpPaVorKVg+6SO jZsRIjAuTaJ96taoXAvacoEDZPG4iv0qeQJjKIQ9CFlRwSVW/Y8lP04tG78woBzWEPvD vs0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/gxDr1ZxuLU2+QHrUNytFM+ynxV0oSt0XLD3bh9Mwyc=; b=GrFOiAlGekEg9l1fpaRzudMx0yyuhxykBI/O77EVOIxX/Zn8VonDdNVN4z5iuX5Fwo xqRQgxPtc3NgnjItqVKmDNkgFWVrDZm87LiL9aW/0iMT7kk1xvbAe0X8PJnOZ9bLwaky FgabcqdKQGLKvHHTcKGmOspHibPkw4znlOKzlGBCf1RfUIClt28WIwLFFRJ9oj56gVpm 61WhL6rXNFe9JpE88G5mAtfCdaJpGdYZUwwxEWmNBS175cyypVheSfovDVvzz2xVjUCR aP8dS90iyTM+sdSnOPh8EVFSGCmWt8zeXZK+X+5fUjQpeqZoXyQPMTPnCuyOTPkSdYgM TJ5Q== X-Gm-Message-State: ACrzQf3YObdKoNwemfo2k8nR8VqczAsnTHdDZjKmNGomXF0Mq4gALAZg qzLd/ygcJdUjpd41gwYtzixtczFbyMXRnQ== X-Google-Smtp-Source: AMsMyM6Yd9Is5f+tfVEtRY5aRY/klktbFCWE6eSjB2esAFlv5CIvp29ayWEcUO98zAODNaTZc4vfaw== X-Received: by 2002:a7b:c40e:0:b0:3cf:497c:c515 with SMTP id k14-20020a7bc40e000000b003cf497cc515mr23830239wmi.41.1667570207236; Fri, 04 Nov 2022 06:56:47 -0700 (PDT) Received: from localhost.localdomain (static-176-191-105-132.ftth.abo.bbox.fr. [176.191.105.132]) by smtp.gmail.com with ESMTPSA id y10-20020a056000108a00b0022cd96b3ba6sm4041856wrw.90.2022.11.04.06.56.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 06:56:46 -0700 (PDT) From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Piotr Trojanek Subject: [COMMITTED] ada: Fix various typos in node and entity description comments Date: Fri, 4 Nov 2022 14:56:43 +0100 Message-Id: <20221104135643.86019-1-poulhies@adacore.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Piotr Trojanek Fix typos in units that describe GNAT abstract syntax tree. gcc/ada/ * einfo.ads: Fix typos in comments; refill as necessary. * sinfo.ads: Likewise. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/einfo.ads | 13 +++++++------ gcc/ada/sinfo.ads | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads index e350f137ee7..2a1a406850e 100644 --- a/gcc/ada/einfo.ads +++ b/gcc/ada/einfo.ads @@ -874,7 +874,7 @@ package Einfo is -- are generated (subprograms, package declarations and package -- bodies). Defined if there are pending generic body instantiations -- for the corresponding entity. If this flag is set, then generation --- of the subprogram descriptor for the corresponding enities must +-- of the subprogram descriptor for the corresponding entities must -- be delayed, since the insertion of the generic body may add entries -- to the list of handlers. -- @@ -2570,7 +2570,7 @@ package Einfo is -- Is_Elaboration_Checks_OK_Id -- Defined in elaboration targets (see terminology in Sem_Elab). Set when --- the target appears in a region which is subject to elabled elaboration +-- the target appears in a region which is subject to enabled elaboration -- checks. Such targets are allowed to generate run-time conditional ABE -- checks or guaranteed ABE failures. @@ -3114,7 +3114,7 @@ package Einfo is -- Defined in all entities, set in E_Package and E_Generic_Package -- entities to which a pragma Preelaborate is applied, and also in -- all entities within such packages. Note that the fact that this --- flag is set does not necesarily mean that no elaboration code is +-- flag is set does not necessarily mean that no elaboration code is -- generated for the package. -- Is_Primitive @@ -3228,7 +3228,7 @@ package Einfo is -- Defined in all entities, set only for a variable or constant for -- which the Renamed_Object field is non-empty and for which the -- renaming is handled by the front end, by macro substitution of --- a copy of the (evaluated) name tree whereever the variable is used. +-- a copy of the (evaluated) name tree wherever the variable is used. -- Is_Return_Object -- Defined in all object entities. True if the object is the return @@ -3964,7 +3964,8 @@ package Einfo is -- Present in variable entities. Contains all references to the variable -- when it is subject to pragma Part_Of. If the variable is a constituent -- of a single protected/task type, the references are examined as they --- must appear only within the type defintion and the corresponding body. +-- must appear only within the type definition and the corresponding +-- body. -- Partial_DIC_Procedure (synthesized) -- Defined in type entities. Set for a private type and its full view @@ -4058,7 +4059,7 @@ package Einfo is -- Prev_Entity -- Defined in all entities. The entities of a scope are chained, and this --- field is used as a backward pointer for this entity list - effectivly +-- field is used as a backward pointer for this entity list - effectively -- making the entity chain doubly-linked. -- Primitive_Operations (synthesized) diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads index abea84c2533..c41b0f24742 100644 --- a/gcc/ada/sinfo.ads +++ b/gcc/ada/sinfo.ads @@ -629,7 +629,7 @@ package Sinfo is -- specified by means of an aspect or a pragma. -- The following entities may be subject to a SPARK mode. Entities marked - -- with * may possess two differente SPARK modes. + -- with * may possess two different SPARK modes. -- E_Entry -- E_Entry_Family @@ -1549,7 +1549,7 @@ package Sinfo is -- Is_Analyzed_Pragma -- Present in N_Pragma nodes. Set for delayed pragmas that require a two - -- step analysis. The initial step is peformed by routine Analyze_Pragma + -- step analysis. The initial step is performed by routine Analyze_Pragma -- and verifies the overall legality of the pragma. The second step takes -- place in the various Analyze_xxx_In_Decl_Part routines which perform -- full analysis. The flag prevents the reanalysis of a delayed pragma. @@ -1641,8 +1641,9 @@ package Sinfo is -- variable reference marker -- -- Set when the node appears within a context which allows the generation - -- of run-time ABE checks. This flag detemines whether the ABE Processing - -- phase generates conditional ABE checks and guaranteed ABE failures. + -- of run-time ABE checks. This flag determines whether the ABE + -- Processing phase generates conditional ABE checks and guaranteed ABE + -- failures. -- Is_Elaboration_Code -- Present in assignment statements. Set for an assignment which updates @@ -5570,7 +5571,7 @@ package Sinfo is -- The term "return statement" is defined in 6.5 to mean either a -- SIMPLE_RETURN_STATEMENT or an EXTENDED_RETURN_STATEMENT. We avoid - -- the use of this term, since it used to mean someting else in earlier + -- the use of this term, since it used to mean something else in earlier -- versions of Ada. -- N_Simple_Return_Statement @@ -7815,7 +7816,7 @@ package Sinfo is -- ABE mechanism, regardless of whether expansion took place. -- * The call marker captures the target of the related call along - -- with other attributes which are either unavailabe or expensive + -- with other attributes which are either unavailable or expensive -- to recompute once analysis, resolution, and expansion are over. -- * The call marker aids the ABE Processing phase by signaling the -- 2.34.1