diff options
author | pthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-22 22:33:45 +0000 |
---|---|---|
committer | pthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-22 22:33:45 +0000 |
commit | d44980fa5456681af6c29b493e5f8e3c67e61539 (patch) | |
tree | 1a116b57378399cd22e99724656f57eacc4d390f /gcc/cpperror.c | |
parent | 32d89b47e88e05e3c276d97f7f860d865cc031c7 (diff) | |
download | gcc-d44980fa5456681af6c29b493e5f8e3c67e61539.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41493 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpperror.c')
-rw-r--r-- | gcc/cpperror.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpperror.c b/gcc/cpperror.c index 60af7b5dff8..063489dae63 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. */ |