aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2021-05-13 20:53:50 -0400
committerJason Merrill <jason@redhat.com>2021-05-14 12:11:12 -0400
commit1ff863ab01640d181c3afb73c99701664efa7e7a (patch)
treec3fc1c2786796270bc1ce782d6e4662c57a910e9 /gcc
parentff3809b459db881e80f627e81ec946e7bbd7041d (diff)
downloadgcc-1ff863ab01640d181c3afb73c99701664efa7e7a.zip
gcc-1ff863ab01640d181c3afb73c99701664efa7e7a.tar.gz
gcc-1ff863ab01640d181c3afb73c99701664efa7e7a.tar.bz2
intl: add comments to _, N_, and G_
gcc/ChangeLog: * intl.h: Add comments.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/intl.h4
1 files changed, 4 insertions, 0 deletions
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