This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/7] Add missing punctuation to message (PR driver/79875)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, roland dot illig at gmx dot de, Joseph Myers <joseph at codesourcery dot com>
- Date: Fri, 10 Mar 2017 07:18:12 +0100
- Subject: Re: [PATCH 1/7] Add missing punctuation to message (PR driver/79875)
- Authentication-results: sourceware.org; auth=none
- References: <1489081529-22256-1-git-send-email-dmalcolm@redhat.com> <1489081529-22256-2-git-send-email-dmalcolm@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Mar 09, 2017 at 12:45:23PM -0500, David Malcolm wrote:
> gcc/ChangeLog:
> PR driver/79875
> * opts.c (parse_sanitizer_options): Add missing question mark to
> "did you mean" message.
> ---
> gcc/opts.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/opts.c b/gcc/opts.c
> index 8274fab..6ea57af 100644
> --- a/gcc/opts.c
> +++ b/gcc/opts.c
> @@ -1640,7 +1640,7 @@ parse_sanitizer_options (const char *p, location_t loc, int scode,
> if (hint)
> error_at (loc,
> "unrecognized argument to -f%ssanitize%s= option: %q.*s;"
> - " did you mean %qs",
> + " did you mean %qs?",
> value ? "" : "no-",
> code == OPT_fsanitize_ ? "" : "-recover",
> (int) len, p, hint);
Ok, thanks.
Jakub