From patchwork Fri Mar 11 22:37:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Buclaw X-Patchwork-Id: 1604539 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=f+JiD1A7; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KFgnz4HHHz9sG5 for ; Sat, 12 Mar 2022 09:38:47 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9621D3858C3A for ; Fri, 11 Mar 2022 22:38:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9621D3858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1647038324; bh=wb3gpU0ZQfmG+rBG2C2Fj/q5BaeP5QqVqQv1pXyRDOA=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=f+JiD1A792Mpg3M9zsH0YvPV9DmyUoxvb7W4vfa7XijoFfibWVwISMlTlII7o8wUc 8btwNLuPKk7vVWAC1ZlMT7E0b49BKgQm4t1YsxNG23taZ8Lzj8Xh9jEsn8iJYUjKvD NAUfa5MrCUU+2svWlVUXuVq45A1yq3zx2BuT0ue8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050::465:101]) by sourceware.org (Postfix) with ESMTPS id 6E5CF3857820 for ; Fri, 11 Mar 2022 22:37:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6E5CF3857820 Received: from smtp202.mailbox.org (smtp202.mailbox.org [80.241.60.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4KFgmZ2XYqz9sRy; Fri, 11 Mar 2022 23:37:34 +0100 (CET) To: gcc-patches@gcc.gnu.org Subject: [committed] d: Fix mistakes in strings to be translated [PR104552] Date: Fri, 11 Mar 2022 23:37:29 +0100 Message-Id: <20220311223729.500036-1-ibuclaw@gdcproject.org> MIME-Version: 1.0 X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Iain Buclaw via Gcc-patches From: Iain Buclaw Reply-To: Iain Buclaw Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Hi, This patch addresses comments made in PR104552 about documented D language options. Bootstrapped and committed to mainline. Regards, Iain. --- gcc/d/ChangeLog: PR translation/104552 * lang.opt (fdump-cxx-spec=): Fix typo in argument handle. (fpreview=fixaliasthis): Quote `alias this' as code. --- gcc/d/lang.opt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/d/lang.opt b/gcc/d/lang.opt index 491797a1b6b..7859e1583c8 100644 --- a/gcc/d/lang.opt +++ b/gcc/d/lang.opt @@ -277,7 +277,7 @@ Add comments for ignored declarations in the generated C++ header. fdump-c++-spec= D RejectNegative Joined --fdump-cxx-spec= Write all declarations as C++ code to . +-fdump-cxx-spec= Write all declarations as C++ code to . fdump-d-original D @@ -370,7 +370,7 @@ Use field-wise comparisons for struct equality. fpreview=fixaliasthis D RejectNegative -When a symbol is resolved, check alias this scope before going to upper scopes. +When a symbol is resolved, check `alias this' scope before going to upper scopes. fpreview=in D RejectNegative