From patchwork Fri Nov 4 13:58:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 15559 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp425998wru; Fri, 4 Nov 2022 07:10:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4GuujVF+hILd2J9+6PfjRdxZAvpaZar0mwdXX4wNOfYgn0yDMZwiE+rspw52V4WU286ZfS X-Received: by 2002:a17:907:d89:b0:7a8:d67d:87d3 with SMTP id go9-20020a1709070d8900b007a8d67d87d3mr3408849ejc.364.1667571010763; Fri, 04 Nov 2022 07:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667571010; cv=none; d=google.com; s=arc-20160816; b=XdgQoIEjQkQN+F+HaKkCZMfzACm8DKP5vPEWcqIIB8oQ2V6hcr4iNG9AigWiEzCdcu /DLOwqNarro7IRvRP8mVfin+3chdD5/rSeGYD+sxwBF8lCVM9sFQKakRcSbIm9XQgCjs ARjCAMcXoB4lPON8vaMFHL09//o0a4XxBjw1nhHWN+Z9/SZvh/0V74nENVScRmBQ34Dx 5w2Rw1hVwy0HCZGpveLpF3CtMVT9A0YFqGMUmv1+skNDWZr9y5YcQ/cp+8e4DvJAqVM2 oRrA0biIFf1NVeWPjgyDHLU48GWyibaKwjkSZxS+n1opfkunDiZ4sJ+IVd9dpcG85BYu yG6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=uv6e1MdoMpXxcZlihNeByAfEXEIBPWAn8sPOCCtQv+U=; b=q4SWqw0renddTySDLIVL6l+lnxD10Bzj7e/mdLWrzwdrlszwlgaNjESHS3Mssf2TJB i/vX9urBAKPcqg1l23IVwD4WDcx59YN2Ux605UbJQAtRXt+qbWNHAJgJQm2AECFgciZ2 WipNj/TlItPIRkxXKVOn29o2PiXGbfJxlBvlPpIH0dKzIPxnZBtaOSDQA/0VF/+5zj3o HYqdLiIejNzVp9cZglr/BsUAjLdcLgFA0ksrI1b2mkTnkYkx9l6RqbUEokhEEdHyt03A eh7vTFhnRehAyZlCjDzvQ0Q2b9IdkmunHSmxrP7MyQXgB3rrI/0kI+TWqU0MbcFFhxvD LIuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ZH4Wtvha; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id hq10-20020a1709073f0a00b0078d459a1ce9si5873347ejc.693.2022.11.04.07.10.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 07:10:10 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ZH4Wtvha; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 32C52385483E for ; Fri, 4 Nov 2022 14:02:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 32C52385483E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667570577; bh=uv6e1MdoMpXxcZlihNeByAfEXEIBPWAn8sPOCCtQv+U=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=ZH4WtvhaD+mparYjRdLD3RjYcg4mK7bFsaekAb9xhKSU+8Jv6BZNJiqJtiK15UG9h X3A3nj+I2EwIBfE+j5O1CB7MOY8h0jW0wKk+xp0tbj1V61E1KtXyrzz1aWnpmb37EN Mzq7uDU+9rUwdvLQQtDMUHq3QnXKm2lItu08OyMg= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 7549F3860765 for ; Fri, 4 Nov 2022 13:58:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7549F3860765 Received: by mail-wm1-x32d.google.com with SMTP id h125-20020a1c2183000000b003cf9c3f3b80so521394wmh.0 for ; Fri, 04 Nov 2022 06:58:55 -0700 (PDT) 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=uv6e1MdoMpXxcZlihNeByAfEXEIBPWAn8sPOCCtQv+U=; b=aO+6ebDbW+Vjn9H+UCY5BlpDUfK4Nolfqn2iAY/Xu7DwfrxvFgWEUByEcy+9wpD1MV vc8Gw25VGpqikJc21xntJrp1cDYWukQflGTgrv3ghcVUh5KrnokkrDlBGXWXROOtPHas 51Op/cPuo9wktNm/gV4qa4RGorsrhMoM5OcgCkVaiQwVnlmCe+Is06K1OLKCsY9XMGeK b2l5iWXSZa0fitYiz0KmBPhVGsLYttFLuwOLUj+G4O5Chs4IHg/J+LPE6mQbh6wX3Zbh Yd5FnTqk+f6Xknf5Jfqby8yPlcEfPKDbDLOWZy24Tip8vwfhhv5+RS3TxSH+IUJgxhop d2Fg== X-Gm-Message-State: ACrzQf12OPBA1OUJWxZmLNM0gwrjq8Oq6uxWS+rPjz9LqPIiWJy9ts0V NbNYawKDV/XBGpGl5JkQaBc9hUcaYHvqrw== X-Received: by 2002:a05:600c:1d2a:b0:3cf:7332:946 with SMTP id l42-20020a05600c1d2a00b003cf73320946mr18000227wms.126.1667570334312; Fri, 04 Nov 2022 06:58:54 -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 d4-20020adffbc4000000b002367ad808a9sm3427210wrs.30.2022.11.04.06.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 06:58:53 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [COMMITTED] ada: Fix typo in comment referring to pragma Restrictions Date: Fri, 4 Nov 2022 14:58:50 +0100 Message-Id: <20221104135850.87177-1-poulhies@adacore.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.3 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= From: =?utf-8?q?Marc_Poulhi=C3=A8s?= Reply-To: =?utf-8?q?Marc_Poulhi=C3=A8s?= Cc: Piotr Trojanek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748574940486250873?= X-GMAIL-MSGID: =?utf-8?q?1748574940486250873?= From: Piotr Trojanek Comment cleanup only. gcc/ada/ * libgnat/g-excact.ads (Register_Global_Action): Refill comment. (Name_To_Id): Change pragma Restriction from singular to plural. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/libgnat/g-excact.ads | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/ada/libgnat/g-excact.ads b/gcc/ada/libgnat/g-excact.ads index 110154651e0..c2e0b30b1da 100644 --- a/gcc/ada/libgnat/g-excact.ads +++ b/gcc/ada/libgnat/g-excact.ads @@ -71,8 +71,7 @@ package GNAT.Exception_Actions is -- If Action is null, this will in effect cancel all exception actions. procedure Register_Global_Unhandled_Action (Action : Exception_Action); - -- Similar to Register_Global_Action, called on unhandled exceptions - -- only. + -- Similar to Register_Global_Action, called on unhandled exceptions only procedure Register_Id_Action (Id : Exception_Id; @@ -90,7 +89,7 @@ package GNAT.Exception_Actions is -- an exception that is declared within an unlabeled block. -- -- Note: All non-predefined exceptions will return Null_Id for programs - -- compiled with pragma Restriction (No_Exception_Registration) + -- compiled with pragma Restrictions (No_Exception_Registration). function Is_Foreign_Exception (E : Exception_Occurrence) return Boolean; -- Tell whether the exception occurrence E represents a foreign exception,