From patchwork Tue May 16 08:40:26 2023 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: 94526 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp272404vqo; Tue, 16 May 2023 01:47:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7c1QeKdUKAzmKT+wSSf6qpp1RaUmjtLE8eTy3a34sfIhsNLuarO4PpqbV6+mBNvFSwP5Kl X-Received: by 2002:a17:907:94c2:b0:96a:f8ec:c311 with SMTP id dn2-20020a17090794c200b0096af8ecc311mr7562161ejc.36.1684226845569; Tue, 16 May 2023 01:47:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684226845; cv=none; d=google.com; s=arc-20160816; b=ysyBN1MPDxKWK4Jr3Oxru832SgLCwSZ3dqn5cKYou279gwBr0yHvc2YbuJmW8gurW6 WQa1t4TomZbP3xIoTTAc2QDlwWGHWZNGxyd1J01e4wFwH6bl3XE1dYXK5QlVV+lfqrtx BopTt14M2C0chIo1QSpRbM2yeEJ7EnHyxX0R0wRySh/rQI9iYurLjXndbEu2TkMs5E22 GQ+tygfsifjGqRIiV0PTsAsYQPCvdExwkYYnr7r3Q8UVQUi58EkcoPN9IsISri4Yj7WQ q/hk3M81tF7S1BDSiX5hl/tLvugMMSWU3lg3CFbVPG9IlfSkVBztlfMbXzEbSnuEgdAH p9mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=UvdNpPTlwp9nxFpQRTPD4lVlpNjVNj413vkdcZIw7oY=; b=GgisAv98D88A3jLPWfuazznT1YcUOMC2mm/P4JZWBHTKca/Q1BWMmZau0Xh32iUbqR w2AUkVrUIbvplTXoiWM68GjGmSl3dZ7mDZuORE22kNfbarPFZvN8tdaqnp7z2V89hGUQ 28byYADesWPv0jKEvwOIGsgrAZg+noqS3Dvqs2v54Y7HMKyN5RrT/50EcMujpff61ISJ XKDG5RpK5BB8q8n7BU2o4R56aj+8I3H8K4GcwNrOYPuE5hAssdh2yqs9+bx4yH6/frsU Irfbq1MeKsG0BS185InCdJdJJGFLtaWI7lTyow/JiGqh43zGvrub1oILyPyRI7MsvgrP 7V7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=gqmbYRvU; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id i10-20020a1709064eca00b009659fdd26adsi9472802ejv.105.2023.05.16.01.47.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 01:47:25 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=gqmbYRvU; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 F3916388B685 for ; Tue, 16 May 2023 08:43:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3916388B685 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684226613; bh=UvdNpPTlwp9nxFpQRTPD4lVlpNjVNj413vkdcZIw7oY=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=gqmbYRvUNtrf0tlXG56AyYUkD5oZ3jqcEdzrLdIiXSa3p4/KFlqzJzno+3bgVPnzH a2njK7aaWeIv4QV1tw/lqWqHasDXDXsCZJtpVJoEJQbyf2ugf0ArxlkQ9gsW32hy6N cg66BptY/ZeXoMh0r6GrkQdo0NfxfY5+P2vREmkI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id 74C973853831 for ; Tue, 16 May 2023 08:40:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 74C973853831 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3f50020e0f8so16686705e9.0 for ; Tue, 16 May 2023 01:40:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684226429; x=1686818429; 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=UvdNpPTlwp9nxFpQRTPD4lVlpNjVNj413vkdcZIw7oY=; b=Zj0flSPqCJULjWIM7o6PxCw++MDSOl9qGztWBKlmuXDRb7wARNSH+bya6Q9WKL8fOe Nn0eOUZDcidu+9Wv5WGmTDPrd5CJbqQj+kEw/YDqUdOvOryPqu0bqybpVyS/H5zqtNqK v3HEPiQhtSJJqjxEXX2qsSERo54iiLcAMcB/TGYUFrDiBH5o/m7tcS3dcEvQkDVRG7Fj HnG3yQNG/tqSqYfbZVtQunr571+rM4PNuP/u5dQJ8EP85NijwIZI+dhyxw7BqCMMMYgQ cRKy5Xad3CPpQ/KHa687aR6gAHnRzFMukEEzz0VtsVG473XX29LfXTQoFiLn/KI7liNT L5YQ== X-Gm-Message-State: AC+VfDwHimpg3mS/UwXpOawkce8BMKjk7lB8rEWSvYTKE3Y5kJnXQPtD IcPG+9QGbrAr+WJsLx/iCarp3QsDwlycW+PRVyvk1w== X-Received: by 2002:a05:6000:100d:b0:306:3ec9:99c5 with SMTP id a13-20020a056000100d00b003063ec999c5mr26134758wrx.9.1684226428922; Tue, 16 May 2023 01:40:28 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id d1-20020a056000114100b003062d815fa6sm1757225wrx.85.2023.05.16.01.40.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 01:40:28 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: Tom Tromey Subject: [COMMITTED] ada: Fix typo in "pattern" Date: Tue, 16 May 2023 10:40:26 +0200 Message-Id: <20230516084026.1501538-1-poulhies@adacore.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Spam-Status: No, score=-13.5 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, T_SCC_BODY_TEXT_LINE 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?= 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?1766039848574927046?= X-GMAIL-MSGID: =?utf-8?q?1766039848574927046?= From: Tom Tromey I found a couple of spots using the typo "patterm" rather than the correct "pattern". gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst (Switches_for_gnatbind): Fix typo. * libgnat/g-spipat.ads: Fix typo. * gnat_ugn.texi: Regenerate. Tested on x86_64-pc-linux-gnu, committed on master. --- .../doc/gnat_ugn/building_executable_programs_with_gnat.rst | 2 +- gcc/ada/gnat_ugn.texi | 4 ++-- gcc/ada/libgnat/g-spipat.ads | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst index 79da3c2cbcc..7968073a985 100644 --- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst +++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst @@ -6806,7 +6806,7 @@ be presented in subsequent sections. The underlying scalar is set to a value consisting of repeated bytes, whose value corresponds to the given value. For example if ``BF`` is given, - then a 32-bit scalar value will be set to the bit patterm ``16#BFBFBFBF#``. + then a 32-bit scalar value will be set to the bit pattern ``16#BFBFBFBF#``. .. index:: GNAT_INIT_SCALARS diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index bd2cb3e5629..b95519a8295 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -16030,7 +16030,7 @@ one bits. For floating-point, a large value is set The underlying scalar is set to a value consisting of repeated bytes, whose value corresponds to the given value. For example if @code{BF} is given, -then a 32-bit scalar value will be set to the bit patterm @code{16#BFBFBFBF#}. +then a 32-bit scalar value will be set to the bit pattern @code{16#BFBFBFBF#}. @end itemize @geindex GNAT_INIT_SCALARS @@ -29466,8 +29466,8 @@ to permit their use in free software. @printindex ge -@anchor{cf}@w{ } @anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{ } +@anchor{cf}@w{ } @c %**end of body @bye diff --git a/gcc/ada/libgnat/g-spipat.ads b/gcc/ada/libgnat/g-spipat.ads index 5766b3af686..297afbf5dee 100644 --- a/gcc/ada/libgnat/g-spipat.ads +++ b/gcc/ada/libgnat/g-spipat.ads @@ -58,7 +58,7 @@ -- stored in a binary compatible manner. -- GNAT.Spitbol.Patterns (files g-spipat.ads/g-spipat.adb) --- This is a completely general patterm matching package based on the +-- This is a completely general pattern matching package based on the -- pattern language of SNOBOL4, as implemented in SPITBOL. The pattern -- language is modeled on context free grammars, with context sensitive -- extensions that provide full (type 0) computational capabilities.