aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpperror.c
diff options
context:
space:
mode:
authorPhilipp Thomas <pthomas@suse.de>2001-04-22 22:33:45 +0000
committerPhilipp Thomas <pthomas@gcc.gnu.org>2001-04-22 22:33:45 +0000
commit146ef880e41d44fa480c18d92f16a5e01bec9e73 (patch)
tree1a116b57378399cd22e99724656f57eacc4d390f /gcc/cpperror.c
parentefc150d58bb9eaa7998a13cae6a9d65ac0d7c4d0 (diff)
downloadgcc-146ef880e41d44fa480c18d92f16a5e01bec9e73.zip
gcc-146ef880e41d44fa480c18d92f16a5e01bec9e73.tar.gz
gcc-146ef880e41d44fa480c18d92f16a5e01bec9e73.tar.bz2
ABOUT-GCC-NLS: Now that gettext 0.10.37 is out, require it instead of the CVS version.
* ABOUT-GCC-NLS: Now that gettext 0.10.37 is out, require it instead of the CVS version. * cpperror.c (v_message): Put a blank before the macro body to not confuse exgettext. From-SVN: r41493
Diffstat (limited to 'gcc/cpperror.c')
-rw-r--r--gcc/cpperror.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpperror.c b/gcc/cpperror.c
index 60af7b5..063489d 100644
--- a/gcc/cpperror.c
+++ b/gcc/cpperror.c
@@ -33,8 +33,11 @@ static void print_containing_files PARAMS ((cpp_buffer *));
static void print_location PARAMS ((cpp_reader *,
const char *,
const cpp_lexer_pos *));
+
+/* Don't remove the blank before do, as otherwise the exgettext
+ script will mistake this as a function definition */
#define v_message(msgid, ap) \
-do { vfprintf (stderr, _(msgid), ap); putc ('\n', stderr); } while (0)
+ do { vfprintf (stderr, _(msgid), ap); putc ('\n', stderr); } while (0)
/* Print the file names and line numbers of the #include
commands which led to the current file. */