From 1ff863ab01640d181c3afb73c99701664efa7e7a Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 13 May 2021 20:53:50 -0400 Subject: intl: add comments to _, N_, and G_ gcc/ChangeLog: * intl.h: Add comments. --- gcc/intl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/intl.h') diff --git a/gcc/intl.h b/gcc/intl.h index 829364a..0d91e3f 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 -- cgit v1.1