From: Jason Merrill Date: Fri, 14 May 2021 00:53:50 +0000 (-0400) Subject: intl: add comments to _, N_, and G_ X-Git-Tag: basepoints/gcc-13~7510 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ff863ab01640d181c3afb73c99701664efa7e7a;p=thirdparty%2Fgcc.git intl: add comments to _, N_, and G_ gcc/ChangeLog: * intl.h: Add comments. --- diff --git a/gcc/intl.h b/gcc/intl.h index 829364ae905e..0d91e3f509e2 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