[gcc r12-7617] d: Fix mistakes in strings to be translated [PR104552]

Iain Buclaw ibuclaw@gcc.gnu.org
Fri Mar 11 22:36:40 GMT 2022


https://gcc.gnu.org/g:7a6ba7c7cb6ff5ac9bbcc747bd5fad957b78fa0a

commit r12-7617-g7a6ba7c7cb6ff5ac9bbcc747bd5fad957b78fa0a
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Fri Mar 11 21:59:57 2022 +0100

    d: Fix mistakes in strings to be translated [PR104552]
    
    Address comments made in PR104552 about documented D language options.
    
    gcc/d/ChangeLog:
    
            PR translation/104552
            * lang.opt (fdump-cxx-spec=): Fix typo in argument handle.
            (fpreview=fixaliasthis): Quote `alias this' as code.

Diff:
---
 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=<filename>	Write all declarations as C++ code to <file>.
+-fdump-cxx-spec=<filename>	Write all declarations as C++ code to <filename>.
 
 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


More information about the Gcc-cvs mailing list