public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jason Merrill <jason@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-803] intl: add comments to _, N_, and G_ Date: Fri, 14 May 2021 16:11:20 +0000 (GMT) [thread overview] Message-ID: <20210514161120.48B043943426@sourceware.org> (raw) https://gcc.gnu.org/g:1ff863ab01640d181c3afb73c99701664efa7e7a commit r12-803-g1ff863ab01640d181c3afb73c99701664efa7e7a Author: Jason Merrill <jason@redhat.com> Date: Thu May 13 20:53:50 2021 -0400 intl: add comments to _, N_, and G_ gcc/ChangeLog: * intl.h: Add comments. Diff: --- gcc/intl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/intl.h b/gcc/intl.h index 829364ae905..0d91e3f509e 100644 --- a/gcc/intl.h +++ b/gcc/intl.h @@ -47,14 +47,18 @@ extern const char *fake_ngettext (const char *singular, const char *plural, #endif +/* Used to immediately translate the argument. */ #ifndef _ # define _(msgid) gettext (msgid) #endif +/* Used to mark strings that will be translated later. */ #ifndef N_ # define N_(msgid) msgid #endif +/* Like N_, but for GCC diagnostic format strings. See ABOUT-GCC-NLS for + details. */ #ifndef G_ # define G_(gmsgid) gmsgid #endif
reply other threads:[~2021-05-14 16:11 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210514161120.48B043943426@sourceware.org \ --to=jason@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).