diff options
author | Jason Merrill <jason@redhat.com> | 2021-05-13 20:53:50 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2021-05-14 12:11:12 -0400 |
commit | 1ff863ab01640d181c3afb73c99701664efa7e7a (patch) | |
tree | c3fc1c2786796270bc1ce782d6e4662c57a910e9 /gcc | |
parent | ff3809b459db881e80f627e81ec946e7bbd7041d (diff) | |
download | gcc-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |